Understanding Windows Firewall

Written by Barry Dysert (last updated May 21, 2018)

The Windows Firewall is a software subsystem that can protect your computer from attacks coming from hackers on the Internet. It can be set up to allow only certain inbound connections and/or only certain outbound connections. In this way, a rogue user outside of your firewall cannot get at your computer, but you will still be able to access the Internet from behind your firewall.

While Windows 7 and 8 refer to this subsystem as Windows Firewall, Microsoft changed the name slightly in Windows 10 to Windows Defender Firewall. For the sake of simplicity, in this tip I refer to this feature as Windows Firewall. (So, if you are using Windows 10, understand that all references to Windows Firewall also apply to Windows Defender Firewall.)

By default, in Windows 7, 8, and 10, Windows Firewall is turned on. You can, however, turn it off or modify its settings. To turn off Windows Firewall, go to Start | Control Panel | Windows Firewall. In Windows 10 go to Control Panel | System and Security | Windows Defender Firewall. Alternatively, in Windows 10 you use the Search box, enter Windows Defender Firewall, and then press Enter.

Whichever method or version of Windows you use, Windows will display the Windows Firewall portion of the Control Panel. (See Figure 1.)

Figure 1. The Windows Firewall portion of the Control Panel.

Click the Turn Windows Firewall On or Off link in the left pane. Windows displays a screen that allows you to customize the Windows Firewall settings. (See Figure 2.)

Figure 2. Customizing the Windows Firewall.

From here you can click the radio buttons to turn off the firewall for each type of network location (domain, private, and public).

In reality, the only reason to turn off Windows Firewall is if you are having a problem using one of your programs with it activated. Instead of turning off all the firewall protection, however, you can simply instruct Windows Firewall to allow your program to work through the firewall. Follow the steps above to start Windows Firewall. Again, the Windows Firewall portion of the Control Panel appears. Click the link in the left pane that says, “Allow a Program or Feature through Windows Firewall.” Windows displays a screen that shows the programs that can work through the firewall. (See Figure 3.)

Figure 3. Allowing programs to work through Windows Firewall.

If a box is checked, it means the program is allowed through the firewall; unchecked means the program is not allowed through. Just as you can turn the firewall on and off for each type of network location, so to can you allow or disallow programs for each type of network location.

If the program you want to allow through is not listed, click the Allow Another App button, which brings up a screen that allows you to select the desired program. If you want to remove a program from the list, select the program and click the Remove button.

As we've discussed, Windows Firewall can help protect your computer from attacks coming from hackers. Because of this added protection it is always recommended to leave Windows Firewall running.

 This tip (10109) applies to Windows 7, 8, and 10.

Author Bio

Barry Dysert

Barry has been a computer professional for over 35 years, working in different positions such as technical team leader, project manager, and software developer. He is currently a software engineer with an emphasis on developing custom applications under Microsoft Windows. When not working with Windows or writing Tips, Barry is an amateur writer. His first non-fiction book is titled "A Chronological Commentary of Revelation." ...

MORE FROM BARRY

Starting Applications Automatically when Starting Windows

Understanding the Task Scheduler is a great asset when you want your computer to do things automatically. This tip shows ...

Discover More

Using Robocopy to Copy Entire Directories

It's simple to use Robocopy to copy entire directories. Dealing with directories is what it does best! This tip shows you ...

Discover More

Setting the Default Browser

Some people are passionate about the browser they use to access the Web. If you have a favorite browser that you want to ...

Discover More
More WindowsTips

Enlarging Screen Font Size

Sometimes things appearing on the screen are a bit too small to read easily. One possible solution is to adjust the size ...

Discover More

Change the Default Name for New Folders

By default, when a new folder is created in Windows 10, the folder is titled "New Folder." Using the Registry, you can ...

Discover More

Adjusting the Taskbar for Multiple Displays

When you have multiple displays attached to your computer you might want to change how the Taskbar looks on your extra ...

Discover More
Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is eight less than 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


Newest Tips