Hello,

I'm having issues with doing an unattend sysprep file on the Win10 Pro x64 Version 2004 (Build 19041).

I had a working version of the file for the Win10 Pro x641607 version (Build 14393)

I used Kari's Win10 Audit Mode with Sysprep tutorial (for both).

The machine is setup with all of the software installed, ready for Sysprep OOBE with an unattend file to setup some settings.
I've disabled the Windows Hello via registry edit.
I've also disabled Biometrics via registry edit (per a co-worker, I've tried with and without it, doesn't seem to overall impact the overall issue of it failing).
I've been able to successfully run it with only the autologon enabled.
Once I start adding in the normal items, like skipping the EULA pages, on boot it will hang at the Just a moment screen for a long period of time. I'm not sure if it actually has completed, as I usually just restart the machine.


What I'm actually attempting to do is setup an image to be used on many machines in the field as an OOBE experience with software already setup on it. The image will be applied to upwards of 2,000 machines in the field. We don't have a way to do it via SCCM or InTune as of current. Something is failing or not compatible with the current version of Windows 10, I just don't know what it is.

I also have a setupcomplete.cmd file that goes in c:\windows\setup\scripts that worked on the 1607 version. Even without that file in place the sysprep for 2004 is failing.

If I choose to skip the setupcomplete.cmd file, I can put in a batch file in the following location to basically do the same things that the setupcomplete.cmd file was doing.
c:\users\Administrator\AppData\Roaming\Microsoft\Windows\StartMenu\Programs\Startup\

The setupcomplete.cmd does the following
* Sets the Administrator account active (no longer needed as I can accomplish this via sysprep it appears)
* Deletes the unattend.xml file
* Adds in an account to the registry for DefaultUserName and DefaultPassword with that information.
* Adds in AutoAdminLogon and ForceAutoLogon into the Registry and enables both settings. (the machine doesn't use the standard Explorer Desktop, it has a software shell with a separate User Name/Password.
* Runs powercfg.exe /h off to disable hibernate
* Adds a registry key for CDROM and disables it
* Runs a wmic command to join a certain workgroup
* Runs a basic reboot command.

Nothing that I believe would cause it to fail out after the unattend file runs.


Here's a link to Google Drive with my prior 1607 unattend file that worked along with 2 recent unattend files that failed out. I sanitized the files (password hashes and identifying information)
TenForums - Google Drive


I figured I'd ask here as I'm confused at this point as to why this is not working, even just the basic sysprep part in the newer version of Windows 10.