Hello Hany Mohamed Barbis
How is it going? Did it fix your issue? I would love to hear back from you. Or maybe if you don't have time to walk me thru the progress, just hit the "Accept Answer" then I'll know you made it :)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I’m using Windows 11 25H2 Pro and Enterprise, and I need to create Golden Images using Sysprep. However, after running Sysprep, it automatically creates a new administrator account.
How can I prevent this?
My goal is to capture the image after Sysprep and shutdown, then deploy it to other devices without creating any new user accounts — I want to keep only the user accounts that were created in the Golden Image.
Thank you,
Hello Hany Mohamed Barbis
How is it going? Did it fix your issue? I would love to hear back from you. Or maybe if you don't have time to walk me thru the progress, just hit the "Accept Answer" then I'll know you made it :)
Hi Hany, to prevent Sysprep from creating a new administrator account, here are a few steps you can follow:
Ensure an existing local admin account is present before running Sysprep. This account should be created and configured in advance.
CopyProfile setting in your unattend.xml file to preserve user profile settings. Make sure the unattend.xml includes: Xml <CopyProfile>true</CopyProfile> under the specialize pass.unattend.xml, configure the OOBE section to skip user creation: Xml <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> </OOBE>