IIS solution for RPC server not available

  
                  

If you are running IIS and also encounter the "RPC server is unavailable" fault prompt, try our methods below.

Click “Administrative Tools→Services→Remote Procedure Call→Properties”, the default startup category is “Auto”, but the option is gray (unavailable status), click the tab “Login” to configure the hardware. The file service is disabled and the system is rebooted.

Method 1: Modify the registry

Run the registry editor, open the HKEY_LOCAL_MACHINEsystemCurrentControl-SetServicesRpcSs branch, and change the value of the Start item from "4" to "2", that is, set the startup type. To automate, reboot the system.

Method 2: Use the "SC" command

to enter the "Command Prompt" window, type "sc config RpcSs start=auto" command, the system will display "SC ChangeServiceConfig SUCCESS", so The RPC service can be successfully enabled.

Method 3: Using the Recovery Console

Take the Windows 2003 system as an example, use the installation CD to boot, the system enters the Windows 2003 installation interface, press the “R” key to log in to the recovery. Console. In the Recovery Console, type the "enable RpcSs service_auto_start" command, then type the "exit" command to restart the system and log in in normal mode to successfully enable the RPC service.

The author used the above methods is not successful, it seems that only to solve it yourself. I think some key values ​​in the registry must be changed in order to be enabled.

Restore the backup registry before disabling to the disabled registry, the prompt can not be imported, not successful. Unable to enable.

Convert the contents of the two registers before and after disabling (take only the HKEY_LOCAL_MACHINESYSTEM branch) into a Word document, and then use the "Compare and merge documents" function in Word to automatically find two registration forms. The difference. I have analyzed and found that the following branches are in the disabled registry:

1.HKEY_LOCAL_MACHINE\\SYSTEM\\CurrntControlSet\\Hardware Profiles\\0001\\System\\CurrentControlSet\\Enum\\ROOT\\LEGACY_RPCSS

2. HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Hardware Profiles\\Current\\System\\CurrentControlSet\\Enum\\ROOT\\LEGACY_RPCSS

There are no above two branches in the registry before disabling. Through further operations, it was found that the RPC service can be restarted by deleting the first branch.

The above three methods can only be applied to the case where the RPC service startup type is changed to prohibited. The author closes the RPC service instead of changing the startup type, but prohibits the hardware profile service associated with it. The value of the "Start" item is still "2" and has not changed. Therefore, the hardware profile service must be enabled before the RPC service can be enabled.

Copyright © Windows knowledge All Rights Reserved