Sunday, August 22, 2010

Disable password expiration on Windows Hyper-V server

Back in April I wrong a quick entry about not being able to use the Hyper-V Remote manager to access the Hyper-V server. I was getting the error “Cannot connect to the RPC service on computer…” because my credentials on the server had expired. Today I finally got around to changing the account security policy on the server to prevent password from expiring. The command is:



  1. Awesome. See, this is how you do it. A direct answer for a specific question. If Microsoft were to answer this same question, the answer would be 4 pages long and would have links to 15 other KB articles.

    Thanks so much!

  2. Awesome. I Agree with Gophergutz. Microsoft would answer this with a 4 pages long article which wouldn't be as clear as your response. That's just what I was looking for a long time. I guess this command applies to every single account created in that server and it affect only to pwd expiration time, not changing anything else about account security policy. I'm right?

  3. Still good, after all these years ;-). Thanks for posting.

  4. Awesome...I search and search and always found extreme long articles and How i change this by modify the Group Policy etc. And here is it...ONE '**** Command.....Awesome XD.....Thanks a lot