Kaseya Community

Windows XP SP3 Disable Firewall Script

  • Has anyone come up with a script to disable the Windows Firewall for XP machines with SP3?

    Legacy Forum Name: Windows XP SP3 Disable Firewall Script,
    Legacy Posted By Username: mysh.bilous
  • The "netsh firewall set opmode disable" command will disable the firewall service.

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: cnwicsurrett
  • Here is what I have in my script but it does not work with SP3, what am I missing?

    Script Name: XP SP2 Firewall - OFF
    Script Description: This script will immediately turn the Windows XP SP2 Firewall Off. (No reboot required)

    IF True
    THEN
    Execute File
    Parameter 1 : c:\windows\system32\netsh.exe
    Parameter 2 : firewall set opmode disable
    Parameter 3 : 3
    OS Type : 0
    ELSE

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: mysh.bilous
  • On the network I'm running the script on there is a GP that enables the firewall, would this cause the script not to execute?

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: mysh.bilous
  • Script cannot override group policy.

    You would need to move that computer item to an OU not covered by the policy or set it to block inheritance to not recieve the policy

    Legacy Forum Name: Scripts Forum,
    Legacy Posted By Username: Charles.IN