You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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 Top-ranking 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

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 Account.