Vista sleep and Default Gateway issue - KB933872

G

Gazza

Hello I have had this issue for some time and still cannot get a
resolution that works to my satisfaction.

I have Windows Vista Ultimate 64 bit. After the system has gone to
sleep and I have restarted it the Default gateway information is lost
and I cannot connect to the internet. I have tried hotfix KB933872 and
KB928233 and neither resolve the issue. It appears to be random as
sometimes the Default Gateway information is there and all is fine and
another time it is missing and the internet will not work.

I can keep sleeping and waking until it works or do a restart and all
will be fine. I also read from another person that is suffering from
the same problem that typing ipconfig /renew from a command prompt
will get things up and running again. This is true but none of these
options are ideal especially for my wife and son who want it to just
work - which I agree.....

Are there any other answers and resolutions to this issue or do I just
have to leave the thing running?

Many thanks and hopes in advance

Gary
 
D

Donald Robb

Hello,

I have a possible solution but I won't be able to test it out until later on
tonight.

Set the script to run when the computer resumes from sleep. The easiest way
to do this is: a: Open the Windows Event Viewer application. b: Find a
'Power-Troubleshooter' event with ID 1 ('The system has resumed from sleep')
c: Right-click on the event and choose 'Add task to this event' and follow
the prompts to create the task. d: Change the task properties (you may need
to do this through Scheduled Tasks) - the script needs to run with highest
privileges and even when user is not logged on.

For the script you can use something like this and save it as a .vbs file

Set objShell = Wscript.CreateObject("Wscript.Shell")
objShell.run("%comspec% /k ipconfig /release")
objShell.run("%comspec% /k ipconfig /renew")

Cheers,
Donald Robb
CCIE R&S Written, CCIP, CCDP, CCNP, JNCIS-M, JNCIS-ER, ENA, MCSE 2003,
Security+, Network+, A+
 
D

Donald Robb

I had a chance to test this out and it seems to work just fine.


Cheers,
Donald Robb
 
G

Gazza

I had a chance to test this out and it seems to work just fine.

Cheers,
Donald Robb

Hi thanks for that. I have been out for a couple of days so I will
have a go tonight.

Gary
 
G

Gazza

I had a chance to test this out and it seems to work just fine.

Cheers,
Donald Robb

Hi Rob,

are the instructions exactly as you describe above? This is an area
that I am not at all familiar with. Do I just use notepad to create
the script and where do I save it etc...

Thanks again.

Gary
 
G

Gazza

Hi Rob,

are the instructions exactly as you describe above? This is an area
that I am not at all familiar with. Do I just use notepad to create
the script and where do I save it etc...

Thanks again.

Gary

oops, in my hast I just realised that I referred to you as Rob. Sorry
Donald.

Gary
 
G

Gazza

oops, in my hast I just realised that I referred to you as Rob. Sorry
Donald.

Gary- Hide quoted text -

- Show quoted text -

Well I tried all these things and now I appear to be up and running -
great. It was my wireless mouse that was waking the pc from sleep (and
editing the allow device to wake system to no cleared the issue) and
now I have the script I have internet when the pc comes out of sleep.
Great, many thanks. Gary
 

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