4
2
AS detailed in this guide: http://www.tenforums.com/tutorials/1964-users-folder-move-location-windows-10-a.html, I've moved my Users directory from the default C:\Users
to D:\Users
. I used this answer file, which I saved as relocate.xml:
<xml version="1.0" encoding="utf-8"\>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FolderLocations>
<ProfilesDirectory>D:\Users</ProfilesDirectory>
</FolderLocations>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:X:\sources\install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
But I also figure that I need to move ProgramData as well. So to the relocate.xml, I added:
<ProgramData>D:\ProgramData</ProgramData>
at the line 7.
When I do this command:
%windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattend:Y:\relocate.xml
It runs Sysprep, but after it asks me to enter my settings, the system just seems to get stuck in a loop. Unlike when I use the original relocate.xml as it was in the guide, which completes and logs me to a new account.
A general search about relocating the ProgramData directory doesn't seem to lead to any guides. So what's the reason for not having a straight-forward way of relocating ProgramData?
I'm in the exact boat as the OP. This IS a valid workaround. Why is this downvoted? – Shaamaan – 2016-11-12T11:13:09.523