When logging into the ESXi Host Client with the root account, you experience the following symptoms:
Unable to connect to the MKS; A specified parameter was not correct: ticketType./ui/#/host/manage/security/users shows an empty list.root password.Host profile apply failed with error: Cannot remove last local user with full administrative privileges./var/log/hostd.log may report vim.fault.NoPermission messagesThis issue occurs when the local root account permission role is altered from Administrator to Read-Only in the host's ConfigStore. This is typically triggered by a Lockdown Mode cycle (enabling and then immediately disabling Lockdown Mode), where the exit process fails to restore the default Administrator permission to the root account.
Because root lacks the Administrator role:
ticketType error occurs because the session lacks the VirtualMachine.Interact.ConsoleInteract privilege, causing the backend to pass an invalid parameter to the VMRC client.CIMAdmin) is currently the only account holding Administrator rights. Applying the profile would overwrite this user, leaving the host with zero administrators, triggering the ESXi safety block.To resolve this issue, you must use an alternate local ESXi account that retains Administrator privileges (such as a custom admin or a service account like CIMAdmin) to restore the root account's permissions.
CIMAdmin).root user in the permissions list. It will likely show a role of Read-Only.root user and click Assign role. Change the assigned role to Administrator. (If root is missing entirely, click Add user, type root, and assign the Administrator role).root. The Manage tab, VM actions, and VMRC console access will be restored.If no alternate local administrative account exists, the permissions must be restored via the command line or a reinstall:
cp /etc/vmware/hostd/authorization.xml.default /etc/vmware/hostd/authorization.xml/etc/init.d/hostd restart.