Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
@DearEditor, I was wondering why beginning with greeting the readers and thanking them in the end seemed worthy of elimination in your eyes? Thanks. – Assaf Levy Dec 1 '11 at 20:02
Because it's unnecessary noise that has to be read to get to the actual question. – sblair Dec 1 '11 at 20:15
Maybe the "bla bla bla" part gives you some suggestions? ;) – Ƭᴇcʜιᴇ007 Dec 1 '11 at 20:38
Ok, I get your point (albeit not totally agreeing). But from all the bla bla I don't see any answers. Is it that difficult? – Assaf Levy Dec 1 '11 at 21:56
Is the error a result of the computer being put into suspend while the dialup is active, then being woken with that state remembered, even though the actual dialup connection has gone? – Paul Dec 1 '11 at 23:03
up vote 2 down vote accepted

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.

share|improve this answer
Thank you! That did the trick! (sorry for the late reply). I'd have up-voted 10 more times for the wonderfully edited and informative answer :) Cheers – Assaf Levy Dec 10 '11 at 18:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .