Disable Routing and Remote Access (RemoteAccess) with PowerShell

Routing and Remote Access (RemoteAccess) is a Windows service that provides network routing and remote access capabilities. It allows computers to act as routers, providing network connectivity between different networks, and enables remote users to access the network resources of a private network over a public network such as the Internet.

 

To disable it with PowerShell:

Stop-Service RemoteAccess
Set-Service RemoteAccess -StartupType Disabled

 

To check the state with PowerShell:

Get-Service RemoteAccess | fl Name, DisplayName, Status, StartType

Leave a comment

Your email address will not be published. Required fields are marked *

fifteen − 8 =