Firewall Disable
HI All,
I want to run the below command through Kace 1000 can anyone help me out please
netsh advfirewall set allprofiles state off
It should run as administrator privileges by that i can disable firewall in my network on all my clients.
I want to run the below command through Kace 1000 can anyone help me out please
netsh advfirewall set allprofiles state off
It should run as administrator privileges by that i can disable firewall in my network on all my clients.
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
mahendraKumar
13 years ago
Posted by:
anphi
13 years ago
i think the format might be wrong..
if you are running the command through a script, follow this.
you have to run this in the admin window...
please let me know the results
if you are running the command through a script, follow this.
cmdLine = "C:\Windows\system32\netsh.exe" & " advfirewall set allprofiles state off"
WshShell.CurrentDirectory = "C:\Windows\system32"
cmd = "cmd /C " & cmdLine ' if you put cmd /K , you will be able to see the output
iReturn = WshShell.Run (cmd, 1, True) 'to check the return code
you have to run this in the admin window...
please let me know the results
Posted by:
nikhilkota
13 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.