top of page


Public·10 members
Nolan Richardson
Nolan Richardson

How To Move IIS7 On Another drive [NEW]

By default IIS will be installed on the C and Inetpub folder will be created on the C drive but my requirement is to move to another drive. Here I found one link in the web for moving inetpub to a different drive and it worked. -the-iis7-inetpub-directory-to-a-different-drive

How to move IIS7 on another drive

Download Zip:

The document just provide the steps to copy the content and map the IIS configuration to another folder. So one issue you need to be a ware of is windows servicing events would still replace files in the original directories. In addition, I remembered the inetpub in c driver has more restriction when you were trying to modifying the file in inetpub. So I think the inetpub in c:\ should have more security level.

Can you please elaborate regarding the Windows Servicing Events or can you provide some links. If you see from the Microsoft sites they have mentioned that moving the Inetpub folder from system drive (Usually C Drive ) to another drive is a good practice since its improve security and space in C Drive.

I think I was wrong, move inetpub to another driver should be supported completely, so you could just move it and it should be more secure: -sg/help/2752331/guidance-for-relocation-of-iis-7-0-and-iis-7-5-content-directories

"During installation, most of the core IIS components and configuration files are placed inside the %windir%\system32\inetsrv folder. The Inetsrv directory is considered the main installation directory for IIS. It has been reported that some non-Microsoft security scanning tools suggest that IIS should be installed on a non-system drive for security purposes. This is not a correct assessment.IIS is a core Windows component and cannot be installed on a non-system drive.There have also been reports of suggestions to move the Inetpub directory to a non-system drive for security purposes. The Inetpub directory is the default web content directory and also acts as a placeholder for logs and temporary files. Most of the Inetpub subfolder locations can be reconfigured based on your needs and business requirements, however the initial Inetpub folder and subfolders should never be renamed nor deleted. This is because Windows Servicing may at some point need to update one or more of the core IIS files that are stored in %systemdrive%\inetpub\. Moving the Inetpub folder structure completely off of the system drive isnot supported. Further, there are no real security benefits from moving the entire Inetpub directory structure to a non-system drive.NOTE: IN THE EVENT OF WINDOWS SERVICING, ONLY THE ORIGINAL DIRECTORIES AND THEIR CONTENTS WILL BE UPDATED. MICROSOFT DOES NOT RECOMMEND ANY MANIPULATION TO THE IIS DIRECTORY STRUCTURE. DOING SO WILL RENDER IIS IN AN UNSUPPORTED STATE."

IIS log files are stored by default in the %SystemDrive%\inetpub\logs\LogFiles folder of your IIS server. The folder is configured in the Directory property on the Logging page for either the server or an individual site. To lessen the problem of log disk usage, you can move your IIS log files to a folder on another server that has more space. This server can either be in the same domain as the local IIS server, or a different domain. You can save log files remotely either for the entire server or for individual Web sites.


Welcome to the group! You can connect with other members, ge...


Group Page: Groups_SingleGroup
bottom of page