Found the answer ... sort of.
http://support.microsoft.com/kb/929858c
Is there any "code" which I can use to run the command as the admin account?
Search found 7 matches
- 07 Jun 2014 17:43
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
- 07 Jun 2014 17:20
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Re: Can a batch file be written to check status of Wifi adap
Hi all, The other day before passing the laptop onto my dad, I enabled UAC (user account control). Upon demonstrating it to my dad when he came round today to pickup his new laptop; the command prompt window provided the error "An interface with this name is not registered with the router."...
- 01 Jun 2014 10:16
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Re: Can a batch file be written to check status of Wifi adap
I'll use your code as it seems more tidier 
Thanks again.

Thanks again.
- 01 Jun 2014 09:20
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Re: Can a batch file be written to check status of Wifi adap
Got it working See below ... @echo off echo Please wait ... toggling wireless adapter ... netsh interface show interface name="Wireless Network Connection" | find /i "Connected" >nul && set "toggle=DISABLE" netsh interface show interface name="Wireless Netw...
- 01 Jun 2014 09:11
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Re: Can a batch file be written to check status of Wifi adap
Hi foxidrive, Thank you for your reply. The code you provided did not work. I edited it slightly ( see below) but it only disables the wifi (if enabled). If disabled it just stays disabled. @echo off echo Please wait ... toggling wireless adapter ... set "toggle=ENABLE" netsh interface sho...
- 01 Jun 2014 08:18
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Re: Can a batch file be written to check status of Wifi adap
Hi all, I've managed to program 2 batch files (one enables and the other disables): ENABLE WIFI = @echo off echo Please wait ... enabling wireless adapter ... netsh interface set interface "Wireless Network Connection" ENABLE echo Your wireless network adapter should now be enabled. timeou...
- 31 May 2014 04:44
- Forum: DOS Batch Forum
- Topic: Can a batch file be written to check status of Wifi adapter?
- Replies: 13
- Views: 14656
Can a batch file be written to check status of Wifi adapter?
Hi all, Is it possible to have a batch file check the status (Enabled/Disabled) of a wireless adapter and as an outcome have it change the adapters setting to the opposite of it's current setting? i.e. If set as ENABLED, it will disable it as an outcome. If set as DISABLED, it will enable it as an o...