IIS prompts that the RPC server is unavailable

Source: Internet
Author: User

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

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_machinesystemcurrntcontrolsethardware profiles001systemcurrentcontrolsetenumrootlegacy_rpcss

2. hkey_local_machinesystemcurrentcontrolsethardware profilescurrentsystemcurrentcontrolsetenumrootlegacy_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.