GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 134.29.175.74 / Your IP : 216.73.216.160 Web Server : nginx/1.10.2 System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586 User : Administrator ( 0) PHP Version : 7.1.0 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/nginx/html/MichaelMalz/CST1611/IIS/ |
Upload File : |
<html><head><title>Installing IIS on Windows XP Home</title> <link rel="stylesheet" type="text/css" href="iis-on-xp-home_files/all.css"> <link rel="SHORTCUT ICON" href="http://adamv.com/dev/icon-code.gif"> <style> ul li, ol li { margin-bottom: 5px; } h2,h3,h4 { margin-left: -15px; } </style> <script src="iis-on-xp-home_files/date.js"></script> <script src="iis-on-xp-home_files/nifty.js"></script> <script src="iis-on-xp-home_files/flangelib.js"></script> <link rel="stylesheet" type="text/css" href="iis-on-xp-home_files/niftyCorners.css"> <script> window.onload=function(){ register_external_links(); if(NiftyCheck()) { Rounded("div.tip","#FFF","#666"); } } </script></head><body> <div id="nav"> <a href="http://adamv.com/"><img style="margin: 5px;" src="iis-on-xp-home_files/avcom.gif" align="middle" border="0"></a> </div> <div id="crumbs"><a href="http://adamv.com/dev/">Projects</a> » Web Notes » Installing IIS on Windows XP Home</div> <div class="wrapper"> <div id="main"> <h1>Installing IIS on Windows XP Home</h1> <script>date_box("9 Sep 2006")</script><div class="date"><div class="m">Sep</div><div class="d">9</div><div class="y">2006</div></div> <div class="proj-info"> Version 1.2<br> </div> <p class="summary"> Microsoft doesn't officially allow running IIS on Windows XP Home, but it can be done. </p> <p> Microsoft doesn't officially support running IIS (Internet Information Server) or PWS (Personal Web Server) on Windows XP Home. [See: <a class="out" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;q304197">INFO: Personal Web server is not included with Windows XP Home Edition</a>]. This is purely a marketing ploy. <i>There is no technical reason why XP Home users cannot run IIS.</i> </p> <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Should you buy XP Pro?</div> <div class="tip-body"> <p> <b>You should probably buy XP Pro (or Windows Server 2003.)</b> </p> <p> These instructions are <i>unofficial</i> and <i>unsupported</i>. Hacking your XP Home installation is a good way to put your computer out of commission and require a full reinstall. </p> <p> If you are actually using your computer to run a business and need IIS/ASP support, you need to buy a version of Windows that is official supported to be in compliance with Microsoft EULAs. </p> <p> If you want to run a web server, but do not need IIS specific features, consider <a href="#port80">an alternative web server</a>. </p> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> <h2>References and credits</h2> <p> Richard Sandoz provided the steps to install IIS on XP Home in <a class="out" href="http://groups-beta.google.com/group/microsoft.public.inetserver.asp.general/msg/97df7903d9b477d8">this USENET post</a> (Jan 8 2002). His original posting has been quoted around the web, including <a class="out" href="http://www.15seconds.com/issue/020118.htm">15 Seconds</a>. Unfortunately, his steps are unclear on how to properly configure IIS after installation. </p> <p>This article cleans up some style issues with Mr. Sandoz's post, and integrates additional steps needed to work on XP Home SP2. This article would not have been possible without Mr. Sandoz's work, and I thank him for sharing it with the webdev community. </p> <h2>Requirements</h2> <p> These instructions have the following requirements: </p> <!-- <div class="tip"> <div class="tip-title">You must use IIS from Windows 2000</div> <div class="tip-body"> <p> These instructions will <i>not work</i> if you try to copy IIS from Windows XP Pro onto Windows XP Home. You <i>must</i> take IIS from a version of Windows 2000. </p> </div> </div> --> <ul> <li>You are running <b>Windows XP Home SP2</b>.<br><i>SP2 contains many changes to how Windows manages computer security. These instructions may not work on versions of XP older (or newer) than SP2.</i></li> <li>Your Windows XP Home installation disc.</li> <li>A <b>Windows 2000 installation disc</b> (any version.)<br> <i>You must copy IIS from a version of Windows 2000. These instructions do not work if you try to copy from XP Professional or Windows Server 2003.</i></li> <li>Windows Script 5.6.</li> </ul> <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Note for Dell customers</div> <div class="tip-body"> <p> If you are a recent Dell customer your PC may not have come with an XP Home install disc. Create your "OS Recovery Disc" and use that. </p> <p> See: <a class="out" href="http://support.dell.com/support/topics/global.aspx/support/kb/en/document?dn=1091713">How Do I Create My Operating System CD using the Dell OS Recovery Utility?</a> </p> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> <h3>Path and CD-ROM notes</h3> <ul> <li>I assume that your windows folder is <code class="good">C:\Windows</code> which is the default location. Substitute your actual windows folder if needed.</li> <li>I assume that your CD-ROM drive is assigned the letter <code class="good">X:</code>. Substitute your actual CD-ROM drive letter if needed.</li> </ul> <h2>Windows Script 5.6 Installation</h2> <p>You need to be running Windows Script 5.6 for these instructions to work. Newer versions of Windows XP will come with this version installed, but if you have a very old installation you may need to update this component manually. </p> <p> To verify your version of Windows Script, open a command prompt and run:<br> <code>cscript</code> </p> <p>You should see "Microsoft (R) Windows Script Host Version 5.6". If you have a prior version, use the following link to update your scripting components. </p> <p>Micrsoft Download: <a class="out" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c717d943-7e4b-4622-86eb-95a22b832caa&DisplayLang=en">Windows Script 5.6 for Windows XP and Windows 2000</a></p> <h2>IIS Installation</h2> <ol> <li> Open the file <code class="good">C:\WINDOWS\INF\SYSOC.INF</code> and find the section <code class="good">[Components]</code>. </li> <li> Find the line:<br><code class="good">iis=iis.dll,OcEntry,iis.inf,hide,7</code><br>and replace it with:<br><code class="good">iis=iis2.dll,OcEntry,iis2.inf,,7</code> <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Typographical notes</div> <div class="tip-body"> <ul> <li>This file is case-sensitive, so make sure you type <code class="good">OcEntry</code> and not <code class="bad">OCEntry</code> or <code class="bad">ocentry</code>.</li> <li>In the replacement text, there are two commas in a row before the 7.</li> </ul> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> </li> <li> From your Windows 2000 CD, copy the files <code class="good">X:\I386\iis.dl_</code> and <code class="good">X:\I386\iis.in_</code> to a folder on your hard drive. </li> <li>Go to the folder from step #3 in a command window. <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">"Open Command Window Here"</div> <div class="tip-body"> <p>Microsoft provides a PowerToy that lets you easily get to any folder in a command window. After installing the PowerToy, right-click on any folder to open it in the shell.</p> <p>See: <a class="out" href="http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx">Microsoft PowerToys for Windows XP</a>, and install "Open Command Window Here". </p> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> </li> <li>In the command window, decompress the two files with the following commands:<br> <code class="good">expand iis.dl_ iis2.dll<br>expand iis.in_ iis2.inf</code><br>(You may close the command prompt at this time.) </li> <li>Move the files:<br><code class="good">iis2.inf</code> to <code class="good">C:\Windows\INF</code><br><code class="good">iis2.dll</code> to <code class="good">C:\Windows\System32\Setup</code> </li> <li>Open the <b>Control Panel</b> and choose <b>Add or Remove Programs</b>. From the column of icons on the left, choose <b>Add/Remove Windows Components</b>. IIS will now be available. <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Optional Windows Components</div> <div class="tip-body"> You can also remove unused Windows components from this form. I unchecked "MSN Explorer". Note that some of these options (IE, Outlook Express) only remove a program from the Start Menu list, and don't actually remove the executables. </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> </li> <li>Check <b>IIS</b> and then click the details button. You can add or remove optional components in this form. <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Do not install SMTP</div> <div class="tip-body"> I recommend <b>unchecking SMTP</b>. When I leave SMTP checked, my install hangs trying to configure SMTP. It's possible that I'm just not waiting long enough, but as I don't need that service I installed without it. </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> </li> <li>Click <b>OK</b> to close the details window and then <b>Next</b> to continue with the installation.</li> <li>When prompted, insert your Windows 2000 disc and browse for <code class="good">X:\I386</code>; do the same when prompted for your XP Home disc.</li> <li>Once installed, you can access the <b>Internet Services Manager</b> by opening the <b>Control Panel</b> and choosing <b>Administrative Tools</b>. <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">Add <b>Administrative Tools</b> to the Start Menu</div> <div class="tip-body"> To add <b>Administrative Tools</b> to the Start Menu: <ul> <li>Right-click on the <b>start</b> button and choose <b>Properties</b>.</li> <li>Click the <b>Customize...</b> button then select the <b>Advanced</b> tab.</li> <li>Scroll the <b>Start menu items</b> list to the bottom, and select where you want <b>Administrative Tools</b> to appear.</li> </ul> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> </li> </ol> <p>Now that basic installation is complete, you must configure IIS.</p> <h2>IIS Configuration</h2> <p> When cross-installing IIS from Windows 2000 to Windows XP Home, the default <b>Directory Security</b> and <b>Home Directory</b> settings will not work correctly out-of-the-box. </p> <h3>Configure Directory Security</h3> <p> The default IIS account is <code class="good">IUSR_NAME</code>. We need to replace this with <code class="good">NAME\IUSR_NAME</code> (where <code>NAME</code> is your computer name.) </p> <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">IIS User Accounts</div> <div class="tip-body"> <p> IIS creates some user accounts, based on your computer's name, that it uses to run ASP applications: <code class="good">IUSR_NAME</code> and <code class="good">IWAM_NAME</code>, where <code>NAME</code> is the name of your computer. </p> <p> This allows custom security settings to be applied to ASP and ISAPI applications. </p> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div><br> <ol> <li>Start <b>Internet Services Manager</b> from <b>Administrative Tools</b>.</li> <li>Your computer will appear under <b>Internet Information Services</b>. Right-click on your computer and choose <b>Properties</b>.</li> <li>Select <b>Master WWW Service</b> in the drop-down, then click <b>Edit...</b>.</li> <li>Select the <b>Directory Security</b> tab.</li> <li>Under <b>Anonymous access and authentication control</b> click <b>Edit...</b></li> <li>In the <b>Authentication Methods</b> form, make sure only <b>Anonymous access</b> is checked, then click <b>Edit...</b>.</li> <li>The default username will be <code>IUSR_NAME</code>. We need to replace this with <code class="good">NAME\IUSR_NAME</code> where <code>NAME</code> is your computer name. You can type it in manually or use these steps: <ol style="list-style-type: lower-alpha;"> <li>Click the <b>Browse...</b> button.</li> <li>On the <b>Select User</b> form click the <b>Advanced...</b> button in the bottom left.</li> <li>Click the <b>Find Now</b> button in the middle-right of this form.</li> <li>Select <code class="good">IUSR_NAME</code> in the user list at the bottom of the form, then click <b>OK</b></li> <li>Click <b>OK</b> to dismiss the <b>Select User</b> form.</li> </ol> </li> <li>Uncheck <b>Allow IIS to control password</b>. (This is important!)</li> <li>Click <b>OK</b> to dismiss the <b>Anonymous User Account</b> form.</li> <li>Click <b>OK</b> to dismiss the <b>Authentication Methods</b> form.</li> <li>Click <b>OK</b> to dismiss the <b>WWW Service Master Properties</b> form.</li> <li>Click <b>OK</b> to dismiss the <b><code>Computername</code> Properties</b> form.</li> </ol> <p> If you see "<code class="bad">The requested resource is in use.</code>" trying to access your new web server, follow the <b>Home Directory</b> steps below to modify the Application Protection settings for the default web site. </p> <h3>Configure Home Directory</h3> With <b>Internet Services Manager</b>: <ol> <li>Your computer will appear under <b>Internet Information Services</b>. Click on your computer to expand its list of servers.</li> <li>Right-click on <b>Default Web Server</b> and choose <b>Properties</b>.</li> <li>Select the <b>Home Directory</b> tab.</li> <li>In the <b>Application Protection</b> drop-down under <b>Application Settings</b> choose <b>Low (IIS Process)</b>.</li> <li>Click <b>OK</b> to dismiss the form.</li> </ol> <div class="tip"><b style="background-color: rgb(255, 255, 255);" class="rtop"><b style="background-color: rgb(102, 102, 102);" class="r1"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r4"></b></b> <div class="tip-title">The default website may not work</div> <div class="tip-body"> <p> If you go to <code class="good">http://localhost</code> in a browser, chances are you will see an ASP error on line 19. <i>Don't panic.</i></p> <p><code>IUSR_NAME</code> does not have permission to run the default IIS website. The default IIS website attempts to create admin-only ActiveX objects.</p> </div> <b style="background-color: rgb(255, 255, 255);" class="rbottom"><b style="background-color: rgb(102, 102, 102);" class="r4"></b><b style="background-color: rgb(102, 102, 102);" class="r3"></b><b style="background-color: rgb(102, 102, 102);" class="r2"></b><b style="background-color: rgb(102, 102, 102);" class="r1"></b></b></div> <h2>Testing your IIS installation</h2> <p>To test your IIS installation you should create some test files and point the default website to the folder containing those files. </p> <ol> <li>Download <a href="http://adamv.com/dev/articles/iistest.zip">iistest.zip</a>.</li> <li>Copy the <code>iistest</code> folder inside the .zip to your harddrive.</li> <li>Click on your computer to expand its list of servers in <b>Internet Services Manager</b>. </li> <li>Right-click on <b>Default Web Server</b> and choose <b>Properties</b>.</li> <li>Select the <b>Home Directory</b> tab.</li> <li>In the <b>Local Path:</b> textbox, type in the path to the <code>iistest</code> folder you extracted (or use the <b>Browse...</b> button to find it.)</li> <li> Click <b>OK</b> to dismiss the <b>Default Web Site Properties</b> form.</li> </ol> <p> If everything is set up correctly, you should be able to see the test at <a href="http://localhost/default.htm">http://localhost/default.htm</a>. </p> <h2>Troubleshooting</h2> <p>If your site is not enabled after following these directions, you cannot choose IIS components to install, or serves HTML but not ASP, here are some things you can try: </p><ol> <li><b>Are you using Windows 2000?</b> These instructions only work if you copy IIS from Windows 2000. They will not work with Windows XP Professional or Windows Server 2003.</li> <li>Double-check your edits to <b><code>C:\WINDOWS\INF\SYSOC.INF</code></b>. The file must be edited exactly as shown, and saved to the correct place.</li> <li><b>Reboot.</b> Some users report that rebooting causes IIS to start property.</li> <li><b>Rebuild the IIS COM+ components.</b> <a class="out" href="http://brooksyounce.tripod.com/XpAspFix.htm">This page by Brooks Younce shows how</a>.</li> </ol> <p></p> <h2>Additional XP Home Hacks</h2> <p> The <a href="http://www.scottxp.com/winxp.php" class="out">ScottXP website</a> has tips on how to enable additional advanced functionality on XP Home. </p> <p> When running IIS, it is useful to enable User and Group management and advanced file security. </p> <h2><a name="port80"></a>Alternative Web Servers</h2> <p> There are other web servers that can run on Windows XP Home. <a class="out" href="http://www.apache.org/">Apache</a> has a native Windows version. <a class="out" href="http://www.lighttpd.net/">Lighttpd</a> has a Windows version that runs with cygwin. </p> <p>(Note that neither of these support ASP applications natively, which is presumably why you are installing IIS in the first place.)</p> <h2>Versions</h2> <ul> <li><b>1.2:</b> Additional troubleshooting section added, with a link to rebuilding the IIS COM+ components. (Thanks to Richard Castellon.)</li> <li><b>1.1.1:</b> Added link to "Windows Script 5.6 for Windows XP and Windows 2000".</li> <li><b>1.1:</b> Added note that IIS must be copied from Windows 2000, not Windows XP Pro.</li> <li><b>1.0:</b> Initial posting.</li> </ul> <hr size="1"> <h2>Contact Information</h2> <ul> <li> Email: <img src="iis-on-xp-home_files/qqq.gif" align="absmiddle"></li> </ul> </div> </div> </body></html>