My Profile Photo

luke.geek.nz


An IT Engineer with a love for all things IT including (but not limited to), Microsoft Azure, Automation and Service Management!


How to stop SysPrep from starting

Having issues with sysprep popping up all the time? Follow the instructions below to stop that annoyance from happening.

  1. Click Start
  2. Click Run
  3. Type: regedit
  4. Once the Registry Editor loads, navigate to: HKEY_LOCAL_MACHINESYSTEMSetup
  5. Now to the right you should see some registry entries which you need to edit.
  6. Change AuditInProgress to “0”
  7. Change cmdLine to “setup –newsetup”
  8. Change FactoryPreInstallInProgress to “0”
  9. Change MiniSetupInProgress to “0”
  10. Change SetupType to “0”
  11. Change SystemSetupInProgress to “0”

You are pretty much changing Yes I do want to run SysPrep to No I don’t want to.

  1. Finally, navigate to: HKEY_LOCAL_MACHINEMicrosoftFactory and delete Factory.

You are now safe to delete the SYSPREP folder where it may be (ie C:SYSPREP)

comments powered by Disqus