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 tip! I will add this site to my bookmarks.
I found your blog on bing. I think it’s pretty good.
i m a fan of your blog and articles. i have been following many years.Thanks for writing this, I love reading your stuff keep it up.
I really find this a interesting subject. Never looked at it in this way. If you are going to write some more articles about this subject, I definitely will be back soon! Btw your layout is truly briliant. I will be using something similar for my own site if it’s ok with you.
Top 3 Sites for Viagra, Best Prices, Free Shipping, Starting at only $89.99
pretty helpful material, overall I consider this is well worth a bookmark, thanks
Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
Just want to say your article is astounding. The clarity in your post is simply spectacular and i can assume you are an expert on this field. Well with your permission allow me to grab your rss feed to keep up to date with incoming post. Thanks a million and please keep up the fabulous work.
Thank you for the sensible critique. Me & my neighbour were preparing to do some research about that. We got a good book on that matter from our local library and most books where not as influensive as your information. I am very glad to see such information which I was searching for a long time.This made very glad
You need to genuinely consider working on making this weblog in to a key authority on this market. You undoubtedly possess a grasp look after belonging in the direction of the subjects everyone is wanting to get on this website anyways and you also could certainly even create a dollar or two away of some advertising. I would explore pursuing latest subjects and raising the quantity of compose ups you positioned up and I ensure you’d start seeing some awesome specific site visitors within near to future. only a thought, exceptional luck in what ever you do! GOV,EDU,Folkd,
Good to know
and hey….i wanne say thanks for the usefull knowledge.I just love it!
Nice site, nice and easy on the eyes and great content too.
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.
I was just reading your blog and I realized that what your wrighting is so true! People should think more often about this subject because this is to important to forget. Btw your blog is really hard to read on my blackberry. The screen looks very small and some words are placed outside of the borders. But besides that.. your website is really great. I will be back to read more
greetings there, i just stumbled your site on google, and i must tell that you express awesomely well on your website. i am very motivated by the mode that you compose, and the subject is outstanding. in any event, i would also love to know whether you would love to exchange links with my site? i will be more than happy to reciprocate and put your link off in the link exchange area. waiting for your response, i give my sincere thanks and gooday!
Outstanding post, you have pointed out some excellent details , I likewise conceive this s a very excellent website.
lengthy log you’ve enjoy
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…
The fruit does not fall far from the tree
Thanks for the post, keep posting stuff
There are no side effects to the acai berry. It’s like eating a fruit. Best check with your attending physician.
You must embark on your pride without sharing fools : Confucius
Fantastic post. I previousally to spend alot of my time boating and playing games. It was most certainly the best period of my young life and your content somehow brought back me of that. Thanks
Fantastic info. I used to spend alot of my time wakeboarding and watching sports. It was quite possible the best time of my past and your info somehow brought back me of that. Thanks
I hope you will keep updating your content constantly as you have one dedicated reader here.
Very creative, one of the nicer sites I have seen today. Keep up the great work
Yahoo displayed your blog when I looked for a specific keyword, that’s why I ended up here. Anyway, you have a great article, it’s worth reading and worthy of my time.
Great information. I previousally to spend alot of my time wakeboarding and playing games. It was quite possible the best time of my past and your info somehow brought back us of that time. Cheers
I think drikins has an awesome blog for sure. nice work. inscrieri manuale in directoare.
Great information. I used to spend alot of my time wakeboarding and being involved in games. It was possibly the most special time of my childhood and your content really brought back me of that period of my life. Thank You
Couldn?t end up being written any better. Scanning this post reminds me associated with my old space mate! He usually kept talking about this particular. I will forward this short article to him. Confident he will have a great read. Thanks for discussing! Adauga Anunturi Gratuite Craiova
Possession is nine points of the law
Great post. I used to spend alot of my time boating and playing sports. It was most certainly the most special period of my young life and your article really brought back me of that period of my life. Thank You
You really make it seem so easy with your presentation but I find this topic to be really something which I think I would never understand. It seems too complicated and very broad for me. I am looking forward for your next post, I will try to get the hang of it!
We can either manufacture and install or provide parts and hardware for stainless steel balustrading, pool fencing, DIY balustrading, DIY staircases, stainless steel wire balustrading, glass balustrading, timber staircases and handrails and other various staircase components.
Hello,I am going to school for computer graphics.do you know where I can get a student copy of Dreamweaver?
Good points. I used to spend alot of my time sailing and being involved in sports. It was probably the best time of my childhood and your post really brought back me of that time. Thanks
Aweseme article. I used to spend alot of my time boating and playing games. It was probably the most special period of my young life and your post really brought back me of that period of my life. Thanks
Virtue is its own reward
Don’t put new wine into old bottles
If you can’t stand the heat get out of the kitchen
Don’t you recognize that it’s correct time to get the loan, which would help you.
It is great that we can receive the business loans and this opens up completely new opportunities.
This is great that we can get the loans and that opens up completely new opportunities.