Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows Server 2012 Clone modified SID

Shulou Source: shulou.com Published: 2022-06-02 05:23:29 09月15日 Update

Blue screen\black screen after SID change:

Windows Server 2012 R2

Purpose: The SID of cloned systems are the same, so I want to modify the SID number of each system.

Phenomenon: The SID of the cloned systems is the same, so if you want to modify the SID number of each system, you need to run Newsid to update the Sid of the operating system. After running Newsid.exe and restarting, the system will blue screen.

Workaround: Win2008 no longer supports updating the system Sid with Newsid.exe after Sp2 due to changes in the Sid mechanism.

The correct approach is:

1. Command line mode: After starting Windows2008 and entering the system, open the "CMD window" and enter the "C:\windows\system32\sysprep" directory, and then enter "sysprep /generalize /oobe /reboot" to reconfigure SID.

2. Manual operation: sysprep tool is integrated in the system after Win2008. You can find it by searching under C disk. The path is:c:\windows\system32\sysprep\sysprep.exe.

After running this command, it will pop up a pair of frames, system cleaning action "Enter the new system experience (OOBE)", general, boot option "Restart"

After completion, you can use the command to view SID changes

Start---Run--cmd---whoami /user

Previously Win2003 had its own tool sysprep to modify SID, which was not available in server 2012 and would give an error when running.

The same applies to Windows Server 2008.

Tags: Systems runs tools commands blue screens updates operating systems practices brand new methods actions manual instructions methods methods mechanisms environments phenomena picture frames directories Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Apple Shulou Information Docker Redmi