I have been using the command sdclient.exe /msg="message" to good effect in many batch file distribution packages. However, on several machines I am getting 'sdclient.exe' is not recognized as an internal or external command in the logfile (see attached) when I execute the following package:-
REG QUERY HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\Common\Login\RegisteredServers\GLA-IMAN1
IF %ERRORLEVEL%==1 GOTO NotRegistered
REG DELETE HKEY_CURRENT_USER\Software\Interwoven\WorkSite\8.0\Common\Login\RegisteredServers\GLA-IMAN1 /F
REGEDIT /S GLADMS01.reg
sdclient.exe /msg="GLA-IMAN1 deleted and GLADMS01 registered."
EXIT /B 0
sdclient.exe /msg="GLA-IMAN1 not registered."
EXIT /B 0
Even when I update the package with the absolute path "C:\Program Files\LANDesk\LDClient\sdclient.exe", although there are no errors in the logfile this time, the message field in the Scheduled Task is still not updated.
Any ideas where I am going wrong please?
LDMS 8.5 SP2