This user guide explains how the Windows Firewall can be easily and quickly disabled via regedit. However, you wish to save time in disabling the firewall for some form of testing or installation.
For instance, you might be a Domain Admin who has disabled standard user access to the Windows Firewall interface in the operating system. There are a number of occasions in which you might want to disable the Windows Firewall, but find that accessing the function via a “regedit” command to open the System Registry is preferable to accessing the Windows Firewall system via Control Panel.