After going thro' all the crap answers posted in Tenforums and Eightforums, I have come to conclusion that almost no one knows, how to turn off/on Airplane Mode without need to restart the system i.e. changing the registry setting for the same.
Is it just me or all of 'em aren't aware that there is already an option in Taskbar that allows us to turn off/on Airplane mode without requiring system reboot. So it is definite sense that Airplane mode can and should be able to operate from Command Prompt/Batch file too, right?
So the ultimate question, can anyone let me know how to do that from command line or batch file, without Registry editing and further rebooting the system ?
Best Answer
Just use your command line or cmd/bat file and disable your Wi-Fi adapter:
To enable:
Obs.: This command line needs administrator rights
Read more
You can also use a hybrid bat file with the code vbs, which will call the airplane interface mode and disable it by sending the [space] key:
Obs.: For close/kill windows/interface, you need edit the correct name of windows title, in pt-BR work with
configur*
, I suppose in English maybesetting*
: