RPC Server Unavailable

Category: Windows

After helping a friend clean up a nasty spyware infestation, we had one remaining problem. Windows would say "RPC Server is Unavailable" when starting up, and also later when trying to print or install new software. Some other things just didn't work, like copy and pasting text, and right-click menus. Here's how I solved the problem and got the RPC server running again...


What's a Remote Procedure Call (RPC)?

RPC Server UnavailableA little background... RPC is an acronym for Remote Procedure Call, and typically is used to allow a program running on one computer to access services on another networked computer. I say "typically" because Microsoft added some of it's own extensions to the standard RPC protocol and deeply intertwined RPC into the inter-process communication of Windows operating system components. So if RPC stops working, lots of other Windows features will fail as well.

In this case, I didn't know if the "RPC Server Unavailable" problem was caused by the malware we had removed, by one of the anti-virus or anti-spyware tools, or something else. No matter, it was broken and my friend wanted me to fix it. I did a bit of poking around on the Web, and found lots of information on RPC. There are some viruses and spyware that try to exploit an RPC server software bug, but we had already applied the fix for that. Another article said that if the RPC server is not running, one can go to Control Panel / Performance and Maintenance / Administrative Tools / Services then double click on the Remote Procedure Call entry and either start the server, or set it to start automatically on system startup.

I tried that, but the Remote Procedure Call entry did not appear in the Services list. There was an entry for Remote Procedure Call Locator, but that's a different service, not related to this problem. When I looked on another computer that was working properly, the RPC entry did show up in the Services list. So I clicked on Properties and learned that the name Windows assigned to this service was RPCSS. This bit of information proved to be an important clue that helped me solve the "RPC Server Unavailable" problem.

Blame the Registry

Windows RegistryI figured that since RPC was missing from the Services list, it probably had something to do with the Windows Registry. The Windows Registry is a hideously complex ball of string, rubber bands, duct tape and bailing wire that's supposed to keep track of Windows system settings, your hardware configuration, user preferences, file associations, system policies, and installed software. It was supposed to be an improvement on the collection of simple text-based INI files that stored Windows configuration settings, but too many pocket protectors got involved in the design and the result was an over-engineered, over-complicated mess that makes Windows much more fragile and harder for users to maintain. I've seen so many cases where the Windows Registry got mucked up by malware or a system crash, that I decided to blame the Registry and ask questions later.

Since I had one working machine and one broken machine, I thought that I might find the problem by comparing Registry entries on the two systems, looking for missing or incorrect keys related to the RPC Server. But where to start? I did find a Microsoft KnowledgeBase article that mentioned a Registry key called HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Rpc, but that key looked fine on the problem machine when I examined it with REGEDIT.

Hack the Registry

So I poked around on my own machine until I found HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RpcSs (remember RPCSS from above?) and noted that this Registry key was missing from the problem machine. I knew from years of thrashing around in the Registry that both HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run and HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services have something to do with the applications and services that are automatically run at system startup time, so this seemed promising.

I exported the RpcSs key from my Registry (using REGEDIT's File/Export feature) and imported it to the other machine (with REGEDIT's File/Import), thinking there was NO way this would solve the problem, but it was worth a shot in the dark. Wonder of wonders, I rebooted and everything was back to normal. The RPC Server showed up in the Services list just like I had hoped, and it was running!

I should add the caveat that mucking about in your Windows Registry can be dangerous, if you're not careful about what you add, delete or modify. So make a backup of your Registry before you do so. The easiest way to backup your Registry is to create a Restore Point using System Restore. See my article on Using System Restore for more help with that.

Got comments on this article? Post them below...




Send this article to a friend.
Jump to the Comments section.
Follow me on Twitter.
Buy Bob a Snickers.
Check out other articles in this category:

Posted by Bob Rankin on August 11, 2006 07:06 PM


Need More Help? Try the AskBobRankin Updates Newsletter. It's Free!

Prev Article:
Cancel Your Credit Card
Send this article to a friend
The Top Twenty
Next Article:
Stock Investing

Link to this article from your site or blog. Just copy and paste from this box:

Related Keywords: Windows   rpc   rpc server   windows registry  

Most recent comments on "RPC Server Unavailable"

(See all 69 comments for this article.)

Posted by:
jinggo
22 Nov 2008

hi..I have a problem. I cannot share my local drive for other computers. The comments is "RPC server is unavailable. The shared resorces was not created at this time". What should I do? thanks.


Posted by:
LL
26 Nov 2008

