Remove Windows VPN Complete

I’m trying to completely remove the Windows VPN server from my Windows Server, including all related services. I’ve already taken the following steps:

  1. Disabled the “Routing and Remote Access” service
  2. Removed the “Remote Access” feature using Server Manager

However, I’m still unable to share an internet connection on my network adapter. When I try to enable Internet Connection Sharing (ICS), I get the following error message:"Internet Connection Sharing cannot be enabled because routing and remote access has been enabled on this computer."I’m at a loss as to what else I need to do to fully remove the VPN server and its components. Has anyone encountered this issue before? What additional steps should I take to resolve this and successfully enable Internet Connection Sharing?Any help or guidance would be greatly appreciated!TeilenUmschreiben

Normal you have to configure / activate Routing and RAS in the MMC Console, there you can deactivate it also

Powershell:

Uninstall-RemoteAccess

To use Internet Connection Sharing (ICS), you need: a computer with a working internet connection, at least two network adapters (one connected to the internet and one to share the connection), and a properly configured network with TCP/IP settings; essentially, the computer needs to be able to access the internet itself and then share that connection with other devices via a second network adapter, usually through a wired or wireless connection.

Netsh int ip reset
Netsh winsock reset

Run that in an elevated command prompt then reboot

Thanks for your quick reply. the selection for “disable” is also grayed out for me, so I assume that it is already switched off. Do you think I can try deleting it?


Role is removed.

deleting it doesn’t work either, it still remains. i assume that some service still needs to be terminated or deactivated. however, i can’t find anything.

I don’t know if you have a configuration listed there,if yes, delete it
And if that still not work look for the powershell commands to check and configure that service