Most probable reason: you entered the password while assuming that the webinterface uses your regular keyboard layout when it actually uses US-layout.
Try to enter the password like you would do it with US-layout - or the other way round.
Hi Continuum ,
In the Esxi web interface I don't see any possibility to change the keyboard layout, in any case I am logged in at this moment with another user who has administrator privileges, and when I change the root password I get the message that the password has been changed correctly, but it does not let me log in with the root user as it says that the credentials are wrong.
I did not mean that you should change the keyboard layout - that option is not available as far as I know.
My admin host for example uses german keyboard layout. In german and US-layout the letters Y and Z are exchanged.
So if I thought my root password was set to ZZZ123456 I would try YYY123456 instead.
In case you use a non US-keyboard layout - google for a US-keyboard map and check if you need to exchange characters.
Just check it - this is by far the most probable - and harmless reason for your problem !
I have had a similar issue with my systems as well sometimes. For me I found leaving the system a while to allow it to propagate the change to all of the relevant services was the trick for me.
If that doesn't work, then I guess you only have a few options left to you. If you are running above 5.5 you wont be able to recover your password. 5.5 and below there is a KB on how to reset the password.
In the mean time though before you do anything else, plug a monitor and keyboard into the ESXi host and try both the old and new passwords at the root console. If the new password works then it's just a case of waiting for the system to refresh its self. Which is what I typically have to do sometimes, I typically try the next day. If either passwords fail then you going to have to re-install just the ESXi software onto the host. Lucky to can do this without having to wipe your datastore.
Massive pain in the backside, to have to re-install and set things back up but the only resort, which I have had to do.
Hi All ,
I inform you that I managed to solve the problem by resetting the password directly from the terminal via the KVM and then restarting the Management services, thanks to everyone for the help.
另一种方案就是通过SSH连接到ESXi camand-line 模式，手动启动或重启相关服务。可能会解决这个问题。
just wait 。