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 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,889 questions
0 comments No comments
{count} vote