Fix Windows Advanced Firewall for Landesk

Landesk will automatically open these ports for you when you install the agent. In the active firewall profile. Which doesn’t help you if it’s a laptop, or you accidentally install before you join the domain, or if you’re not on a domain and you change your firewall to private, etc, etc, etc. Here’s a quick and dirty script to fix it.

@echo off
netsh advfirewall firewall set rule name="LANDesk Message Service" new profile=any
netsh advfirewall firewall set rule name="LANDesk Ping Discovery Service" new profile=any
netsh advfirewall firewall set rule name="LANDesk Remote Control Agent" new profile=any
netsh advfirewall firewall set rule name="LANDesk Targeted Multicast" new profile=any
netsh advfirewall firewall set rule name="LANDesk(R) Management Agent" new profile=any
netsh advfirewall firewall set rule name="LANDesk(R) Management Agent" new profile=any
Advertisements

About kcarlile
Twitter: @overclockdlemon

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s

%d bloggers like this: