Windows Tip Sheet
When the Firewall Burns
Some troubleshooting tips I learned while working with the
seemingly simple Windows Firewall
The Windows Firewall that comes with Windows XP Service Pack 2 usually
works fine, but when it doesn't, troubleshooting can be a real pain. Microsoft
offers a troubleshooting document at
http://support.microsoft.com/kb/875357/;
here are some key tips from that doc and my own experience:
- When possible, create firewall exceptions for applications, not ports.
That way the firewall can just allow applications to use whatever ports
they need, and you don't have to guess what those are.
- Use netstat -ano to identify ports in use
by running applications
- Run tasklist > tasklist.txt and tasklist
/svc > services.txt to get a process and service inventory
- Run firewall.cpl and, on the Advanced tab, modify the security logging
settings to create a firewall log. This is a great way to see what the
firewall is up to, but be sure to turn logging off when you're finished.
By looking at the log and seeing what the firewall is doing, and by figuring
out exactly what exceptions need to be made for something to work, you'll
be able to configure the firewall accurately in less time, and with less
trial-and-error.
Additional Resources
Don Jones on HGTV
If you're a fan of Don Jones like we are over here at MCPmag.com,
don't miss Home & Garden TV's "Landscaper's Challenge" Episode
#906, featuring Don's home. In many areas, the episode will air on April
27th at 9:30 p.m., but be sure and check your local listings to get accurate
information for your area. (MCPmag.com hopes Don's home is just
as cool and efficient in the Las Vegas heat as his scripts and Windows
tips are helpful to you out there in admin-land.)
About the Author
Don Jones is a multiple-year recipient of Microsoft’s MVP Award, and is Curriculum Director for IT Pro Content for video training company Pluralsight. Don is also a co-founder and President of PowerShell.org, a community dedicated to Microsoft’s Windows PowerShell technology. Don has more than two decades of experience in the IT industry, and specializes in the Microsoft business technology platform. He’s the author of more than 50 technology books, an accomplished IT journalist, and a sought-after speaker and instructor at conferences worldwide. Reach Don on Twitter at @concentratedDon, or on Facebook at Facebook.com/ConcentratedDon.