Installing IIS on Windows XP Home
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:
- Windows XP Professional
- Windows Web Server 2008
- Windows Server 2008
- Windows Server 2003
Requirements
These instructions have the following requirements:
- You are running Windows XP Home SP2.
SP2 contains many
changes to how Windows manages computer security. These instructions
may not work on versions of XP older (or newer) than SP2. - Your Windows XP Home installation disc.
- A Windows 2000 installation disc (any version.)
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. - Windows Script 5.6 or higher.
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.
Path and CD-ROM notes
- I assume that your windows folder is
C:\Windowswhich is the default location. Substitute your actual windows folder if needed. - I assume that your CD-ROM drive is assigned the letter
X:. Substitute your actual CD-ROM drive letter if needed.
Windows Script Installation
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
IIS Installation
- Open the file
C:\WINDOWS\INF\SYSOC.INFand find the section[Components]. - Find the line:
iis=iis.dll,OcEntry,iis.inf,hide,7
and replace it with:
iis=iis2.dll,OcEntry,iis2.inf,,7
Typographical notes
-
- This file is case-sensitive, so make sure you type
OcEntryand notOCEntryorocentry. - In the replacement text, there are two commas in a row before the 7.
- This file is case-sensitive, so make sure you type
- From your Windows 2000 CD, copy the files
X:\I386\iis.dl_andX:\I386\iis.in_to a folder on your hard drive. - Go to the folder from step #3 in a command window.
“Open Command Window Here”
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”.
- In the command window, decompress the two files with the following commands:
expand iis.dl_ iis2.dll
expand iis.in_ iis2.inf
(You may close the command prompt at this time.) - Move the files:
iis2.inftoC:\Windows\INF
iis2.dlltoC:\Windows\System32\Setup - Open the Control Panel and choose Add or Remove Programs. From the column of icons on the left, choose Add/Remove Windows Components. IIS will now be available.
Optional Windows Components
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.
- Check IIS and then click the details button. You can add or remove optional components in this form.
Do not install SMTP
I recommend unchecking SMTP. 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.
- Click OK to close the details window and then Next to continue with the installation.
- When prompted, insert your Windows 2000 disc and browse for
X:\I386; do the same when prompted for your XP Home disc. - Once installed, you can access the Internet Services Manager by opening the Control Panel and choosing Administrative Tools.
Add Administrative Tools to the Start Menu
To add Administrative Tools to the Start Menu:
-
- Right-click on the start button and choose Properties.
- Click the Customize… button then select the Advanced tab.
- Scroll the Start menu items list to the bottom, and select where you want Administrative Tools to appear.
Now that basic installation is complete, you must configure IIS.
IIS Configuration
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.
Configure Directory Security
The default IIS account is IUSR_NAME. We need to replace this with NAME\IUSR_NAME (where NAME is your computer name.)
IIS User Accounts
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.
- Start Internet Services Manager from Administrative Tools.
- Your computer will appear under Internet Information Services. Right-click on your computer and choose Properties.
- Select Master WWW Service in the drop-down, then click Edit….
- Select the Directory Security tab.
- Under Anonymous access and authentication control click Edit…
- In the Authentication Methods form, make sure only Anonymous access is checked, then click Edit….
- The default username will be
IUSR_NAME. We need to replace this withNAME\IUSR_NAMEwhereNAMEis your computer name. You can type it in manually or use these steps:- Click the Browse… button.
- On the Select User form click the Advanced… button in the bottom left.
- Click the Find Now button in the middle-right of this form.
- Select
IUSR_NAMEin the user list at the bottom of the form, then click OK - Click OK to dismiss the Select User form.
- Uncheck Allow IIS to control password. (This is important!)
- Click OK to dismiss the Anonymous User Account form.
- Click OK to dismiss the Authentication Methods form.
- Click OK to dismiss the WWW Service Master Properties form.
- Click OK to dismiss the
ComputernameProperties 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.
Configure Home Directory
With Internet Services Manager:
- Your computer will appear under Internet Information Services. Click on your computer to expand its list of servers.
- Right-click on Default Web Server and choose Properties.
- Select the Home Directory tab.
- In the Application Protection drop-down under Application Settings choose Low (IIS Process).
- Click OK to dismiss the form.
The default website may not work
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.
Testing your IIS installation
To test your IIS installation you should create some test files and
point the default website to the folder containing those files.
- Download iistest.zip.
- Copy the
iistestfolder inside the .zip to your harddrive. - Click on your computer to expand its list of servers in Internet Services Manager.
- Right-click on Default Web Server and choose Properties.
- Select the Home Directory tab.
- In the Local Path: textbox, type in the path to the
iistestfolder you extracted (or use the Browse… button to find it.) - Click OK to dismiss the Default Web Site Properties form.
If everything is set up correctly, you should be able to see the test at http://localhost/default.htm.
Troubleshooting
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:
- Are you using Windows 2000? These instructions only work if
you copy IIS from Windows 2000. They will not work with Windows XP
Professional or Windows Server 2003. - Double-check your edits to
C:\WINDOWS\INF\SYSOC.INF. The file must be edited exactly as shown, and saved to the correct place. - Reboot. Some users report that rebooting causes IIS to start properly.
Rebuild the IIS COM+ components. This page by Brooks Younce shows how.
97 Comments.
Responder
Trackbacks and Pingbacks:
- Mountain Bikes Belong To A Different Class - Trackback on 2010/06/08/ 09:28
- Welcome! Hope that we'd come see! Under the respective exchange ideas! The release of everyone's ideas! - Trackback on 2010/06/08/ 18:59
- Hope that we'd come see! Under the respective exchange ideas! Freedom to share! - Trackback on 2010/06/09/ 04:57
Enviar por mail
Great article-would like to publish in my free newsletter for seniors but was wondering if the information applies to Washington residents as well?
Hey there, I’m a long-time lurker and also was too shy to submit a comment.
Hey, thanks…I’ve been hoping for something like that. Fantastic! That’s really helpful. Cheers!
It looks like you know a bit about viral internet marketing, if not please stop by for a free report.
This blog truly keeps looking better every time I show up. You should really be pleased.
I’m categorically departing to bookmark you! Thank you on behalf of your info.
Extremely Fine see. Offers Gives thanks for this..
I really like the style of your writing. I found your blog on bing and decided to check out
I like the way you write. Your style is very smooth and I enjoy reading your posts. I¡¯m headed to the dentist but will be back later
I found your site on yahoo and thought I would drop by and say hey. I like the way your blog is set up. I¡¯ll come back later. I have to go walk my dog right now and take them to potty.
Hi there could I reference some of the information from this post if I reference you with a link back to your site?
Epic site I’m so glad I stumbled here through my friend’s blog, Going to need to add this one to the blogroll.
Hi there could I reference some of the information from this post if I reference you with a link back to your site?
How did you make this template? I got a blog as well and my template looks kinda bad so people don’t stay on my blog very long.
I feel you are too good to write Genius!Thanks for posting, maybe we can see more on this.
Yhanks for your great website! ^^
Okay article. I just became aware of your blog and desired to say I have really enjoyed reading your opinions. Any way I¡¯ll be subscribing in your feed and Lets hope you post again soon.
There are no side effects to the acai berry. It¡¯s like eating a fruit. Best check with your attending physician.
Thank you for another fantastic blog. Where else could I get this kind of info written in such an incite full way? I have been looking for such information.
i know i¡¯m a little off topic, but i just wanted to say i love the layout of your blog. i¡¯m new to the blogegine platform, so any suggestions on getting my blog looking nice would be appreciated.
This is my Post
Simply want to say your article is as tonishing. The clearness in your post is simply spectacular and i can assume you are an expert on this subject. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the gratifying work.
Please tell me it worked right? I dont wish to sumit it once again if i do not have to! Either the blog glitced out or i am an idiot, the second selection doesnt surprise me lol. thanks in your very good blog!
I hope you will keep updating your content constantly as you have one dedicated reader here.
hi, excellent web blog, and a very good understand! one for my bookmarks.
i know i¡¯m a little off topic, but i just wanted to say i love the layout of your blog. i¡¯m new to the blogegine platform, so any suggestions on getting my blog looking nice would be appreciated.
Thank you for the sensible critique. Me and my neighbor were just preparing to do some research about this. We got a grab a book from our local library but I think I learned more from this post. I am very glad to see such great information being shared freely out there.
Thank you for another fantastic blog. Where else could I get this kind of info written in such an incite full way? I have been looking for such information.
Thank you for another informative blog. Where else could I get that kind of info written in such a perfect way? I have a project that I am just now working on, and I have been on the look out for such information.
hi, excellent web blog, and a very good understand! one for my bookmarks.
I do agree with all the ideas you have presented in your post. They are very convincing and will definitely work. Thanks for the post.
I hope you will keep updating your content constantly as you have one dedicated reader here.
Hi. I go through a few of one’s other posts and wished to understand in the event you would be interested in exchanging blogroll links?
Simply want to say your article is as tonishing. The clearness in your post is simply spectacular and i can assume you are an expert on this subject. Well with your permission allow me to grab your rss feed to keep up to date with forthcoming post. Thanks a million and please keep up the gratifying work.
This is very intresting, You are a very skilled blogger. I have joined your feed and look forward to seeking more of your great post.
hey great information your site contains will return when I have time to read more.
Thank you for another fantastic blog. Where else could I get this kind of information written in such an incite full way? I have a project that I am just now working on, and I have been looking for such information… Regards…
hi, excellent web blog, and a very good understand! one for my bookmarks.
I hope you will keep updating your content constantly as you have one dedicated reader here.
I always like to have a read about such things, my blog is related if you want to have a look round it please feel free. I have added yours to my bookmarks.
Noticed your Webblog bookmarked on Reddit.I appreciate your web blog and marketing and advertising tactic. Verify out my Farmville Guideline if you get yourself a moment.
You can definitely see your enthusiasm in the work you write. The world hopes for more passionate writers like you who aren?¯t afraid to say how they believe. Always go after your heart.
Substantially, the post is actually the sweetest topic on curing acne naturally. I concur with your conclusions and will thirstily look forward to your future updates.
Thank you for another fantastic blog. Where else could I get this kind of info written in such an incite full way? I have been looking for such information.
I’m not sure where you are getting your info, but goodtopic.|I needs to spend some time learningmore or understanding more.|Thanks for greatinformation I was looking for this information for my mission.
I always like to have a read about such things, my blog is related if you want to have a look round it please feel free. I have added yours to my bookmarks.
You can definitely see your enthusiasm in the work you write. The world hopes for more passionate writers like you who aren?¯t afraid to say how they believe. Always go after your heart.
Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information.
Saw your Blog bookmarked on Reddit.I really enjoy your blog and marketing tactic. Investigate out my Farmville Guidebook in the event you get a moment.
I’ve read some good stuff here. Definitely worth bookmarking for revisiting.