how to change forgotten esxi root password?
Once you have logged in to the ESXi host whose password you have forgotten, you can reset the password for the root user. Go to Manage > Security & Users > Users, select root and click the edit icon.