/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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.
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity

Answers

0
Can any one help please regarding this post
Answered 11/26/2011 by: nikhilkota
Senior Yellow Belt

Please log in to comment
0
Are you trying to run this command inside MSI or u just wanted to execute this command by normal user by creating .bat file?
Answered 11/27/2011 by: mahendraKumar
Senior Yellow Belt

Please log in to comment
0
Can you Please let me know how can i run as MSI because i am new to KBOX
Answered 11/27/2011 by: nikhilkota
Senior Yellow Belt

Please log in to comment
0
i had done Through MSI also its not working
Answered 11/27/2011 by: nikhilkota
Senior Yellow Belt

Please log in to comment
0
Have you tried posting in the K1000 forum?!?
Answered 11/28/2011 by: VBScab
Red Belt

Please log in to comment
0
i think the format might be wrong..

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
Answered 11/28/2011 by: anphi
Orange Belt

Please log in to comment