• Bare Metal Server

bms
  1. Help Center
  2. Bare Metal Server
  3. Private Image Creation Guide (BMS)
  4. Creating a Windows Image
  5. Configuring the SID

Configuring the SID

A Security Identifier (SID) is a unique value that identifies a user, group, or computer account.

NOTE:

Currently, only Windows Server 2016 requires SID during image creation. For how to configure a SID for Windows Server 2012, see the Bare Metal Server User Guide.

  1. Modify the Cloudbase-Init configuration files.
    1. Open the cloudbase-init.conf and cloudbase-init-unattend.con files in the C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf directory.
    2. Add first_logon_behaviour=no to both files.
      [DEFAULT]
      username=Administrator
      groups=Administrators
      first_logon_behaviour=no
      netbios_host_name_compatibility=false
      metadata_services=cloudbaseinit.metadata.services.httpser
      inject_user_password=true
      ...
    3. Delete cloudbaseinit.plugins.common.sethostname.SetHostNamePlugin from the cloudbase-init-unattend.conf file.

  2. Open the CLI and enter the following command to open the Sysprep window:
    C:\Program Files\Cloudbase Solutions\Cloudbase-Init\conf>C:\Windows\System32\Sysprep\sysprep.exe /unattend:Unattend.xml
  3. Configure the parameters shown in the following figure.