Move inetpub folder on SharePoint

Posted: October 2, 2014 in IIS, Sharepoint 2013
Tags: , , ,

Is good practice on the production environment place inetpub directory on the different drive from system drive, for example on D:\. When you create a new SharePoint application you can specify which directory save  data but this require remember to change each time this directory. To avoid any inconvenience I suggest change the default parameter directely on regedit so when you create a new SharePoint Web Application, Central Admin will use by default this new directory. For this scope, open Regedit and locate this path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp and change value of PathWWWRoot key with your new Path

image
Now when you create a new Web Application, SharePoint will use this new directory:

image

Leave a comment