G
Guest
I am using this script to enable/disable the Windows
firewall
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
objPolicy.FirewallEnabled = false
The script runs fine while logged on as admin, but fails
as a lower user! I believe it is because only admins can
enable/disable the firewall! Can I add something to the
script to make it work or can I Allow power users to
enable/disable the firewall!
firewall
Set objFirewall = CreateObject("HNetCfg.FwMgr")
Set objPolicy = objFirewall.LocalPolicy.CurrentProfile
objPolicy.FirewallEnabled = false
The script runs fine while logged on as admin, but fails
as a lower user! I believe it is because only admins can
enable/disable the firewall! Can I add something to the
script to make it work or can I Allow power users to
enable/disable the firewall!