Deactivate windows firewall on startup

Last Updated: 

👉 This post was initially written in 2006 and refered to specific software versions. When tunning your system, always consider which version you are running. Information below may be outdated. Use it at your own risk.

On some computer that I have to manage remotly I can have some windows upgrade done. But in some case (new software install, or windows update to SP2) the windows firewall is automatically started and you can lost some software access (example : VNC). In my case, the firewalling is managed by another computer (a Linux server) on the network and we need for some of our software to have full access to the network without the risk of a windows alert popup. So, I put a small batch file in the Start-up directory with the following line :


Now, I'm sure that the firewall will never restart at the boot of the computer. Of course, this configuration require a firewall somewhere on your network between your computer and the internet, don't forget this or you will probably regret it one day.

Related windows posts that you may like
Running Bash script with Ubuntu on Windows 10 using WSL
No-hassle! Learn how to run Bash on Windows by installing your favorite Linux distribution natively on Windows 10 using Windows Subsystem for Linux, aka WSL.
Files and directories user permissions on Windows XP
How to solve files and directories permissions on windows XP using CACLS.
Determine which Windows OS version is running
How to workaround the lack of command line to sleep or wait some period of time on windows XP. This tips shows, first a batch example using the ping command, second using the Windows Server 2003 Ressource Kit tools with the SLEEP command.