1. Joined : Sep 2015
    Ohio
    Posts : 7
    Win 10
       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 System SpecsSystem Spec


  2. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,613
    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:

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

    Last but not least delete the Sysprep\Panther folder and reboot back to Audit Mode. You can now re-sysprep without worries.

    Kari
    Last edited by Kari; 05 Aug 2016 at 14:34.
      My System SpecsSystem Spec


  3. Joined : Sep 2015
    Ohio
    Posts : 7
    Win 10
       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 System SpecsSystem Spec


  4. Joined : Oct 2013
    A Finnish ex-pat in Germany
    Posts : 9,613
    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 System SpecsSystem Spec


 


Similar Threads
Thread Forum
Solved Windows time clock running slow, losing time.
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...
General Support
Sysprep and cloned OS
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...
Installation and Setup
Sysprep unable to validate installation. (yet another sysprep case)
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...
Installation and Setup
SYSPREP Issues
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....
Installation and Setup
Working with ICD and Sysprep
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...
Installation and Setup
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 00:03.
Find Us
Twitter Facebook Google+



Windows 10 Forums