Home > Batch Scripting, Microsoft, Scripting, Windows > Disabling the windows firewall, remotely.

Disabling the windows firewall, remotely.

i noticed that a recent undocumented change to group policy had re-enabled the windows firewall, which was also playing havoc with my software, so after a little thought on the matter, i decided to disable the service, inspite of them!

You can use a remote script, or login script to pull this off.

psservice /accepteula stop “Windows Firewall/Internet Connection Sharing (ICS)”

psservice /accepteula setconfig “Windows Firewall/Internet Connection Sharing (ICS)” disabled

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

<span>%d</span> bloggers like this: