Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Cannot delete VPN Profile

Hi to all, I'm having a problem on my macbook pro munting Lion.


I installed a new VPN profile to connect to a MacMini Server on System Preferences > Network, and I found there an old VPN profile that I don't want to use anymore. I tried to disable the service, but the delete button is greyed out, even if this service is active.


How can I remove this old VPN Profile?


Thanks in advance,


User uploaded file

Posted on Mar 25, 2012 5:20 AM

Reply
Question marked as Best reply

Posted on Nov 12, 2012 4:18 PM

I think I have an easier solution, at least in 10.8.2. I, too, had a VPN configuration that would not go away; the - button was grayed out. Here's what I did, though only step 2 is mandatory.


  1. In Terminal: networksetup -listallnetworkservices
  2. In Terminal: networksetup -removenetworkservice networkservice
  3. In Terminal: networksetup -listallnetworkservices


The first step shows you the names of your networkservices, like "old." The second step removes the network service. Be sure to spell the one you want to remove exactly as it's listed in the results of the first step. The third step confirms it is gone. Only Terminal is required, no XCode. The .plist will automatically update; no need to copy or delete. The remove command bypasses the GUI and removes the service whether or not the - button is grayed out.


Hope this helps. If you run man networkservices you will see many other Terminal commands that maniupulate items in the Network preference pane.

31 replies

Mar 4, 2016 12:10 AM in response to boxav8r

Yo its not working the original is called VPN Unlimited i renamed it still not working



VPN Unlimited (Streaming, PPTP)

Elberts-MacBook-Pro:~ Elbert$ networksetup -listallnetworkservices

An asterisk (*) denotes that a network service is disabled.

Wi-Fi

Bluetooth PAN

Thunderbolt Bridge

meme

Elberts-MacBook-Pro:~ Elbert$ networksetup -removenetworkservice 'meme'

You cannot remove meme because there aren't any other network services on IPv4.

** Error: The parameters were not valid.

Elberts-MacBook-Pro:~ Elbert$ networksetup -removenetworkservice "meme"

You cannot remove meme because there aren't any other network services on IPv4.

** Error: The parameters were not valid.

Elberts-MacBook-Pro:~ Elbert$ networksetup -removenetworkservice [meme]

[meme] is not a recognized network service.

[meme] is not a valid network service name.

** Error: The parameters were not valid.

Elberts-MacBook-Pro:~ Elbert$

Cannot delete VPN Profile

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.