Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET! Learn What IT Pros Need to Know About Windows 11 - August 26th at 1 PM ET!

Why You Shouldn't Disable the Firewall in Windows Server

Microsoft undertook a large-scale project to bolster security in Windows Server 2003 Service Pack 2, including a full-featured endpoint firewall (Windows Firewall). This resulted in what was known at the time as the Vista reset, putting a temporary freeze on development of Microsoft’s next operating system.

Despite that Server 2003 and XP had only been released a couple of years before the arrival of SP2, the security landscape had changed dramatically, with Windows XP on the client side becoming increasingly vulnerable to attack.

While Windows had previously included the Internet Connection Firewall (ICF), it was turned off by default and offered limited functionality, so a complete endpoint firewall solution was something new for Windows administrators.

It was common practice to turn off Firewall in Windows as part of the build for PCs and servers on the corporate intranet. This was largely because it was considered that the network edge firewall provided enough protection for intranet devices, and system administrators didn’t know how to work with the new firewall. In situations where it was considered unnecessary, removing it from the equation was the easiest way to get systems up and running quickly.

Sponsored Content

Read the Best Personal and Business Tech without Ads

Staying updated on what is happening in the technology sector is important to your career and your personal life but ads can make reading news, distracting. With Thurrott Premium, you can enjoy the best coverage in tech without the annoying ads.

Fast forward to 2013, and all too often I come across servers where Windows Firewall has been switched off, either as part of the build or it’s been temporarily turned off in an attempt to resolve an issue and never re-enabled.

Disabling Windows Firewall increases the attack surface of Windows Server. Any infected machine that gets access to your corporate intranet can potentially make a connection to an unprotected server and compromise it by exposing a vulnerability in a Windows service or 3rd-party application. Windows Firewall is also useful in defending against denial of service attacks, which bombard a server with network traffic in an attempt to crash it or simply make it unavailable to the rest of the network.

Windows Server has a couple of tools that can help configure Windows Firewall to ensure that your server is functional. The Security Configuration Wizard (SCW) can be used as a standalone tool or to help configure a Group Policy Object (GPO) for applying firewall settings across multiple servers. SCW works by asking administrators to answer a few questions about what services, roles and features the server is expected to host and then configures security appropriately, including Windows Firewall.

For more advanced troubleshooting, Windows Firewall has its own logs (disabled by default) so you can see dropped packets and successful connections. There’s also the netstat command line tool which shows all active TCP and UDP connections for a given device. In any situation, disabling Windows Firewall should only ever be a temporary solution in the troubleshooting process.

Related Topics:


Don't have a login but want to join the conversation? Sign up for a Petri Account

Comments (1)

One response to “Why You Shouldn’t Disable the Firewall in Windows Server”

  1. William Woods

    You discussed well about windows firewall, VPN as well as firewall service not supporting both simultaneously, please discuss more on this topic. http://www.thesagenext.com

Leave a Reply

IT consultant, Contributing Editor @PetriFeed, and trainer @Pluralsight. All about Microsoft, Office 365, Azure, and Windows Server.

Register for Advanced Microsoft 365 Day!

GET-IT: Advanced Microsoft 365 1-Day Virtual Conference - Live August 24th!

Join us on Tuesday, August 24th and hear from Microsoft MVPs and industry experts about how to take advantage of Microsoft 365 at a technical level and dive deep into the features and functionality that will make your environment more secure and compliant.


Sponsored By