DavidOverton.com
This site is my way to share my views and general business and IT information with you about Microsoft, IT solutions for ISVs, technologists and businesses, large and small.  
Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.

[updated with net accounts command 20/2/2009]

This can help diagnose and resolve the issue if like me, it was running fine and then it suddenly stops about 4-5 weeks after it all got started.  My initial thought was that some update had changed things as the blog post here documented the initial setup where the same error was seen.  The error once again looked like this:

hyper-v manager can't see hyper-v again

However checking all the same firewall and other settings revealed nothing.  Finally I discovered that the user I had created had a password setting that meant the password had expired.  Simple, yet checking from the command line is a right royal pain.  To fix, these were the commands I used:

net user <username> “<new or existing passsword>” /active:yes /expires:never /passwordchg:no

net accounts /maxpwage:unlimited 

Simple, yet the cause of so much time trying to fix.

 

Hopefully this will solve it for you too.

 

Thanks


David

Technorati Tags: , , , ,

Posted Sun, Dec 21 2008 9:47 PM by David Overton

Comments

David B wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Tue, Jan 20 2009 11:59 PM

I am thankful to be subscribed to your blog. I did not have time to record this entry when I first read it a month ago. But my Hyper-V Manager and Computer Management stopped working today after about a month...

Your Hyper-V entries have saved considerable time and frustration.  Thanks.

Dana wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Sun, Feb 8 2009 10:06 AM

Thanks a l lot for your solution..

I just want to know how you find out this sol?

i mean you deoended on what to reach it?

cheers,

Dana

Roger Lipscombe wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Sun, Feb 22 2009 5:49 PM

I was confronted with this error this evening. This fixed it, thanks!

Oliver wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Wed, Mar 18 2009 4:40 AM

Thank you! I was checking all my firewall settings, and considering rebooting the hyper-v servers for updates. The error message for this problem is fairly useless.

Barrote wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Mon, Jun 15 2009 12:16 PM

You're the Man!

Thanks a lot you just solved my problem :)

Joel wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Tue, Jun 23 2009 4:06 PM

Thank you for saving a headache!

Justin wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Thu, Sep 3 2009 11:01 PM

Wow, amazing. I've been working on this headache probably 5 hours now here and there... This fixed it! I thought something with my settings got messed up; turns out it was just the account

Ali wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Fri, Oct 23 2009 3:37 PM

outstanding

Did no my Hyper-V Server 2008 R2 and not seeing the issue any more  

Bernieboy wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Tue, Dec 22 2009 7:45 PM

Same error here, thx for the hint

Ole Martin wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Thu, Apr 15 2010 4:09 PM

Thanx a bunch! Running several hyper-v servers, and they went out one by one, but this fixed it!!!

Uncle Andrew wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Thu, Oct 21 2010 4:29 PM

Like everyone else here, I thank you for taking the time to post this solution. You saved me much hair-out-pullment.

Ayaz wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Thu, Feb 3 2011 2:28 PM

After wasting all of my morning on RPC error i found this

Thanks for this blog

FrancoisV wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Tue, Mar 29 2011 2:25 PM

Thank you, it worked.

:)

Tomas wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Wed, Aug 31 2011 7:01 PM

Worked like a charm!!! you really have to use this commands!!

Jenny Jackson wrote re: Hyper-V Management console stops working after a month or so with error “Cannot connect to the RPC service on Computer ‘xxx’. Make sure your RPC service is running.
on Sat, Oct 1 2011 10:55 PM

very powerful update blog about hyper-v if any person want read article about Hyper-v installation & introduction read must very informative with step by step instuctions. www.hypervhd.com/.../hyper-v-introduction-installation-t1411.html

(c)David Overton 2006-23