Cannot connect to WiFii after Hibernate, searched everywhere

  • Thread starter Thread starter vkam2000
  • Start date Start date
  • Replies Replies 15
  • Views Views 2,666
After a lot of Google searching I found what could be a workaround, a simple batch file that would invoke once the laptop wakes from hibernation :

1. Get devcon.exe.

Devcon is available on Google, but if you find that its not working for your edition of Windows7 refer to this url : Devcon problem in Windows 7 : [Solved]

2. Find the hardwareid of your wireless device, refer to this url :Enable/Disable Wireless Card from Command Line at WLAN Book.com (Run cmd as admin)


3. Store these commands in a bat file named as wifi_reset.bat

netsh interface set interface "Wireless Network Connection" DISABLE

netsh interface set interface "Wireless Network Connection" ENABLE

devcon disable =net *dev_4727*

devcon enable =net *dev_4727*

TIMEOUT 5

Note the dev_4727 is the hardwareid & Wireless Network Connection will be the one as seen in Control Panel\Network and Internet\Network Connections

4. You have to run this bat file everytime the pc wakes,so...

a. Goto Control Panel -> Administrative Tools -> Computer Management -> Task Scheduler -> Task Scheduler Library

b. Click Create Task in Right Pane

c.

General Tab :
Name - Wifi Reset
Run Only when user is logged on
Tickmark Run with highest Privileges

Triggers Tab :
New - On Workstation Unlock

Actions Tab :
Action - Start a Program
Program : Browse to the bat file you created, wifi_reset.bat

Conditions Tab :
Uncheck Start the task only if the computer is on AC power

Finally Click OK and close the Window.



So next time when you wake from hibernation this script will run, hope this helps.....I too am not sure about this workaround but it seems to be helping, will update !
 

Top