Windows 10: Sysprep 2nd Time

  1.    05 Aug 2016 #1

    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?
      My ComputerSystem Spec

  2. Posts : 14,197
    Windows 10 Pro
       05 Aug 2016 #2

    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:

    ERROR: SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn’t update the recorded state
    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\:
    • 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:
    msdtc -uninstall

    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:
    mtdtc -install

    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.
      My ComputerSystem Spec

  3.    05 Aug 2016 #3

    How do I boot back into audio mode though? I think I'm missing that simple part of it all.
      My ComputerSystem Spec

  4. Posts : 14,197
    Windows 10 Pro
       05 Aug 2016 #4

    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.
      My ComputerSystem Spec


Related Threads
Hi, 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...
Sysprep and cloned OS in Installation and Upgrade
Hi. 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...
SYSPREP Issues in Installation and Upgrade
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....
Working with ICD and Sysprep in Installation and Upgrade
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...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:06.
Find Us