I had a chance to test this out and it seems to work just fine.
Cheers,
Donald Robb
"Donald Robb" <donmanrobb@xxxxxx> wrote in message
news:u1KPNd4ZIHA.5088@xxxxxx
Quote:
> 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+
>
>
>
> "Gazza" <gary_windsor@xxxxxx> wrote in message
> news:2ffa6e79-ee57-497a-b1b9-1599b8628a4d@xxxxxx Quote:
>> 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
>
>