Windows SID needs to be changed after copying a virtual machine directory
search cancel

Windows SID needs to be changed after copying a virtual machine directory

book

Article ID: 310390

calendar_today

Updated On:

Products

VMware Desktop Hypervisor

Issue/Introduction

Symptoms:
  • You cannot log in to an Active Directory domain.
  • Your virtual machine cannot connect to network shared drives.
  • You see this error:

    The name or security ID (SID) of the domain specified is inconsistent with the trust information for that domain


Environment

VMware Workstation 6.x (Windows)
VMware Workstation 11.x (for Linux)
VMware Player 6.x (Windows)
VMware Player 2.x (Linux)
VMware Player 2.x (Windows)
VMware Player 7.x (Windows)
VMware Workstation 7.x (Windows)
VMware Workstation 9.x (Windows)
VMware Workstation 8.x (Windows)
VMware Player 7.x (Linux)
VMware Workstation 8.x (Linux)
VMware Workstation 10.x (Linux)
VMware Workstation Pro 14.x (for Windows)
VMware Player 4.x (Windows)
VMware Workstation Player 14.x (Windows)
VMware Workstation 11.x (for Windows)
VMware Workstation 7.x (Linux)
VMware Workstation 6.x (Linux)
VMware Player 3.x (Windows )
VMware Workstation Pro 12.x (Linux)
VMware Workstation Player 12.x (Windows)
VMware Workstation 10.x (Windows)
VMware Player 3.x (Linux)
VMware Player 4.x (Linux)
VMware Player 5.x (Windows)
VMware Workstation 9.x (Linux)
VMware Player Pro 7.x (Linux)
VMware Workstation Pro 14.x (for Linux)
VMware Workstation Player 14.x (Linux)
VMware Player 5.x (Linux)
VMware Workstation Player 12.x (Linux)
VMware Player 6.x (Linux)
VMware Workstation Pro 12.x (Windows)
VMware Player Pro 7.x (Windows)

Resolution

As per Microsoft Active Directory architecture, every object (users, groups & computers) in the domain has a unique identifier, known as a SID. These SIDs are unique alphanumeric strings that correspond to a single object in the domain. When you copy a virtual machine directory, the resultant virtual machine has the same SID as the original virtual machine. When you try joining this new virtual machine to the same domain where the original virtual machine is, Active Directory sees two machines with a single SID and warns you that there is a SID conflict.

To change a SID, you must use the Windows utility Sysprep (System Preparation Tool). This is the only method that is supported by Microsoft. For more information on using Sysprep, see this Microsoft article: How to Use Sysprep: An Introduction.

Note: Microsoft does not support using NewSID to change a SID. As of November 9th, 2009 NewSID is no longer available for download. For more information, see this Microsoft blog post: NewSID v4.10.

This table lists the Sysprep version for the Windows versions that are supported for Image Customization. Compare the Sysprep version number with the Windows version for which it is intended:

Windows VersionSysprep DirectorySysprep Version
Windows 2000

Download from Microsoft
<directory_path>\2k5.0.2195.2104
Windows XP Pro SP2

Download from Microsoft
<directory_path>\xp5.1.2600.2180
Windows Server 2003 SP1

Download from Microsoft
<directory_path>\svr20035.2.3790.1830 (srv03_sp1_rtm.050324-1447)
Windows Server 2003 SP2

Download from Microsoft
<directory_path>\svr20035.2.3790.3959 (srv03_sp2_rtm.070216-1710)
Windows Server 2003 R2

Download from Microsoft
<directory_path>\svr20035.2.3790.3959 (srv03_sp2_rtm.070216-1710)
Windows Server 2003 x64

Download from Microsoft
<directory_path>\svr2003-645.2.3790.3959 (srv03_sp2_rtm.070216-1710)
Windows XP x64

Download from Microsoft
<directory_path>\xp-645.2.3790.3959 (srv03_sp2_rtm.070216-1710)
Windows XP Pro SP3

Download from Microsoft
<directory_path>\xp5.1.2600.5512
Windows Vista, Windows Server 2008,
Windows Server 2008 R2, Windows 7, Windows 8 and Windows Server 2012

System Preparation tools are built into the operating system and do not have to be downloaded.

Not Applicable

Not Applicable



Note: The preceding links were correct as of September 5, 2013. If you find a link is broken, provide feedback and a VMware employee will update the link.


Additional Information

For more information on Microsoft's official policy, see Microsoft's Knowledge Base article: 314828 .

For more information about copying virtual machines, see the Workstation help topic Cloning a Virtual Machine.

复制虚拟机目录后,需要更改 Windows SID
仮想マシン ディレクトリをコピーしたら Windows SID を変更する必要がある