/
/

How to Enable or Disable Wi-Fi in Windows 11

by Miguelito Balba, IT Editorial Expert
How to Enable or Disable Wi-Fi in Windows 11 blog banner image

Instant Summary

This NinjaOne blog post offers a comprehensive basic CMD commands list and deep dive into Windows commands with over 70 essential cmd commands for both beginners and advanced users. It explains practical command prompt commands for file management, directory navigation, network troubleshooting, disk operations, and automation with real examples to improve productivity. Whether you’re learning foundational cmd commands or mastering advanced Windows CLI tools, this guide helps you use the Command Prompt more effectively.

Internet connectivity has become a necessity not just for individuals but also for enterprises. While it’s the main purpose of enabling Wi-Fi, its configuration has other purposes beyond internet connectivity.

That’s why it’s essential to know how to enable Wi-Fi and how to turn it off. In this guide, we will teach you the steps using different methods, including via Settings, CMD, PowerShell, or Registry.

Click to Choose a Method

💻

Best for Individual Users

💻💻💻

Best for Enterprises

Method 1: Settings app
Method 2: Quick Settings
Method 3: Registry Editor
Method 4: Command Prompt
Method 5: PowerShell

Method 1: Using the Settings app

📌 Use Case:

Configuring Wi-Fi in Windows 11 using the Settings app is the most user-friendly way to toggle Wi-Fi connectivity, especially for individual users.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges are not required: No administrator privileges are required for this method.

Steps:

  1. Open the Settings app by pressing Windows key + I.
  2. Go to Network & internet.
  3. Click Wi-Fi.
  4. Toggle the switch to On or Off, depending on your needs.

Method 2: Using Quick Settings

📌 Use Case:

Configuring Wi-Fi in Windows 11 using Quick Settings offers a fast and accessible way to configure Wi-Fi connectivity for individual or home users. It’s quick because it doesn’t require users to open the Settings app.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges are not required: No administrator privileges are required for this method.

Steps:

  1. Click the Network icon in the system tray (lower-right corner of the taskbar).
  2. In the Quick Settings panel, locate the Wi-Fi button.
  3. Click it to toggle Wi-Fi On or Off.

Method 3: Using the Registry Editor

⚠️ Warning: Editing the registry can cause system issues. Create a backup before proceeding.

📌 Use Case:

This method is ideal for advanced users and system administrators. It offers granular control over Wi-Fi behavior.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges: This method requires administrator rights.
  • Organizational policy compliance: Always ensure that changes align with your organizational policies, especially in enterprise environments.

Steps:

  1. Open the Registry Editor by pressing the Windows key + R. Type regedit and press Enter.
  2. Navigate to the following key:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\WiFi\AllowWiFi
  3. Double-click on the DWORD (32-bit) Value named value.
  4. If it doesn’t exist, right-click the right pane, select New > DWORD (32-bit) Value, and name it value.
  5. Set the value data to:
    • 1 to allow Wi-Fi
    • 0 to disallow Wi-Fi
  6. Click OK and close the Registry Editor.
  7. Restart the computer for changes to take effect.

Method 4: Using Command Prompt

📌 Use Case:

This method is ideal for advanced users and system administrators who prefer command-line tools for this task. It’s also good for those who want to deploy changes across multiple devices.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges: This method requires administrator rights.
  • Organizational policy compliance: Always ensure that changes align with your organizational policies, especially in enterprise environments.

Steps:

  1. Open the Command Prompt as an administrator. Press the Windows key, type cmd, right-click Command Prompt from the search results, and select Run as administrator.
  2. Run the following command:
    • To disable Wi-Fi: netsh interface set interface name=”Wi-Fi” admin=disable
    • To enable Wi-Fi: netsh interface set interface name=”Wi-Fi” admin=enable

💡 Tip: Replace Wi-Fi with your actual wireless adapter name if it’s different.

Method 5: Using PowerShell

📌 Use Case:

This method gives users and system administrators more control over Wi-Fi behavior and networking configurations.

📌 Prerequisites: 

  • Applies to all editions of Windows 11: These steps work across Windows 11 Home, Pro, and Enterprise editions.
  • Administrator privileges: This method requires administrator rights.
  • Organizational policy compliance: Always ensure that changes align with your organizational policies, especially in enterprise environments.

Steps:

  1. Open PowerShell as an administrator. Press the Windows key, type PowerShell, then right-click Windows PowerShell and select Run as administrator.
  2. To list all network adapters, run the command: Get-NetAdapter
  3. Identify the name of your Wi-Fi adapter.
  4. Run the following command:
    • To disable Wi-Fi: Disable-NetAdapter -Name “Wi-Fi” -Confirm:$false
    • To enable Wi-Fi: Enable-NetAdapter -Name “Wi-Fi” -Confirm:$false

💡 Tip: Replace Wi-Fi with your actual wireless adapter name if it’s different.

⚠️ Things to look out for

Risks

Potential Consequences

Reversals

Registry misconfigurationWi-Fi may be permanently disabled or controlled in unexpected ways.Open Registry Editor. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\PolicyManager\default\WiFi\AllowWiFi
.Set the value to 1 to re-enable Wi-Fi. Restart the PC.
Incorrect PowerShell syntaxWi-Fi adapter may not disable/enable as expected or may be misidentified.Rerun the correct PowerShell commands:

  • Enable-NetAdapter -Name “Wi-Fi” -Confirm:$false
  • Disable-NetAdapter -Name “Wi-Fi” -Confirm:$false
  • Use Get-NetAdapter to verify the adapter name.

Why do you need to configure Wi-Fi?

There are several reasons why enabling or disabling Wi-Fi is essential. Here are some of them:

  • Security: Disabling Wi-Fi can enhance security by preventing unauthorized wireless connections or man-in-the-middle attacks.
  • Compliance: In corporate environments, disabling Wi-Fi might be required to comply with data security protocols.
  • Automation: Automating Wi-Fi management through scripts can streamline administrative tasks.

Troubleshooting

While Wi-Fi configuration may be straightforward, there can be some issues you may run into. Here are some of them and their fixes.

  • Wi-Fi option is missing: Ensure the wireless adapter is enabled in Device Manager.
  • Cannot enable Wi-Fi: Check for registry entries that may be enforcing restrictions.
  • Wi-Fi adapter not listed: Verify that the wireless adapter drivers are correctly installed and functioning.

Configuring Wi-Fi in Windows 11

Wi-Fi plays a vital part in internet connectivity, whether you’re an individual user or a system administrator who manages multiple devices. That’s why understanding how to enable or disable Wi-Fi is crucial to ensuring secure access, optimal performance, and proper alignment with user or organizational requirements. The methods outlined can cater to different Windows 11 users:

  • For everyday users, by using the Settings app and Quick Settings
  • For IT professionals, through PowerShell and Command Prompt, which provide advanced control and automation
  • For secure environments, by utilizing registry changes to ensure wireless connectivity adheres to strict organizational guidelines

Related topics:

You might also like

Ready to simplify the hardest parts of IT?