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!!!!!!!!
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:
The client will not be rebooted after the agent removal process completes.
After the agent removal operation the user is prompted to reboot.
A progress window is displayed during the agent removal process
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
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.
How to uninstall the LANDesk client without rebooting?
What are the UninstallWinClient.exe command line options?