This project has moved and is read-only. For the latest updates, please go here.

How to Install on a different Drive?

Oct 15, 2011 at 9:50 PM


Just fell upoun this script today, seems as though it will help me out a lot. I am just confused about something. My server is set up using two disks, c: drive for the OS, and e: for sharepoint. How do I run this script and ensure that sharepoint is install on the e: drive 

Thanks guys 

Oct 15, 2011 at 10:13 PM

you can specify the location for SharePoint Server installation in config.xml 

the XML nodes is

  <INSTALLLOCATION Value="%PROGRAMFILES%\Microsoft Office Servers\" />

Note that the SharePoint Foundation 2010 technology is not affected by this element; it is installed into the following path:

%COMMONPROGRAMFILES%\Common Files\Microsoft Shared\Web Server Extensions\14

more information on this at

Oct 15, 2011 at 10:20 PM

So I would simply need to just add that line in my config.xml file ? because its not there in the my current config.xml

Oct 15, 2011 at 10:24 PM

I haven't tested such an install but I'd rather you use version 2.5.5 or at least the patch at 

Oct 16, 2011 at 7:51 PM

I wouldn't recommend doing this unless you really need to - it introduces a risk of problems (particularly with 3rd party software) with very little gain as the static files served from the 14 folder will be cached in memory by IIS.

It is certainly worth moving the logs and the SharePoint data folder, but not the program itself.

Oct 16, 2011 at 9:01 PM

Fully agree with Paul - little benefit, big potential for complications etc 


Oct 17, 2011 at 4:41 AM

+1 against using different drive. it's an old Sys Admin "best practice" that really no longer applies today - especially when virtualizing.