There is no built-in command in CMD that turns airplane mode on or off on Windows. Airplane mode is a system-level feature managed by the operating system and hardware, not by command-line tools.
If you need to disable airplane mode, you should use the standard Windows interface—not CMD. This method works for most laptops and tablets running modern versions of Windows. Some devices also let you toggle airplane mode using a physical switch, a function-key combination, or Settings app shortcuts.
Before you begin, make sure your device actually supports airplane mode and that it is currently enabled. You can confirm this by checking the network icon in the system tray, which shows an airplane symbol when active, or by going to Settings > Network & Internet > Airplane mode and seeing if the toggle is on.
- Press the Windows key and type "Settings", then press Enter to open the Settings app.
- Navigate to Network & Internet, then select Airplane mode from the left-hand menu.
- Click the toggle switch next to Airplane mode to turn it off. You may need to wait a few seconds for the change to take effect and for Wi-Fi or cellular connections to reconnect automatically.
- Check the system tray icon in the bottom-right corner: the airplane symbol should disappear, and your Wi-Fi or mobile broadband icon should reappear.
Why CMD Won’t Work for Airplane Mode
Command Prompt is designed for text-based system tasks like managing files, running scripts, or configuring network settings—but it does not control hardware states like airplane mode. Windows does not expose airplane mode through standard command-line interfaces such as CMD or PowerShell. Some third-party tools claim to toggle airplane mode from the command line, but they rely on undocumented or unsupported methods, may not work on all devices, and can introduce security risks. For reliability and safety, stick with the official Settings app or keyboard shortcuts provided by your device manufacturer.
Alternative Ways to Disable Airplane Mode
Many laptops include a keyboard shortcut to toggle airplane mode quickly. This is usually a function key (F1 through F12) with an airplane icon, often requiring you to hold the Fn key while pressing the shortcut. The exact key varies by manufacturer—for example, some Dell models use Fn+F2, while Lenovo ThinkPads often use Fn+F7. Check your laptop’s manual or look for the icon on your function keys.
Some desktop computers do not support airplane mode at all, since it is primarily intended for mobile or portable devices. If you cannot find airplane mode in Settings or see no airplane icon in the system tray, your device likely does not include this feature.
How to Tell If Airplane Mode Is Off
Once airplane mode is disabled, your device should reconnect to available networks automatically. You can confirm this by opening a web browser and trying to load a website, or by checking the network icon in the system tray. If you use Wi-Fi, the icon should show signal strength bars instead of an airplane symbol. For devices with cellular capability, the signal strength indicator (bars or text like "5G" or "LTE") should appear.
If your device does not reconnect after disabling airplane mode, try restarting the network adapter manually: press Windows+X, select Network Connections, right-click your Wi-Fi or Ethernet adapter, and choose Disable, then Enable again. This can resolve temporary connection issues that sometimes follow a mode switch.
Common Reasons Airplane Mode Stays On
Occasionally, airplane mode may appear stuck on, even after you try to turn it off. One frequent cause is a hardware switch or button that is physically engaged—some older laptops have a separate slider or button for airplane mode that must be moved independently of the software toggle. Check your device for any physical controls near the keyboard or sides of the chassis.
Another cause is a driver issue with your network adapter. If the adapter is not responding correctly, Windows may not allow airplane mode to toggle. To check, open Device Manager, expand Network adapters, and look for any yellow warning icons. If you see one, right-click the adapter and choose Update driver, then search automatically for updated driver software. Restart your computer after updating to apply changes.
A third possibility is a system service that is not running. The "WLAN AutoConfig" service (also called "Wlansvc") manages wireless connections and must be active for Wi-Fi to function. Press Windows+R, type "services.msc", and press Enter. Scroll to WLAN AutoConfig, check its Status, and ensure it says "Running". If not, right-click it and choose Start. Set its Startup type to Automatic to prevent future issues.
What to Do If Nothing Works
If airplane mode remains on and none of the steps above help, try resetting network settings through Settings > Network & Internet > Status, then scroll down and select Network reset. This will remove and reinstall all network adapters and reset configurations to defaults. You will need to re-enter Wi-Fi passwords after doing this, since saved networks are cleared. Only use this as a last resort, since it affects all network connections—not just airplane mode behavior.
As a final option, boot into Safe Mode with Networking and try disabling airplane mode from there. Restart your device, hold Shift while clicking Restart, choose Troubleshoot > Advanced Options > Startup Settings > Restart, then press 5 or F5 to enable Safe Mode with Networking. Once inside, open Settings and toggle airplane mode off. If it works in Safe Mode but not in normal mode, a third-party application or startup program may be interfering with system settings.
When to Contact Your Device Manufacturer
If airplane mode cannot be disabled using any method, and your device is under warranty or support coverage, reach out to the manufacturer’s technical support. Some devices have firmware or BIOS-level airplane mode controls that require specialized tools or updates to resolve. Do not attempt to modify the BIOS or flash firmware unless the manufacturer provides clear instructions—incorrect changes can permanently disable your device’s networking capabilities.