InformationWeb resources published through IIS are mapped via Virtual Directories to physical locations on disk. It is recommended to map all Virtual Directories to a non-system disk volume.
Isolating web content from system files may reduce the probability of web sites/applications exhausting system disk space. It can also reduce the file IO vulnerability in the web site/application from affecting the confidentiality and/or integrity of system files.
Once the configuration is changed all content from the root drive to the new drive including ACLs and empty directories will need to copied.
SolutionBrowse to web content in C:\inetpub\wwwroot\
Copy or cut content onto a dedicated and restricted web folder on a non-system drive such as D:\webroot\
Change mappings for any applications or Virtual Directories to reflect the new location
To change the mapping for the application named app1 which resides under the Default Web Site, open IIS Manager:
Expand the server node
Expand Default Web Site
Click on app1
In the Actions pane, select Basic Settings
In the Physical path text box, put the new location of the application, D:\wwwroot\app1 in the example above
The default location for web content is: %systemdrive%\inetpub\wwwroot.