Some fool in my company has scrapped the page with the root password for our hyper-v server.
Fortunately I've saved the password in the Remote Desktop Connection, so I'm able to connect remotely. How can we restore the password without forcing a reboot?
I know this is an old question, but I had this same problem and I was trying to find a way to fix it, I find this question here, While I tried to do as the chosen answer in here, I Could not find the mentioned parts.
So I asked the server administrator and he told me this way:
Write in cmd :
Where administrator is the name of the user and password is the password u want to set.
Worked Perfectly in a sec !
Hope it help for the next person with this problem :D
If this is a local user account then go to Server Manager, expand the Configuration node, expand the Local Users and Groups node, select the Users node, right click the user, and select "Set Password", click the Proceed button and proceed to change the password. If this is a domain user account the procedure is the same except you'll perform the procedure from the ADUC console.
If you have the password saved/cached locally, this tool from NirSoft might be useful to you: it should be capable of reading locally saved RDP passwords.
(Full disclosure: I've used several NirSoft tools in the past to get myself out of such accidental lockouts, no other connection to the company)