Windows 10: Sysprep 2nd Time

Discus and support Sysprep 2nd Time in Windows 10 Installation and Upgrade to solve the problem; 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... Discussion in 'Windows 10 Installation and Upgrade' started by brubakes, Aug 4, 2016.

  1. brubakes Win User

    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?

    :)
     
    brubakes, Aug 4, 2016
    #1

  2. Microsoft 10 Update Error 0xc1900101 0x30018

    I Tried Twice 1st Time I Only Got The Error 0xc1900101 0x30018

    2nd Attempt Gave Me The Same Error And Added Failed On FIRSTBOOT PHASE DURING SYSPREP OPERATIONS

    I Got Windows 8.1 No Integrated Wifi (which was a fix for the error) So Im At Loss

    P.S EDIT: I Tried Updating Through Windows Update First Then With The Media Creation Tool
     
    SaucyJackUSA, Aug 4, 2016
    #2
  3. sysprep broken on windows 10 build 10586

    I am trying to sysprep After installing windows update 3136561, sysprep fails, with message that says "Sysprep was not able to validate your Windows installation. Review the log file a %WINDIR% \Ssytem 32\Sysprep\Panther\setupact.log for details.

    I was able to run sysprep before installing update KB3136561, which changed the OS version to 10.0.10586

    This is on windows 10, Enterprise.

    The log says "spopk.dll : : Sysprep will not run on an upgraded OS. You can only run Sysprep on a custom (clean) install version of Windows."

    This was a clean install, until KB3136561 did the upgrade to version 10.0.10586

    Help
     
    MarkTronrud, Aug 4, 2016
    #3
  4. Kari Win User

    Sysprep 2nd Time

    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[/quote] 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[/quote]
    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[/quote]
    Last but not least delete the Sysprep\Panther folder and reboot back to Audit Mode. You can now re-sysprep without worries.
     
    Kari, Aug 4, 2016
    #4
  5. brubakes Win User
    How do I boot back into audio mode though? I think I'm missing that simple part of it all.
     
    brubakes, Aug 4, 2016
    #5
  6. Kari Win User
    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.
     
    Kari, Apr 4, 2018
    #6
Thema:

Sysprep 2nd Time

Loading...
  1. Sysprep 2nd Time - Similar Threads - Sysprep 2nd

  2. SYSPREP options

    in Windows 10 Gaming
    SYSPREP options: I'm fixing an issue for a customer with two Server 2019 AD servers. After a lot of research I discovered that the DC02 server is a clone of the DC01 server. Just renamed. Yes, right out of a disk duplicator. Not even a clone of windows and sysprepped and each one individually...
  3. SYSPREP options

    in Windows 10 Software and Apps
    SYSPREP options: I'm fixing an issue for a customer with two Server 2019 AD servers. After a lot of research I discovered that the DC02 server is a clone of the DC01 server. Just renamed. Yes, right out of a disk duplicator. Not even a clone of windows and sysprepped and each one individually...
  4. SYSPREP options

    in Windows 10 Installation and Upgrade
    SYSPREP options: I'm fixing an issue for a customer with two Server 2019 AD servers. After a lot of research I discovered that the DC02 server is a clone of the DC01 server. Just renamed. Yes, right out of a disk duplicator. Not even a clone of windows and sysprepped and each one individually...
  5. Unattended Execution of Powershell Script during Sysprep Process

    in Windows 10 Gaming
    Unattended Execution of Powershell Script during Sysprep Process: I'm trying to execute a PowerShell script unattendedly via the Sysprep process using the RunSynchronousCommand in the unattend.xml file, at the specialize phase as Copilot strongly recommended.Despite following this syntax, the script isn't running as expected. Can anyone...
  6. Unattended Execution of Powershell Script during Sysprep Process

    in Windows 10 Software and Apps
    Unattended Execution of Powershell Script during Sysprep Process: I'm trying to execute a PowerShell script unattendedly via the Sysprep process using the RunSynchronousCommand in the unattend.xml file, at the specialize phase as Copilot strongly recommended.Despite following this syntax, the script isn't running as expected. Can anyone...
  7. Unattended Execution of Powershell Script during Sysprep Process

    in Windows 10 Installation and Upgrade
    Unattended Execution of Powershell Script during Sysprep Process: I'm trying to execute a PowerShell script unattendedly via the Sysprep process using the RunSynchronousCommand in the unattend.xml file, at the specialize phase as Copilot strongly recommended.Despite following this syntax, the script isn't running as expected. Can anyone...
  8. Win 11 24H2 Sysprep fails to run to generalize image.

    in Windows 10 Gaming
    Win 11 24H2 Sysprep fails to run to generalize image.: 2025-03-16 21:19:22, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll 2025-03-16 21:19:23, Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666...
  9. Win 11 24H2 Sysprep fails to run to generalize image.

    in Windows 10 Software and Apps
    Win 11 24H2 Sysprep fails to run to generalize image.: 2025-03-16 21:19:22, Info SYSPRP ActionPlatform::LaunchModule: Executing method 'Sysprep_Clean_Opk' from C:\Windows\System32\spopk.dll 2025-03-16 21:19:23, Error pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070666...
  10. Sysprep/OS guest customization does not start on virtual windows 11 machine

    in Windows 10 Software and Apps
    Sysprep/OS guest customization does not start on virtual windows 11 machine: Hello I have created a virtual windows 11 enterprise machine in my vmware environment. The machine works fine, but during cloning, i want to sysprep it or OS guest customization, as it is called in VMware, but nothing happens. The machine is upposed to start up and then...

Users found this page by searching for:

  1. sysprep breaks the hostname in xml file after second time use

    ,
  2. win 10 sysprep a second time