![]() ![]() I wrote a small (~2 KiB) WlanScan.exe program to do this. Now, you can proceed as explained above, for example to disable the wlan card: netsh interface set interface name="WiFi" admin=disabled So you see, in this case, the interface name is WiFi If the wlan is enabled you will get a message like this C:\Users\user1>netsh wlan show networks ![]() Netsh interface set interface name="" admin=enabledĮdit: How to get then the "", i.e., the Network Interface Card name.įirst of all use the command netsh wlan show networks I'm using the following commands: netsh interface set interface name="" admin=disabled There's a small delay (1-2 seconds) after enabling the interface where it won't list any networks, but that shouldn't be too hard to workaround. The best solution I was able to come up with was to disable then re-enable the interface through the netsh commands. I've been looking for the same thing for a while now, unfortunately I can't seem to find anything in the netsh utility to do this. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |