A Security Identifier (SID) is a unique value that identifies a user, group, or computer account (administrator account). When an account is created for the first time, a unique SID is assigned to each account on the network. A SID is determined by the computer name, current time, and CPU use time of the current user-mode thread.
A complete SID contains:
An example SID is S-1-5-21-287469276-4015456986-3235239863-500.
S |
1 |
5 |
21-287469276-4015456986-3235239863 |
500 |
The string is a SID. |
SID version |
SID authority, which is NT in this example |
SID sub-authorities |
Accounts and groups in the domain |
Currently, all the Windows Server 2012 BMSs have the same SID. In the cluster deployment scenario, you need to change the SID of the BMSs to ensure that each BMS uses a unique SID.
in the lower left corner, choose Windows PowerShell, and run the whoami /user command to query the SID.
File directory: C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf
[DEFAULT] username=Administrator groups=Administrators first_logon_behaviour=no netbios_host_name_compatibility=false metadata_services=cloudbaseinit.metadata.services.httpser inject_user_password=true ...

C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf> C:\Windows\System32\Sysprep\sysprep.exe /unattend:Unattend.xml


As shown in the preceding figure, the SID has been changed successfully.