Landesk: force a full inventory scan on ip change

Landesk has a task that is installed as part of the agent that will run a miniscan when the IP address of the computer changes. Unfortunately, miniscan doesn’t work with brokerconfig, which is the place you’re most likely to get an IP change (ie, when the computer disconnects from the company VPN.) This script will remove the miniscan task and replace it with a full sync scan (a lesser scan will not change the IP address in the inventory). Make sure you replace below with… well, you know.

"C:\Program Files\LANDesk\LDClient\localsch.exe" /del /taskid=778
"C:\Program Files\LANDesk\LDClient\localsch.exe" /exe="c:\Program Files\LANDesk\LDClient\LDIScn32.EXE" /cmd="/NTT=:5007 /S= /I=HTTP:///ldlogon/ldappl3.ldz /NOUI" /ipaddr /taskid=2778

About kcarlile
Twitter: @overclockdlemon

Leave a Reply

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

You are commenting using your 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: