How to disconnect a dial-up connection from the command prompt

D

DCC

Is there any way to disconnect a dial-up connection on the machine that
started the dial-up connection from the command prompt?
(No LAN involved)

Thank you.
DCC
 
W

Werner Doubell

Hi,

You can use the rasdial /disconnect command.
Type rasdial /? from the command prompt for the options.

Werner Doubell
 
P

Paul B T Hodges

If you just have the one connection try

rasdial /disconnect

rasdial

with no switches shows current connections

For other switches look in help and support

Paul
 
P

Paul B T Hodges

There seems to be one hell of a time delay, posting messages at the moment.
It looks like 3 of us all answered the same question.

There's also a lot of new messages disappearing, with 'no longer on server
errors"

Whats going on ??
 
M

Mark V

Paul B T Hodges wrote in
There seems to be one hell of a time delay, posting messages at
the moment. It looks like 3 of us all answered the same question.

There's also a lot of new messages disappearing, with 'no longer
on server errors"

Whats going on ??

Here too. Sometimes dropping the connection (close the reader and
restart) helps. Looks a lot like a sync issue with MS servers.
 
Joined
Nov 21, 2011
Messages
7
Reaction score
0
ofcourse there is.. i will tell you with an example so you can get it quickly.

in network connections (windows 7 open network and sharing center -> change adaptor settings ) , there you can see our connections. i have two connections here, one is INTERNET and other one is INTERNET2 . so i want to dial the first one "INTERNET" with a command prompt..
its simple..... open command prompt and type "rasdial INTERNET" without quotes. you are done.
try disconnecting that with typing "rasdial /DISCONNECT" without quotes.

here is your answer. open a notepad and write "rasdial INTERNET" (without quotes),
and click save as , change its name to "name.bat" there created a bat file, if you havn lost your mind somewhere. ;) you can doubleclick that file whenever you want to connect your network.

now, do you want to connect it automatically when windows starts?

goto start - all programs - startup, right click and open that folder and copy paste the file which you created already,(name.bat) to that folder.from now when windows starts, your computer will automatically connect to internet .. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top