How to change a SID in Windows 2008 R2

If you are building a homelab called LAB in a BOX and using VMware workstation as a virtualization software be aware that after a CLONE operation of Windows VM you must change a SID of new server.

How to do it? Quick guide below.

  • Log in to Windows VM from Start Menu –> Run –> type sysprep
  • From an explorer window run a sysprep application
  • If you want to change SID make sure you choose Enter System Out-of_box Experience and box next to Generalize option is marked. From shutdown option choose reboot

  • Within next few minutes VM will get reboot

  • After reboot and you will be prompted to specify regional settings, accept EULA and click Next. Sysprep will complete customization.


[box type=”info”]

Useful links:


Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).

  • Denis

    i had another problem with sysprep , when i tried to customize machine from template on ESXi – customization was not successeful (syspreped the machine more then 3 times), i got this message “Date Time, Error [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn’t update the recorded state, dwRet = 31” in event log, so instead of creating new master image you can just change few keys in registry



    * msdtc -uninstall
    * msdtc -install
    * Reboot
    * Check the registry for the right registry keys values sysprep with the new XML answerfile.

    • Thanks for your comment Denis