Moving ProgramData folder with Sysprep Command in Windows 21H2 IoT LTSC 2021

Beppe Platania 6 Reputation points
2022-11-08T20:54:40.297+00:00

The relocate.xml file is this:
<?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>
</unattend>

The Sysprep command is: sysprep : %windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattend:c:\relocate.xml

In Windows LTSC-2019 worked fine, in Windows LTSC-2021 the system restart and present these two screens:

258413-image.png

258444-image.png

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} vote

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.