LanDesk Fails to install patches on Citrix servers in non-console MSTSC/RDP sessions

Landesk Patch Install log:

c:Program FilesLANDeskLDClientvulscan.exe version <9.0.0.473> started

vulscan.dll version: 9.0.1.28

ldredirect.dll version: 8.80.2.2

lddwnld.dll version: 8.80.2.14

——————-Patch Installation———————-

Getting list of autofix patches

In SendRequest: Action = SOAPAction: "http://tempuri.org/GetAutofixPatchesForGroup"

Tue, 27 Jul 2010 02:20:25 SendRequest: SOAPAction: "http://tempuri.org/GetAutofixPatchesForGroup"

Last status: Contacting server…

Tue, 27 Jul 2010 02:20:27 Success

Last status:

1 patches were found to run

Last status: Done. 1 patches were found

File ‘c:Program FilesLANDeskLDClientSDMCachesilverlight._rfNeQ.exe’ is up to date

mutex is locked.

Running patch silverlight._rfNeQ.exe

ShouldScan silverlight._rfNeQ.exe before repairing returned: 0

Patch directory : ‘c:Program FilesLANDeskLDClientSDMCache’

Patch name : ‘silverlight._rfNeQ.exe’

Command Interpreter running

Executing c:Program FilesLANDeskLDClientSDMCachesilverlight._rfNeQ.exe /q

ERROR: c:Program FilesLANDeskLDClientSDMCachesilverlight._rfNeQ.exe /q returned a bad exit code (1640)

ERROR(Execute) Failed to run command – 80004005

DownloadPatch ERROR: Failed to run commands (80004005).

Last status: Failed

In SendRequest: Action = SOAPAction: "http://tempuri.org/SetPatchInstallStatus"

Tue, 27 Jul 2010 02:20:30 SendRequest: SOAPAction: "http://tempuri.org/SetPatchInstallStatus"

Last status: Contacting server…

Tue, 27 Jul 2010 02:20:30 Success

Last status:

Last status: Done

RunPatches completed. 1 processed. 0 installed. 1 failures.

Reboot and rescan. Rescan set to false, so doing nothing.

Unregistering script engine.

Tue, 27 Jul 2010 02:20:31 Exiting with return code 0x8db3019c.

C:>

 

The exit code 1640 indicates the cause for failure as software installs being disallowed in remote sessions (non console mstsc/rdp)

C:>err 1640

# for decimal 1640 / hex 0x668 :

ERROR_INSTALL_REMOTE_DISALLOWED winerror.h

# Only administrators have permission to add, remove, or

# configure server software during a Terminal services remote

# session. If you want to install or configure software on

# the server, contact your network administrator.

# 1 matches found for "1640"

C:>

Leave a Reply

Your email address will not be published. Required fields are marked *