Skip navigation
Currently Being Moderated

How to uninstall the LANDesk Agent

VERSION 5  Click to view document history
Created on: Nov 26, 2007 2:55 PM by LDSupport - Last Modified:  May 4, 2011 1:05 PM by Maddawg

Question:

 

How to uninstall the LANDesk agent?

Warning: Do not use the /forceclean switch on a core server when removing an agent from the core.  This will break the core server!!!!!!!!

Answer:

 

Run UninstallWinClient.exe. This program is located in the ldmain share on the Core Server. It can be run from that share or copied to the local client and executed. It is standalone and doesn't rely on any other files to run. Uninstallwinclient.exe removes the Windows agent only.

 

By design, uninstallwinclient.exe will remove:

  • All LANDesk files except some in ‘all users\application data\’ such as the APM DB

  • All LANDesk start menu shortcuts

  • All LANDesk services

  • All registry values and keys except the common API keys containing the LANDesk GUID

 

 

 

UninstallWinClient.exe has the following command-line options:

 

/NOREBOOT

The client will not be rebooted after the agent removal process completes.

/REBOOT

After the agent removal operation the user is prompted to reboot.

/UI

A progress window is displayed during the agent removal process

/NODELCBA

CBA8 (LANDesk Management Agent Service) is not removed by the process. This is useful in some special cases, for example when the agent installation breaks some particular 3rd party software based on the CBA8

/FORCECLEAN

This option was introduced in 9.0 and does remove the whole LANDesk installation. However, this includes some shared dlls so it may result in other programs not working properly.

 

If you want to uninstall the agent remotely, Uninstallwinclient.exe can also be deployed as an Executable Distribution Package.

  • No additional files need to be added to the distribution package.

  • It's recommended to use the /NOREBOOT switch in the package if there is an end user using the client so that the machine doesn't reboot and cause the user to lose work.

  • When you distribute this package, the agent will be uninstalled but the status of the task will remain "active" until it times out and eventually fails. This is because the agent is no longer able to report status back to the core.

 

If uninstallwinclient.exe is failing to remove part of the agent and is causing problems:

  • Try the version of uninstallwinclient.exe from the newest service pack.

  • Notify customer support.

 

 

Related questions:

How to uninstall the LANDesk client without rebooting?

What are the UninstallWinClient.exe command line options?

Comments (18)
LANDESK Community powered by Jive SBS® 4.5.7.1  |  Legal Notices  |  Privacy Policy  |  Icon 

TweeterOn Twitter  |  Icon FacebookOn Facebook © 2007 LANDESK Software