'Rpc server unavailable 'Solution

Source: Internet
Author: User

My original question: "I am a LAN user and recently I don't know who is doing things on my machine. My question is:
At the beginning, the local connection was lost. Previously, it was displayed on the taskbar, and right-click "Network Neighbor". The attribute is blank (may be hidden), and a new connection is created, only "Dial-to-dedicated network" and "Access incoming connections" are available. The other three items are unavailable, but the problem is getting worse and worse, the "file" drop-down menu in the title bar of the network neighbor is gray. Why !!!
My machine is unlikely to be a virus, but it may be man-made damage !!!
The paste operation is unavailable !!! "
Now the problem is solved!
The RPC service is unavailable !!!
I found the answer to the question today to share the information !!!

The server in our school often prompts that the host was attacked by using the RPC vulnerability. To ensure the security of the server, I disabled the RPC service. Although the attack is lost, the problem also arises. Many system services dependent on the RPC service cannot run normally, such as the messenger and Windows Installer services. The main symptoms are: Windows Startup takes a long time; after the window is minimized, it is not displayed in the status bar; it cannot be copied or pasted; the second-level web page cannot be opened; the RPC service property page cannot be found, and so on. I want to re-enable the RPC service with a weekly discount.

My closing method is to choose "Administrative Tools> services> Remote Procedure Call> Properties". The default start category is "automatic", but the options are gray (unavailable ), click "Log on" to disable the hardware configuration file service and restart the system.

I checked a lot of information on the Internet and found out three ways to enable it:

Method 1: Modify the Registry

Run registry editor, open the HKEY_LOCAL_MACHINEsystemCurrentControl-SetServicesRpcSs branch, change the value of the Start entry from 4 to 2, set the Startup Type to automatic, and restart the system.

Method 2: run the "SC" command

In the "command prompt" window, type the "SC config RPCSS start = auto" command, and the system displays "SC changeserviceconfig success", so that the RPC service can be successfully enabled.

Method 3: Use the fault recovery console

Take Windows 2003 as an example. Start with the installation disc. Go to the Windows 2003 installation page and press the "r" key to log on to the fault recovery console. In the fault recovery console, type the "enable RPCSS service_auto_start" command, and then type the "exit" command to restart the system and log on to the system in normal mode to enable the RPC service.

I fail to use the above methods. It seems that I have to solve it myself. I think some key values in the registry must be changed to enable this function.
Restore the backup registry to the disabled registry. The system prompts that the registry cannot be imported and cannot be imported. Cannot be enabled.

Convert the content of the two registries before and after being disabled (only the hkey_local_machinesystem branch is used) into Word documents, and then use the "compare and merge documents" function in word, you can automatically find the differences between the two registries. Through comparative analysis, I found that the disabled Registry has the following branches:

1. HKEY_LOCAL_MACHINESYSTEMCurr-entControlSetHardwareProfiles001SystemCurrentControlSetEnumROOTLEGACY_RPCSS

2. HKEY_LOCAL_MACHINESYSTEMCurr-entControlSetHardwareProfilesCurrentSystemCurrentControlSetEnumROOTLEGACY_RPCSS

The registry does not have the preceding two branches. Through further operations, we can find that the RPC service can be restarted as long as 1st branches are deleted.

The preceding three methods can only be used when the RPC Service Startup type is changed to disabled. I disabled the RPC service instead of changing the Startup type. Instead, I disabled the hardware configuration file service associated with the service. The value of the "Start" item is still "2" and has not changed. Therefore, you must first enable the hardware configuration file service to enable the RPC service.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.