Aug 14, 2009

Using SYSPREP.EXE to Change SID in Windows Server 2008 and Vista

I use VMware Workstration to create Virtual machines. Installing operating system for Virtual Machine is boring. I often clone virtual machine. This make virtual machines have same SID that these VMs do not have ability join domain. In previous version of Windows, we can use NewSID tool. This tool can not use in Windows Server 2008 and later. A new tool become candidate is "SYSPREP.EXE" included in Windows Server 2008 that we can use it by type sysprep in RUN dialog, SYSPREP Preparation Tool appear. If you want to create a new SID, remember to CHECK the “Generalize” checkbox

I use VMware Workstration to create Virtual machines. Installing operating system for Virtual Machine is boring. I often clone virtual machine. This make virtual machines have same SID that these VMs do not have ability join domain. In previous version of Windows, we can use NewSID tool. This tool can not use in Windows Server 2008 and later. A new tool become candidate is "SYSPREP.EXE" included in Windows Server 2008 that we can use it by type sysprep in RUN dialog, SYSPREP Preparation Tool appear. If you want to create a new SID, remember to CHECK the “Generalize” checkbox.

During the following reboot a new SID is automatically generated - and you will have to type in your Product/License Key, provide a new Computer Name, select an Administrator Password etc.

7 comments:

  1. Where do I find sysprep.exe?

    ReplyDelete
  2. You type "sysprep" in RUN dialog box. After this, you can see "sysprep.exe" in "C:\Windows\System32\sysprep" directory.

    ReplyDelete
  3. I have a 64 bit windows server 2008 r2 machine and have searched for sysprep.exe and is not found. Any suggestions?

    ReplyDelete
  4. Try to paste this line in Windows Explorer or Run dialog box: %windir%\system32\sysprep. I promise this is location of sysprep.exe

    ReplyDelete
  5. in windows server 2008 r2, sysprep tool is located in this path: c:\windows\system32\sysprep

    ReplyDelete
  6. simple type sysprep in Run command to open Sysprep folder, then enjoy it!

    ReplyDelete
  7. It's very important to check the "Generalize" option. Without the "Generalize" option, "SID" is unchanged. Here is a lab that explains:

    http://www.sysadmit.com/2014/11/windows-sysprep-sid.html

    ReplyDelete

Comment if you have any question. Do not spam

 
Powered by Blogger.