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...



The Hot List!
Check out this week's
most popular articles.

Recommended Downloads Check out these
FREE trial downloads


RoboForm memorizes and securely stores all your passwords. Enjoy one-click logins, complete checkout forms with one click. This is one program I use all day, every day!




Slow computer? Diskeeper 2010 means a clean disk, unprecedented speed and reliable efficiency! Download the free trial and see what a difference it makes for you.

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...


Need more tech support?

Search for help with computers, gadgets,
or the Internet!

 

  Search For Tech Help

Send via Email Make a Comment
Follow me on Twitter Buy Bob a Snickers
Save as Favorite Send to Printer

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 80 comments for this article.)

Posted by:

zoe
18 Jul 2009

Hi, Bob.
I was installing some software when I encountered the error message:

"The InstallShield Engine (iKernel.exe) could not be launched. The RPC server is unavailable."

1.) First, I went to my services and viewed the settings on the RPC service. The service was on automatic and started, however all further options of "Start, Stop, Pause, Resume, and Restart" weren't allowed.
2.) I installed the latest version of InstallShield to my computer, but it didn't help.
3.)Lastly, I decided to try the common solution of where you go to Component Services-> Computers-> My Computer-> DCOM Config. However, once I click on "Computers," the screen closes. It also shows no item called "My Computer" below it. Please help me?


Posted by:

Jim
22 Aug 2009

My problem is similar but different.

For no apparent reason, my system spontaneously changed the designation of the external hard drive on my XP Pro machine from 'F:\' to 'H:\'.

I went to the Computer Management console to change it back. Can't open the Disk Management dialog--"RPC server is unavailable"

RPC is, in fact, running as a service. I thought it might help to shut it down and restart. Can't shut it down. Can't restart. Windows says that it's an essential service, and Windows won't run without it. (In view of which, I'm a little puzzled by your story, in which you say there was no RPC service on your machine. But why would remote procedures be essential, anyway?)

In any case, Windows says its unavailable, and it won't let me manage disks--even local ones.

What do you make of that?


Posted by:

dishank
26 Aug 2009

i have both entries(rpc)in services and ther are started and automatic.

but still i am getting error RPC server is not available


Posted by:

JediKnightBoB
02 Sep 2009

Good article, but I disagree with the last point. System Restore is just a convenient way to hid Virii and etc. from Anti-malware products. You can use Regedit's FILE>EXPORT feature to make a very small backup of the whole registry, and just save it in a folder somewhere. I take a registry backup every month and keep 1 years worth in a folder. It's a good way to restore something if it gets corrupted in the nightmare that is Windows' Registry.


Posted by:

damirski
18 Sep 2009

Hello Mr. Bob,
i need to ask you something reacently itried to install some printer on frend compyuter and i got message tht the rpc server is unavaleble i tried your solutions andididn't secsided canyou tell me what istheproblem andcanit be hardwere problem not softvere


Posted by:

Sam
19 Sep 2009

Mr. Bob,

My time and date do not stay updated and I can not install a printer. I get the "RPC server is not available" error message. I went into control panel > admin tools > services. I can see my RPC and I can also double click on it to open the properties box. It's status is "started" and startup type is "automatic." Now what do you think I should do?

EDITOR'S NOTE: Sounds like the battery on the motherboard needs to be replaced. As for the RPC problem, did you try the solution I suggested in this article?


Posted by:

Lee Hawkins-Wood
24 Sep 2009

Hello mate,

I've looked and my pc does have the reg rpcss.
I also have the RPC service which is set to auto.
I've been doing some digging on the net and found that some people have resolved this by turning on the "server" service, done but still no joy with me.
Another issue with it is the dependencies tab is empty on all services.
Pain in the arse..
I'm starting to think that this isn't fixable without a windows re-install....


Posted by:

Jemy
09 Oct 2009

Thanks Man ....U R Superive ;)


Posted by:

Rahul
03 Nov 2009

Hi Bob, I am facing a strange issue related to RPC. When i try to remotely log onto my system, i get the error 'RPC Server unavailable.' When i restart the system, i able to logon remotely.

What can be issue here ? Is this a virus ? The IT guys in my company think it is and the only solution they have is to format it and reinstall Widnows again.

EDITOR'S NOTE: A virus that's only active part time? I tend to doubt that. You might want to try a "repair install" instead of a full format. Boot from the Windows installation CD, and select Repair Install.


Posted by:

Elle
19 Nov 2009

Hi -- I had a problem with RPC server unavailable and print spooler unavailable. I read your article -went into admin.tools opened service file -turned on print spooler and turned on RPC - printer worked.

Elle


There's more reader feedback... See all 80 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