Just to thank to Justin, his DCOM tip fixed my ATI driver install issue.


Posted by:
Jaye
10 Mar 2009

I had this error on XP when trying to run a merge application. Also, IIS wasn't showing the ASP.Net tab when I looked at web page properties, making my job quite difficult.

Justin's DCOM comment led to fixing my problem. I went to Control Panel-> Administrative Tools-> Component Services. Within this window, I opened Component Services-> Computers-> My Computer-> DCOM Config. An error message appeared saying that an application (that it named) had some information here that wasn't in registry, would I like to add it? I clicked Yes - after this both my problems were fixed.

Thanks for the great information Bob and Justin!


Posted by:
carla
28 Mar 2009

I had a problem on saving picture through net.. When i click on save picture as, RPC server is unavailable is showing up..how can i solve this one...I dont have any idea of this.. I need help =(


Posted by:
friday1700
03 May 2009

Netlimer 2 issue

"I have problem with NetLimiter 2. I got these:

"Windows could not start the NetLimiter on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the service vendor, and refer to service-specific error code 1."

I cant start Netlimiter Service. Everything was OK before. I uninstal it manual and reinstall again, but nothing. When I start netlimiter exe file I get this message: "Couldn't connect to NetLimiter 2 service. The RPC server is not listening." What to do?"

right click My Computer>>manage>>Services and Application>>Services>>Standard tab(bottom left of second window)>>find netlimiter and make it automatic on startup>>start the service

on extended tab>>you might want to check your RPC if its set to automatic(dont really know much about this so i just set it to automatic).


Posted by:
Ammar
24 May 2009

Hello Mr. Bob,
I hope that you understand my problem then help me to fix it;
I have two server 1-DC 2-ISA
when i am try to meke new set of user on ISA to make spesific rule for specific group of users look what is happening :
i am clicking new set of users choose domain then insde domain users sellect the specific users about 6 or 7 users every thing is ok until now but after choosing them and click ok the ISA server stuck (processing) then message appears saying: RPC server is Unvailable ????
So how can i add groupes from domain into ISA to make some rules on specific users ????
Many thanx


Posted by:
ranjith
24 May 2009

Recently I hav reconfigured my DC and from the old workstations when i m try to rejoin the domain, it keeps on giving error " the following error occured joining the domain "so&so" " RPC server is unavailable ---

please help me in this regard


Posted by:
Andy Briggs
28 May 2009

It may interest you to know that I have often come across the "RPC Server Unavailable" error in a rather surprising place: when automating MS Office applications with VBA.

For example, I write some code in an MS Access database which opens MS Word, opens a Word template and then populates the document with Access data. This is fine. But if I then repeat the operation, I get the message "RPC Server Unavailable" and I have to close and re-open Access in order to successfully repeat the operation. It's really annoying, particularly as I am not doing anything with networks.

This happened with MS Office '97 right through to Office 2007. Strange eh?


Posted by:
j0angel
01 Jun 2009

Thank you so much, this was a big help. I would also like to thank all of you that help out the less pc-abled persons...lol...that's me...Thanks to all of you.


Posted by:
prasanthi
02 Jun 2009

Hello Mr. Bob,
Recently i have installed a functional testing tool(open source) WET in my system(XP). After rebooting it is giving the error msg as, "Could not start RPC server. WET will not work as expected. If there are stale ruby processes please kill them manually / restart your system and try!".
I checked RpcSs key in Services from Regedit and its fine. How to track if the prob is with regarding to Ruby????
please help me in this regard.


There's more reader feedback... See all 69 comments for this article.

Post your Comments, Questions or Suggestions

*     *     (* = Required field)

    (Your email address will not be published)
(you may use HTML tags for style)

YES... spelling, punctuation, grammar and proper use of UPPER/lower case are important! And please limit your remarks to 3-4 paragraphs. If you want to see your comment posted, pay attention to these items.

All comments are previewed, and may be edited before posting.

NOTE: Please, post comments on this article ONLY.
If you want to ask a question click here.


Ask Bob Rankin Home Page
RSS   Add to My Yahoo!   Subscribe in NewsGator Online   Feedburner Feed
Subscribe to AskBobRankin Updates: Free Newsletter
Copyright © 2005 - Bob Rankin - All Rights Reserved


Article information: AskBobRankin -- RPC Server Unavailable (Posted: August 11, 2006 07:06 PM)
Printed from: http://askbobrankin.com/rpc_server_unavailable.html
Copyright © 2005 - Bob Rankin - All Rights Reserved