Attempting to dialup gives "Opening port... Error 813: another connection is using...."

This has driven me to the point of insanity :)

When I wake my computer up and try to dial-up, I get this nice dialog:

Opening port...

Error 813: You have attempted to establish a second broadband connection while a previous broadband connection already established using the same device or port

And then some more bla bla bla. I've searched the net and I'm not the only one having this problem, but there are no solutions!

So, an option of auto-hangup after 30 minutes of idleness while the sleep is after 60 is very acceptable, but a solution that addresses the problem directly would be super.

6

1 Answer

What we need to do is disconnect the dialup session if the machine goes to sleep. We can accomplish this with the Task Scheduler, responding to a Sleep event.

Set up the task like this:

  1. Input “Task Scheduler” in search box and start the scheduler
  2. Click “Create task…”
  3. Go to Triggers, create a new trigger, select “On an event”
  4. Select Log to “system” , set “Source” to “Kernel-Power” and Event ID to “42”, ok
  5. Go to “Actions” and create a new actions, choose "Start a Program"
  6. In the program script box put rasdial /disconnect

Back in the General tab, give this a name.

So event 42 is posted to the log when the machine is suspended. This way, when the suspend event is posted it runs rasdial /disconnect which will shutdown any dial up connections.

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like