How to use SysPrep to Generate Unique SID before Cloning

To increase the efficiency of recovering your system, some of you may think of cloning your current system and store it in a portable drive by using the program such as Ghost. If your system crashed, you can easily plug in the portable drive, and recover your system to the state whereby you do not need to spend so much time on installing necessary software or security updates for each of the application. Apparently, this will save you a lot of time.

By preparing a clean operating system image, after you install the necessary software and tools, you will need to perform a system preparation by using a tool called Sysprep. (For Windows Embedded operating system, you will need to use a tool called FBreseal to prepare the system, it is hard to search for on the Internet, and you may download the FBreseal tool from here if you are using Windows Embedded operating system). This step is very important, especially if you would like to clone the same operating system image on multiple machines. If you do not perform system preparation, all the machine that using the same image, will have the same Security Identifier (SID) applied on it. Imagine if everyone in the same town is having the same identity card number, this is ridiculous, and no one will be able to proof themselves. Furthermore, those machines that with the same SID will not be able to join to the domain. From Microsoft system point of view, SID should be unique for every computer device that connected to the Active Directory.

Sysprep is a tool that will regenerate a unique SID for the operating system, and also it will clear off temporary files, and some of the Internet history records on the based image before you clone it. You can always get the Sysprep tool from the Windows operating system CD/DVD media. Normally the tool is located under \Support\ folder or you can actually get this tool from Microsoft official website. Always remember that, Microsoft ONLY support the Windows operating system that clones with using Sysprep (or FBreseal), although there are some other program that provide regenerate SID capabilities such as Altiris agent, again, sorry to tell that, those method are NOT supported by Microsoft.

For those who would like to perform testing using virtualization, you should try to apply system preparation on your image, to avoid SID crash in between virtual images. To use the Sysprep tool, you can just follow the below simple steps:

1. Prepare your operating system and install necessary software on it.
2. Get the Sysprep tool from Microsoft official website.
3. Extract the tool and put it under C:\Sysprep folder.
4. Double click sysprep.exe and then click OK.
5. Click on the Reseal button.

System Preperation Tool (Sysprep)

You can select the option Used Mini-Setup, if you would like to automate the initial setup for the operating system after you deploy the image to a machine. Besides that, you will need to create one sysprep.inf file inside C:\Sysprep folder. This sysprep.inf file will contain some of the setup information and you can refer to below sample content of sysprep.inf.

;SetupMgrTag
[Unattended]
OemSkipEula=Yes
KeepPageFile=1

[GuiUnattended]
AdminPassword=”password”
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=215
OemSkipWelcome=1

[UserData]
ProductKey=XXXX-XXXX-XXXXX-XXXXX-XXXX
FullName=”Testing”
OrgName=”Test Organization”
ComputerName=*

[SetupMgr]
DistFolder=C:\sysprep\i386
DistShare=windist

[Identification]
JoinWorkgroup=WORKGROUP

[Networking]
InstallDefaultComponents=Yes

For the timezone setting, you can just always refer to deploy.chm file for more information.

20 Comments - Write a Comment

  1. Joe 13 years ago
  2. Vik 13 years ago
  3. Juan 14 years ago
  4. paul witherspoon 14 years ago
  5. Rodo 14 years ago
  6. luddy 14 years ago
  7. Rui Paz 14 years ago
  8. SArimin 14 years ago
  9. jasont 14 years ago
  10. Neo 14 years ago
  11. JMJ Squared 14 years ago
  12. Reggie 14 years ago
  13. hanneng 14 years ago
  14. Vanamali 14 years ago
  15. Finer 14 years ago
  16. Rui Paz 14 years ago
  17. miftah 14 years ago
  18. spawn 14 years ago
  19. markchan 14 years ago
  20. MR7 14 years ago

Leave a Reply

Your email address will not be published. Required fields are marked *

Note: Your comment is subject to approval. Read our Terms of Use. If you are seeking additional information on this article, please contact us directly.