Windows 10: Sysprep 2nd Time
Sysprep 2nd Time
I know there's a 3 time limit for sysprep on a Windows machine. How do you go about returning to sysprep so I can make some minor changes? Do I just run sysprep.exe /audit?
Finnish but not finished
Theoretically you can sysprep as often as you want to, it's rearming Windows that has a set limit. Each sysprep with generalize switch uses one rearm. If Windows finds it is in state it cannot be rearmed anymore, sysprep fails, logs in C:\Windows\System32\Sysprep\Panther showing an error like this:
In rare occasions I have to re-sysprep I boot to Audit Mode and edit registry changing two DWORD values in HKEY_LOCAL_MACHINE\SYSTEM\Setup\Status\SysprepStatus\GeneralizationState\:
ERROR: SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn’t update the recorded state
- Set CleanupState = 2
- Set GeneralizationState = 7
When done, give this command in elevated Command Prompt to uninstall Microsoft Distributed Transaction Coordinator and wait at least 30 seconds:
The longer you wait, the better; reinstalling MSDTC too soon when it's not completely uninstalled might cause issues. Even on low end slow hardware it does not need more than a minute.
OK, then reinstall MSDTC:
Last but not least delete the Sysprep\Panther folder and reboot back to Audit Mode. You can now re-sysprep without worries.
Last edited by Kari; 05 Aug 2016 at 14:34.
How do I boot back into audio mode though? I think I'm missing that simple part of it all.
Finnish but not finished
When you once enter to Audit Mode, you'll stay there until you specifically tell Windows to exit it with /oobe switch in sysprep command. In Audit Mode, shutting down the PC and starting again later or restarting always returns you to Audit Mode automatically if /oobe switch is not used with sysprep.
I just noticed the clock on my Windows 10 tablet is running noticeably slow.
Over the last few days I've seen wrong times and done a manual sync to the time server, which sets it right again.
Now, if I bring up the calendar display, it's...
I am setting up some computers that has to be locked down tight with local GPO. They are in a non-domain network and is only on the Internet. Can I just clone the drives from one to the others without problems like dual SIDs? Do I need to run...
Hey everyone, I hope you're doing fine.
Well, I'll keep this short and to the point.
I want to run sysprep on my Windows 10 Pro (x64) PC and I've faced many errors till now which I somehow managed to dodge , Now I've come across another...
Windows 10 Enterprise x64
So I am using the unattend.xml file below and the command.
sysprep.exe /generalize /oobe /shutdown /unattend:c:\windows\systems32\sysprep\unattend.xml
I use Windows PE/Ghost to capture/deploy after the shutdown....
Trying to work on creating Windows 10 Image deployment without MDT. Ideally what I am thinking is that I use system Image manager to create an unattend.xml file for the main image. Then I am hoping i can use the ICD to apply Desktop Image...