/build/static/layout/Breadcrumb_cap_w.png

Scripting Fun 101: How -ToDisable Firewall through Kace

Hello,

 

We were having the issue of trying to RDP into a clients machine off site. Come to find out his firewall was enabled. With a little google magic, or Googlin. I crafted this little script.

 

1. Log into Kace and navigate to Scripting.

2.Choose action>Add New Item

3.Configure the script however you want it and in the actual script enter the following:

netsh advfirewall set domainprofile state off
netsh advfirewall set privateprofile state off
netsh advfirewall set publicprofile state on

This will disale the firewall and you are on your way for what ever fun you can imagine.

 

Thanks,

 

Master May (Matt May)

 


Comments

This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