Help and Support
 

powered byLive Search

How to Change the Default Installation Paths for FTP and the Web

Retired KB ArticleThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Article ID:259671
Last Review:November 21, 2006
Revision:2.1
This article was previously published under Q259671

SUMMARY

The Internet Information Services 5.0 default installation path is %systemdrive%\Inetpub\Wwwroot for the Web and %systemdrive%\Inetpub\Ftproot for FTP.

At this time, you can only modify the default installation paths for FTP and Web roots either in an unattended setup mode as part of a Windows 2000 unattended installation or as an unattended component installation.

Back to the top

MORE INFORMATION

To change the default installation paths for FTP and the Web during an unattended installation, you must:
1.Create an Unattend.txt file and place it on a drive that will be accessible to the Windows 2000 unattended installation program. The Unattended.txt file will be accessed during setup.
2.Include the following section in the unattended installation file:
[InternetServer] PathFTPRoot=path to FTPRoot PathWWWRoot=path to WwwRoot
For example:
   [InternetServer]
   PathFTPRoot=D:\Inetpub\Ftproot
   PathWWWRoot=D:\Inetpub\Wwwroot
					
To change the default installation paths for FTP and the Web during an unattended component installation, you must follow this procedure:
1.Create an unattended install file and name it Iis.txt. This file will be accessed during the unattended component installation. The answer file can be any Windows 2000 answer file. It must contain a "Components" and an "InternetServer" section header. For example:
[Components]
iis_common = on
iis_inetmgr = on
iis_www = on
iis_ftp = on
iis_htmla = on

[InternetServer]
PathFTPRoot=D:\Inetpub\Ftproot
PathWWWRoot=D:\Inetpub\Wwwroot

						
2.Use the Sysocmgr.exe command to start the installation of the FTP or Internet Information Services components. Assuming the answer file that you created in step 1 was named Iis.txt, the command line to execute the installation would be:
sysocmgr /i:%windir%\inf\sysoc.inf /u:c:\iis.txt
Note that you could also use a batch file to execute the setup. The batch file must contain a command similar to the command above.

Back to the top

REFERENCES

For additional information on unattended setup, see "Microsoft Windows 2000 Guide to Unattended Setup." This document can be found on the Windows 2000 installation CD-ROM. To view it, extract the Unattend.doc file from the \Support\Tools\Deploy.cab file.

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:
250609 (http://support.microsoft.com/kb/250609/EN-US/) INFO: Quick Guide to Preinstalling Windows 2000
222444 (http://support.microsoft.com/kb/222444/EN-US/) How to Add or Remove Windows 2000 Components with Sysocmgr.exe
281892 (http://support.microsoft.com/kb/281892/EN-US/) Windows 2000 Unattend.Doc File Provides Incorrect FrontPage Server Extensions Parameter

Back to the top


APPLIES TO
Microsoft Internet Information Services 5.0

Back to the top

Keywords: 
kbinfo KB259671

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.