How to remove a VPN profile on a MDM enrolled macOS

Restoring from a Time Machine backup can create duplicate MDM VPN profiles.


### To manually remove a profile on your macOS, follow these steps:

* Go to System Preferences and select Profiles.
* Delete the VPN profile, and enter the user password if requested.
* Then, go to Network Connections.
* If you see any connections which start with or include “VPN”, delete them.

### Note
If the Button isn’t available,you have to use a terminal command to remove it. Open the integrated Terminal and type 

```networksetup -removenetworkservice "duplicateVPNProfile"```

Zeno Popovici
26 May 2021
« Back to post