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.