Solved

Delete Dial-up connection via script or CLI

Posted on 2011-03-02
2
560 Views
Last Modified: 2012-07-27
Hey guys,

I have a project that I am working on that requires me to delete a dial-up connection before installing another. Believe it or not I have the rest of it down pat I just need to workout how to  remove the old connection.

In my case the Dial-up connection is called "Broadband Wireless". I am doing this on a large scale, so I need something that is easily executed from the local machine that I can tie into the rest of my scripts.

Cheers
G_M
0
Comment
Question by:G_M
2 Comments
 
LVL 8

Accepted Solution

by:
subhashchy earned 500 total points
ID: 35024206
try this..

rasphone -r  "Conneectionname"

or rasphone  /? for options
0
 

Expert Comment

by:mpdirect
ID: 38231145
this does not work if you have multiple entries in your PBK file and all you want to do is remove one entry
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We have adopted the strategy to use Computers in Student Labs as the bulletin boards. The same target can be achieved by using a Login Notice feature in Group policy but it’s not as attractive as graphical wallpapers with message which grabs the att…
Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now