When running the VCF Diagnostic Tool on a vCenter Server Appliance (VCSA) 8.0.x that was originally upgraded over the years from vCenter 5.x, you encounter the following symptoms:
--dryrun identifies legacy registry values, but fails during actual execution.Exception: Failed to delete "SPSystemDomainAlias" from [HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]lwregshell fail with error: 40713 - LWREG_ERROR_DELETE_DEFAULT_VALUE_NOT_ALLOWED Delete default value is not allowedVMware vCenter Server 8.0
This issue occurs because legacy SYSTEM-DOMAIN registry keys were imported during an older upgrade (e.g., from vCenter 5.x) but never changed. In the Likewise Registry environment, these keys are flagged as "default values," which prevents the standard deletion commands from executing successfully.
Log in to the vCenter Server Appliance via SSH as root.
Use lwregshell to set the offending keys to an empty value. Example commands:
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainAlias ""
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainBackCompat ""
/opt/likewise/bin/lwregshell set_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainUserAliases ""
After setting the values to empty, proceed to delete the keys. Example commands:
/opt/likewise/bin/lwregshell delete_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainAlias
/opt/likewise/bin/lwregshell delete_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainBackCompat
/opt/likewise/bin/lwregshell delete_value '[HKEY_THIS_MACHINE\Software\VMware\Identity\Configuration]' SPSystemDomainUserAliasesRestart vCenter services or reboot the appliance to ensure changes are applied:
service-control --stop --all && service-control --start --allIf the manual deletion still fails, follow the procedure to export, manually edit (as a text file), and reimport the registry base as described in .