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, 2014 8:09 PM

[EDIT: FINALLY FIGURED IT OUT! --> It's from hotspotshield. Go to your system preferences, and there should be an icon called "profiles". Click it and click the minus sign next to the hotspotshield certificate, type in your admin password, and the servers will erase from your networks".]

I've never seen these three servers in my networks in the many many years I've been on a macbook. Do you know why they appeared on your computer in the first place, or what they are?


The US Server on mine was called "ancientarmenia.us"


The GB Server on mine was called "jacketmagazine.us"


This last one the JP Server I can't delete because of IPv4... is called "brain photos.us"


Any idea what these are or why they are on our computers?

31 replies
Sort By: 

Jul 4, 2014 1:28 PM in response to da dumb person

I definitely think you just typed something wrong. Before acting as a SuperUser (see below), carefully enter the command again. If both of our spellings of the network service name is correct, you can just cut and past the command I typed below. Leave out the sudo though, unless it returns "Permission denied." Be sure to check the spelling of the network service name.


Wow!! Looks like a dump of every possible command in the networksetup collection. I suspect you either typed something in incorrectly (most likely since it says it can't find the command) or 10.9.3 wants you to act as the root user (SuperUser) for this command. I don't remember if that was true under 10.7 but I don't think it was. Also, if that's the only network service available for a hardware port, you won't be able to remove it this way. If that happens to be the case, see the description at the bottom, which describes the -removenetworkservice command. If that's not the case, and there are other network services on this port, keep going right here.


To act as the root user (SuperUser) and enter the command to delete the network service, enter (I'm assuming my spelling is correct; check it):

sudo networksetup -removenetworkservice "VpnOneClick- l2tp France Ip"

You will get a prompt for Password:

Type in your administrator password. You have to be an administrative user to do this, which, if it's your computer, you should be.

Nothing will happen as you type the password. The cursor won't even move. Then, hit return.

If this works, check by entering: networksetup -listallnetworkservices. If all went well, VpnOneClick- 12tp France Ip should be gone. Quit Terminal. You don't want to be logged in as root for any longer than necessary because all safeguards are gone and you can do a lot of damage by mistake.

sudo stands for SuperUser DO.

This is from the command: man networksetup:

-removenetworkservice networkservice

Use this command to delete a network service <networkservice>. You cannot use this command to delete the last remaining

service for a hardware port. To do so, you use the -setnetworkserviceenabled command.

Reply

Sep 14, 2014 4:41 AM in response to Dhalgren

this is not working for me

RRadmins-MacBook-Air:~ landy$ networksetup -listallnetworkservices

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

Bluetooth DUN 2

Wi-Fi

Thunderbolt Ethernet

Bluetooth PAN

Thunderbolt Bridge

US Server

GB Server

JP Server




i want to remove the US server and gb server ???

Reply

Sep 14, 2014 4:56 AM in response to Francob

AFTER much try i was able to remove 2 of the 3 when i remove the last one i get this error

sh-3.2# networksetup -removenetworkservice JP

(Please note: JP is currently disabled)

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

** Error: The parameters were not valid.

Reply

Oct 11, 2015 8:43 PM in response to Francob

Dahlgren thanks for your prefect terminal process I could remove most of the VPNs but the last one will follow with massage with says

"You cannot remove US VPN (L2TP) because there aren't any other network services on IPv4.

And I can remove the [ US VPN (L2TP) ] ias there anything i can do about it.

Thanks a lot for your time

Reply

Dec 9, 2015 8:20 PM in response to sinafromcanterbury

sinafroncanterbury i had the same problem and i was then was able to fix that problem because it turned out that when i was trying to remove it i removed all the credentials and everything to try and un gray the button. So how i fixed it was i went though the setup process again to put everything back to how it was then once i did that i put in networksetup -removenetworkservice 'Servicename' make sure to put in this exact command just copy and paste it from here the command is everything that is bolded. The only thing you need to change is what is in the single quotes replace what is in side the quotes with the name of the service you are trying to delete. As SAABBOY93 says then it will prompt you to put in admin credentials.


That should fix your problem.


I hope that helps and please let us know if you get that work.

Reply

Mar 1, 2016 10:45 AM in response to Twistan

The other option is to click on the widget (gear next to the grayed-out "-" button. Select Rename Service… and name it to something without ( ) marks in the name - then follow the terminal commands to delete the service as mentioned in the other posts here.

Reply

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$

Reply

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.