Information
Offers routing services to businesses in local area and wide area network environments.
The recommended state for this setting is: Disabled
This service's main purpose is to provide Windows router functionality - this is not an appropriate use of workstations in an enterprise managed environment.
Solution
To establish the recommended configuration, set the following Custom Configuration Policy to 4 :
Name: <Enter name>
Description: <Enter Description>
OMA-URI: ./Device/Vendor/MSFT/Policy/Config/SystemServices/ConfigureRoutingAndRemoteAccessServiceStartupMode
Data Type: Integer
Value: 4
Note: As of January 2024, despite its inclusion in Microsoft's official documentation, using an OMI-URI to configure a Windows Service Startup Mode via a custom profile will lead to an error in Intune. This error will be logged in the local event log as 'The system cannot find the file specified.' Currently, the most reliable method for remediation is through PowerShell.
The recommended configuration can also be established via PowerShell by running the following cmdlet:
Set-Service -Name RemoteAccess -StartupType Disabled
Impact:
The computer will not be able to be configured as a Windows router between different connections.