Microsoft doesn't officially support running IIS (Internet Information Server) or PWS (Personal Web Server) on Windows XP Home.
See: INFO: Personal Web server is not included with Windows XP Home Edition.
There is no technical reason why XP Home didn't include a web server, so I can only assume it was done as a marketing decision.
These instructions are unofficial and unsupported. Hacking your
Windows XP Home
installation is a good way to put your computer out of commission and require a full reinstall.
If you are actually using your computer to run a business and need IIS, you must license an appropriate version of Windows to be in compliance with Microsoft EULAs. These versions include:
If you want to run a web server, but do not need IIS specific features (ASP/ASP.NET support), consider an alternative web server.
Richard Sandoz provided the steps to install IIS on XP Home in this USENET post (Jan 8 2002). His original posting has been widely quoted around the web. Unfortunately, his steps are unclear on how to properly configure IIS after installation.
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 community.
These instructions have the following requirements:
At the risk of being redundant: This document only works when you copy IIS from a Windows 2000 CD. It will not work if you try to copy IIS from Windows XP Professional, or any newer version of Windows.
C:\Windows which is the default location. Substitute your actual windows folder if needed.X:. Substitute your actual CD-ROM drive letter if needed.You need to be running Windows Script 5.6 or higher 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.
To verify your version of Windows Script, open a command prompt and run:
cscript
You should see "Microsoft (R) Windows Script Host Version 5.6" or "...5.7". If you have a prior version, use the following link to update your scripting components.
Micrsoft Download: Windows Script 5.7 for Windows XP
C:\WINDOWS\INF\SYSOC.INF and find the section [Components].
iis=iis.dll,OcEntry,iis.inf,hide,7iis=iis2.dll,OcEntry,iis2.inf,,7
OcEntry and not OCEntry or ocentry.X:\I386\iis.dl_ and X:\I386\iis.in_ to a folder on your hard drive.
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.
See: Microsoft PowerToys for Windows XP, and install "Open Command Window Here".
expand iis.dl_ iis2.dll
expand iis.in_ iis2.infiis2.inf to C:\Windows\INFiis2.dll to C:\Windows\System32\Setup
X:\I386; do the same when prompted for your XP Home disc.Now that basic installation is complete, you must configure IIS.
When cross-installing IIS from Windows 2000 to Windows XP Home, the default Directory Security and Home Directory settings will not work correctly out-of-the-box.
The default IIS account is IUSR_NAME. We need to replace this with NAME\IUSR_NAME (where NAME is your computer name.)
IIS creates some user accounts, based on your computer's name, that it uses to run ASP applications: IUSR_NAME and IWAM_NAME, where NAME is the name of your computer.
This allows custom security settings to be applied to ASP and ISAPI applications.
IUSR_NAME. We need to replace this with NAME\IUSR_NAME where NAME is your computer name. You can type it in manually or use these steps:
IUSR_NAME in the user list at the bottom of the form, then click OKComputername Properties form.
If you see "The requested resource is in use." trying to access your new web server, follow the Home Directory steps below to modify the Application Protection settings for the default web site.
If you go to http://localhost in a browser, chances are you will see an ASP error on line 19. Don't panic.
IUSR_NAME does not have permission to run the default IIS website. The default IIS website attempts to create admin-only ActiveX objects.
To test your IIS installation you should create some test files and point the default website to the folder containing those files.
iistest folder inside the .zip to your harddrive.iistest folder you extracted (or use the Browse... button to find it.)If everything is set up correctly, you should be able to see the test at http://localhost/default.htm.
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:
C:\WINDOWS\INF\SYSOC.INF. The file must be edited exactly as shown, and saved to the correct place.There are other web servers that can run on Windows XP Home.
Note that neither of these support ASP applications natively, which is presumably why you are installing IIS in the first place.