-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Wireless and Networking
- Disable Airplane Mode from Safe-Mode Command Prompt

Create an account on the HP Community to personalize your profile and ask a question
09-27-2019 08:47 AM - edited 09-27-2019 09:05 AM
Win 10 ver 1803(os Build 17134.1) on HP Envy x360 M6
Specs https://support.hp.com/us-en/document/c05315774
I made an inadvertent error. I was running a rootkit scan in safe mode and rebooted; without remembering that I was on Airplane mode and I am preset to login with a Microsoft Account. Duh!
Now I am stuck in computer getting me to a login page that asks for my Microsoft accounts username/pwd but it cannot verify that because it is in airplane mode. I cannot get out of it.
F10 or Fn-F10 didn't help. 2 or 3 sytem restores I tried all failed.
I have not yet figured out a way to either:
1) Turn off Airplane mode via netsh or regedit
2) To switch to login with local accounts. (I can login to my local account via safe-mode via command prompt. But if I go via the GUI shell on safe mode I am asked for the microsoft account it fails to recognize my local account).
Or is there a better way?
So far what I have tried:
Get to safe-mode command prompt (login as the local admin).
RegEdit hasn't helped much; I haven't found any relevant keys or any internet artilces on it.
net start wlansvc - it starts the service.
show interface command doesn't show interfaces. So I tried:
netsh wlan set autoconfig enabled=yes Interface="Wireless Network Controller"
Aha hears where it stops me. It gives me the message:
There is no such interface on the system
I think long time ago I renamed the Wireless Network Controller to another name like Wi-Fi or WiFi for some other testing. Now I can't figure out how to get a list of the interface names.
Help ????
09-30-2019 04:23 PM
@DeepM Here are a few steps that should help your cause:
1. Open the command prompt.
2. Enter the command below into the command prompt, press Enter, and make note of the wireless profile name (ex: "Brink-Router2") that you want to turn on or off connect automatically. (see screenshot below)
netsh wlan show profiles
3. Enter the command below into the command prompt, press Enter, and see if the Connection mode of this wireless network is currently set to Connect automatically or Connect manually. (see screenshot below)
netsh wlan show profile "name"
Note
Substitute name in the command above with the actual name of the wireless network profile from step 2).
For example: netsh wlan show profile "Brink-Router2"
4. Enter the command you want to use below into the command prompt, and press Enter. (see screenshots below)
(To turn on connect automatically to wireless network)
netsh wlan set profileparameter name="name" connectionmode=auto
(To turn off connect automatically to wireless network)
netsh wlan set profileparameter name="name" connectionmode=manual
Note
Substitute name in the commands above with the actual name of the wireless network profile from step 2).
For example:
netsh wlan set profileparameter name="Brink-Router2" connectionmode=auto
netsh wlan set profileparameter name="Brink-Router2" connectionmode=manual
5. You can now close the command prompt and restart the device, it should work fine.
P.S: Welcome to HP Community 😉
Keep me posted, as I (Or a trusted colleague) shall follow-up on this case to ensure the concern has been addressed,
And your device is up and running again, only in case you don't get back to us, first!
That said, If the information I've provided was helpful, give us some reinforcement by clicking the solution and kudos buttons,
That'll help us, and others see that we've got the answers!
Good Luck.
Riddle_Decipher
I am an HP Employee
Learning is a journey, not a destination.
Let's keep asking questions and growing together.