How to Disable the Windows Firewall in Windows

Steps on how to disable the firewall in Windows 10, 8, 7, Vista & XP

What to Know

  • Windows 10, 8, 7: Go to Control Panel > System and Security > Windows Firewall > Turn Windows Firewall on or off.
  • Select the bubble next to Turn off Windows Firewall (not recommended) and then select OK.
  • To disable the firewall for private and public networks, select Turn off Windows Firewall (not recommended) in both sections.

The Windows Firewall is designed to keep unauthorized users from accessing files and resources on your computer. Still, the Windows Firewall can sometimes cause more harm than good, especially if there's another paid or free firewall program installed. Disabling the Windows Firewall is easy and usually takes less than 10 minutes.

There are separate directions below for Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. See our article What Version of Windows Do I Have? if you're not sure which steps to follow along with.

Disable the Firewall in Windows 10, 8, and 7

The steps for turning off the Windows Firewall in Windows 7, 8, and 10 is basically the same.

The screenshots in this section apply to Windows 10 only. Your screen will look slightly different if you're using Windows 8 or Windows 7.

  1. Open Control Panel.

    You can do this a number of ways, but the easiest method is to search for it or select it from the Start menu in Windows 7.

    Control Panel in Windows 10 start menu
  2. Select System and Security.

    Windows 10 System and Security link in Control Panel

    That link is only visible if you have the "View by:" option set to "Category." If you're viewing the Control Panel applets in icon view, just skip down to the next step.

  3. Choose Windows Firewall.

    Windows Defender Firewall in System and Security panel in Windows 10

    Depending on how your computer is set up, it might instead be called Windows Defender Firewall. If so, treat every instance of "Windows Firewall" below as if it read "Windows Defender Firewall."

  4. Select Turn Windows Firewall on or off on the left side of the screen.

    Turn Windows Defender Firewall on or off option in Windows 10

    A really quick way to get to this screen is via the control firewall.cpl command line command, which you can execute via the Command Prompt or the Run dialog box.

  5. Select the bubble next to Turn off Windows Firewall (not recommended).

    Turn off Windows Defender Firewall (not recommended) option in settings for Windows 10

    You can disable the Windows Firewall for private networks only, just for public networks, or for both. To disable it for both network types, you have to make sure to select Turn off Windows Firewall (not recommended) in both the private and the public section.

  6. Select OK to save the changes.

Now that the firewall is disabled, repeat whatever steps caused your problem to see if disabling this option has fixed the issue.

Disable the Firewall in Windows Vista

The Windows Firewall can be turned off in Windows Vista through the Control Panel, similar to how it's done in other versions of Windows.

  1. Select Control Panel from the Start menu.

    Control Panel in Windows Vista Start Menu
  2. Choose Security from the category list.

    Security icon in Windows Vista Control Panel

    If you're in the "Classic View" of Control Panel, just skip down to the next step.

  3. Select Windows Firewall.

    Windows Firewall in Vista Security panel
  4. Choose Turn Windows Firewall on or off on the left side of the window.

    Turn Windows Firewall on or off

    If a User Account Control window pops up, go ahead and click/tap through it by either entering an admin password or selecting Continue.

    If you need to access this window again more quickly in the future, you can use the control firewall.cpl command in the Run dialog box.

  5. Open the General tab and select the bubble next to Off (not recommended).

    Windows Firewall Off (not recommended)
  6. Select OK to apply the changes.

Disable the Firewall in Windows XP

Directions for turning off the Windows XP firewall is significantly different than it is in newer versions of Windows, but it's still fairly simple.

  1. Go to Start and then Control Panel.

    Control Panel icon in Windows XP Start menu
  2. Select Network and Internet Connections.

    Network and Internet Connections in Windows XP Control Panel

    If you're viewing the "Classic View" of Control Panel, open Network Connections and skip to Step 4.

  3. Choose Network Connections under the or pick a Control Panel icon section.

    Network Connections icon in Windows XP Control Panel
  4. Right-click or tap-and-hold your network connection and choose Properties.

    Windows XP network Properties menu item

    If you have a "high speed" internet connection like Cable or DSL, or are on a network of some kind, your network connection will likely be titled Local Area Connection.

  5. Open the Advanced tab and select Settings.

    Settings button in Advanced tab of Network Properties in Windows XP
  6. Choose the Off (not recommended) radio button.

    Windows Firewall Off (not recommended) in Windows XP

    Windows Firewall settings can also be opened with a simple shortcut via the Run dialog box or Command Prompt. Just enter this command: control firewall.cpl.

  7. Select OK in this window and then OK again in the Properties window of your network connection. You can also close the Network Connections window.

  • How do I disable the firewall in Windows 11?

    Right-click the Windows icon on the taskbar and select Settings > Privacy & security > Windows Security > Open Windows Security. Select Firewall & network protection > Public Network and turn off the switch under Microsoft Defender Firewall.

  • How do I disable the firewall for Minecraft?

    Select Start, search for and select Windows Defender Firewall. Select Allow an app or feature through Windows Defender Firewall. Select Change Settings. Under Allow apps to communicate through Windows Defender Firewall, check the box next to Minecraft.

  • How do I disable the firewall on a Mac?

    From the Apple menu, select System Preferences > Security & Privacy. If your firewall is on, select Turn off Firewall or Firewall Options to manage more settings.

Was this page helpful?