When you start the Routing and Remote Access service (RRAS) via the Services MMC on your Windows 10 computer, you may encounter the error code 2 (which means a missing file). Here is the full error message verbatim:
Error 2: The system cannot find the file specified.
The Event Viewer shows this error:
Log Name: System Source: Service Control Manager Date: Event ID: 7023 Task Category: None Level: Error Keywords: Classic User: N/A Computer: DESKTOP-JKJ4G5Q Description: The Routing and Remote Access service terminated with the following error: The system cannot find the file specified.
This post tells you how to fix the RRAS service startup error.
Fix “Error 2” Routing and Remote Access Service Could not Start
Follow these steps to fix the Routing and Remote Access Service error.
- Right-click Start, and click Run.
regedit.exeand click OK. This opens the Registry Editor.
- In the Registry Editor window, go to the following branch:
- In the right-pane, create an expandable string value (
ServiceDLL(if the value doesn’t already exist.)
ServiceDLLand set its data as follows:
- Exit the Registry Editor.
You should be able to start the Routing and Remote Access Service successfully.
If that doesn’t help, repair Windows system files using DISM and then follow up with the System File Checker. See article Repair Windows 10 Using DISM and the System File Checker for detailed information on the topic.
That’s it! This should resolve Routing and Remote Access Service error 2 on your Windows 10 computer.
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in Windows — delivering support for Microsoft's consumer products. He has been a Microsoft MVP (2003-2012) who contributes to various Windows support forums.