Virtualization

How do I change the SID and computer name of a cloned virtual machine?

In this post, Steven Warren will show you how to create a new SID and change the computer name of a cloned virtual machine.

 

In my daily life, I couldn't imagine not having VMware Workstation to create labs or test case scenarios. On many occasions, I clone a vm in minutes to test something, but I often find that the SID remains the same. A simple utility exists that enables you to quickly change the SID and the computer name of a cloned virtual machine.

The utility is called NewSID v4.10 and is available for download free of charge.

image

Figure A
After you download the application, extract the file (Figure A) to a drive and open a command prompt. Next, browse to the applicable directory (Figure B and Figure C).

image

Figure B

image

Figure C
Next, run the auto option (Listing A) to create a new SID and rename the computer. It takes a few minutes for the process to complete and the computer to reboot (Figure C). When you log in to the computer again, the SID is brand new and the computer (Figure D) is automatically renamed.

newsid.exe /a [newcomputername]

Listing A

image

Figure D
9 comments
unissani
unissani

The NEWSID download from Microsoft is NOT there...! You can download DUPLICATE SID CHANGER from Smart-X.Com - duplicate SID changer

inorbital
inorbital

Any helpful links on Vista with regard to changing SID? NewSID hasn't worked in the past.

jaguar11735
jaguar11735

Why not just use Microsoft's Sysprep utility?

BlazNT2
BlazNT2

SID is tied to the computer name. If you change the name it changes the SID. Nothing special to do at all.

jwilsonjx
jwilsonjx

If you are already cloning the system, just spend the extra few minutes and Sysprep it. This will automate the process of changing the SID... not to mention give you some additional options in the process.

brent.young
brent.young

The first paragraph of the 'The SID Duplication Problem' section reads: Note that just changing the computer name or adding the computer to a different domain does not change the computer SID. Changing the name or domain only changes the domain SID if the computer was previously associated with a domain. So were you referring to the domain SID and not the computer SID?

imsoscareed
imsoscareed

He wants to change the SID on a virtual machine, not on an image. SYSPREP is overkill for that process.

Editor's Picks