When managing Windows Domain Controllers or domain-joined servers running as virtual machines on VMware ESXi, you may encounter the following issues:
repadmin /showrepl or dcdiag reports RPC server unavailable or Kerberos authentication timeouts between sites.KDC_ERR_S_PRINCIPAL_UNKNOWN or similar.vSphere 7.x
vSphere 8.x
Windows Defender Credential Guard uses virtualization-based security (VBS) to isolate secrets, such as NTLM password hashes and Kerberos Ticket Granting Tickets (TGTs). This feature is enabled by default in Windows 11 (22H2 and newer) and Windows Server 2022/2025.
In certain virtualized network environments (e.g., cross-site links with specific firewall or NSX configurations), the isolation provided by Credential Guard can interfere with legacy RPC calls or specific Kerberos delegation flows required for AD replication.
To resolve these connectivity and replication issues, you must explicitly disable Credential Guard within the Guest OS or at the virtual machine hardware level.
msinfo32.exe).Apply the following registry changes to disable the feature within the Guest OS:
regedit.exe as Administrator.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa and set LsaCfgFlags to 0 (DWORD).HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DeviceGuard and set LsaCfgFlags to 0 (DWORD).⚠️ IMPORTANT: Modifying the registry can cause system instability if performed incorrectly. Always take a snapshot of the VM before proceeding and checking with Microsoft
If the issue persists, you may need to disable Virtualization-Based Security (VBS) in the vSphere settings: