This batch file momentarily turns the adapter off and then turns it back on. This was the 'reset' that worked for me when I had a badly-behaved adapter a while back.
Run this batch file as Admin - right-click on it & you'll see the option.
- When you are happy with it you should store it somewhere secure. My attitude is quite strict - see Set up my Tools folder ditty - TenForums
- When you have stuck it somewhere secure, you can make a shortcut to it that includes the Run as Admin setting. That's makes it much more convenient.Create the shortcut using any of the normal methods [such as right-click, Create shortcut],
right-click, Properties,
Advanced,
Run as Admin,
OK,
OK.
DisableEnableWiFiCard.zip
DisableEnableWiFiCard.bat
Code:
:: The WiFi must be turned on first
prompt $g
Set /a Found=0
set FindString=Name
Set UseExpresssion=netsh wlan show interfaces
for /F "tokens=*" %%X IN ('%UseExpresssion% ^| find /i "%FindString%"') do Call :Interfaces "%%X"
GoTo EndGetWiFi
:Interfaces
Set ThisLine=%~1
Set AdapterName=%ThisLine:*: =%
GoTo :EOF
:EndGetWiFi
:: Do the disabling-enabling
netsh interface set interface "%AdapterName%" disabled
netsh interface set interface "%AdapterName%" enabled
::Pause to check outcome
Denis