Relocation of the Users directory and the ProgramData directory to a drive other than the drive that contains the Windows directory
By changing the default location of the user profile directories or program data folders to a volume other than the system volume, you cannot service your Windows installation. Any updates, fixes, or service packs cannot be applied to the installation. We recommend that you do not change the location of the user profile directories or program data folders.
For Windows, the most common reasons are as follows:
- It is easier to back up data from a single drive and from a drive that contains only user files.
- It is easier to rebuild the operating system drive on a user’s computer if user data is located on a separate volume. In this case, the drive that contains the Windows directory can be formatted, and Windows can be reinstalled without having to worry about how to remove user data.
- There are performance improvements when you relocate the Users directory and the ProgramData directory to a drive other than the operating system drive.
For information about the answer file setting when you are using Windows ADK, go to the following Microsoft website:
For more information about the FolderLocation settings in the Windows Vista Unattend.xml file, click the following article number to view the article in the Microsoft Knowledge Base:
Information that is documented in the current release of the Windows AIK and the Windows OPKThe Windows Automated Installation Kit (AIK) and the Windows OEM Preinstallation Kit (OPK) for Windows and Windows Server contain documentation warnings that are related to the usage of the ProfileDirectory and ProgramData unattend settings. These are the settings that let you relocate the Users directory and the ProgramData directory to locations other than their default locations. This includes other drives.
These warnings were included before the servicing stack update (update 937287) was available. This update addresses the issue that is discussed in the warning text. Windows AIK and the Windows OPK documentation reads as follows. You cannot upgrade such installations to the next version of Windows.
Setting information from the Windows AIK and Windows OPK documentation
ProfilesDirectoryThe ProfilesDirectory setting specifies the path of the user profile folder.
Use this setting to move the user profile folder (typically %SYSTEMDRIVE%\Users) to another location during Setup or Sysprep. The destination path can be on a volume other than the system drive, as long as it meets the following requirements:
It must be on an NTFS volume.
It must not be the path of another operating system user profile folder.
It must not contain any serviceable components.
This setting can be used to keep system data separate from user data. If Windows is re-installed on the system volume, a user who has administrative rights can manually recover data from this location.
Caution Using ProfilesDirectory to redirect folders to a drive other than the system volume blocks upgrades. Using ProfilesDirectory to point to a directory that is not the system volume will block SKU upgrades and upgrades to future versions of Windows. For example if you use Windows 8 together with ProfilesDirectory set to D:\, you cannot upgrade to Windows 8 Pro or to the next version of Windows. The servicing stack does not handle cross-volume transactions, and it blocks upgrades.
ProgramDataThe ProgramData setting specifies the path of the program data folder.
Important These settings should be used only in a test environment. By changing the default location of the user profile directories or program data folders to a volume other than the System volume, you cannot service your Windows installation. Any updates, fixes, or service packs cannot be applied to the installation. Microsoft recommends that you do not change the location of the user profile directories or program data folders. This is especially true for Windows Store apps. Changing the location of %programdata% will cause errors when you install, uninstall, or update these apps.
Article ID: 949977 - Last Review: 12/05/2013 03:44:00 - Revision: 4.0
- kbexpertiseinter kbpubtypekc kbinfo kbhowto KB949977