Sysprep - Generalize - SID
I create millions and billions of Virtual Machines - ok, maybe not that many but it feels like it. Everytime I have copied the physical files (VHD/VMC) a number of things must be done if I want to join those virtual machines to my domain(s) - most importantly: the machines SID (Security ID) must be re-generated to be unique and the computer must be renamed of course.
So, heres the thing. Back in the good old days you had to find the Windows CD, find and extract the Deploy.CAB file to you hard drive and then execute the SYSPREP.EXE tool. But, with Windows Vista and Windows Server 2008 the SYSPREP file(s) can be found below:
%WINDIR%\System32\Sysprep - ready “out of the box”, just waiting for you to go for it!
And this is the important thing (and the reason why I started this blog): If you want to create a new SID, remember to CHECK the “Generalize” checkbox - or else you have to go all over again…
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.
You may have known this already - personally I didn’t because I tend to use the wonderful Sysinternal NewSID tool for this purpose in most cases (it’s much faster)… However, that tool is not officially supported for Windows Server 2008 (or even Vista) at this time - but hopefully it will be soon?
_
Popularity: 3%
Written by Jakob H. Heidelberg. Read more great feeds at is source WEBSITE
4 comments.
Read more articles on generalize and sysprep and newsid and security id and sid and Virtualization and vista and Windows Server 2008 and Windows Vista.
- [+] Digg: Feature this article
- [+] Del.icio.us: Bookmark this article
- [+] Furl: Bookmark this article
















#1. August 12th, 2008, at 1:12 PM.
I prepared a VM, joined a domain and added the user on the domain to the Admin group, login as the user i just added to the admin group Installed everything i want on the VM and Syspreped it the way it is mentioned above. After it reboot and I provide everything, the domin i joined is no more there, instead it is there as a workgroup, I want to have this domain user to be active after syspreping so that users could log in using that not the Admin, any idea how?