How do I create new uninstall rollout and delete the agent from Windows devices? What are the different available options to uninstall BCM agent from a Windows device? |
This article covers uninstalling BCM agent with four different methods. First method is automated and rest three are to be performed manually in different scenarios.
Note: The manual methods below will not work on a device on which the BCM agent service is locked. To uninstall an agent when the service is locked, first must make sure the installation folder and the and the agent registry key are present on the host and uninstall it by using this method, it will not work manually. If these are not present, or partially only, simply gather these from another device and try again. taskkill /im mtxagent.exe /t /f net stop "BMC Client Management Agent" net stop "BMC FootPrints Asset Core Agent" net stop "Numara FootPrints Asset Core agent" net stop "Numara AMP Agent" net stop "BCM Agent" sc delete "BMC Client Management Agent" sc delete "BMC FootPrints Asset Core Agent" sc delete "Numara FootPrints Asset Core agent" sc delete "Numara AMP Agent" sc delete "BCM Agent" reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Numara Software\Numara AMP" /f rmdir /q /s "C:\Program Files\BMC Software\Client Management" rmdir /q /s "C:\Program Files\BMC Software\FootPrints Asset Core" rmdir /q /s "C:\Program Files\Numara Software\FootPrints Asset Core" rmdir /q /s "C:\Program Files\Numara Software\Numara AMP" rmdir /q /s "C:\Program Files\BMC Software\BMC Client Management" Method 3 : In some cases the agent needs to be manually removed. Use the below steps to find non-standard install locations and names of the agent.
sc delete "BMC Client Management Agent"
HKEY_LOCAL_MACHINE\SOFTWARE\BMC Software\FootPrints Asset Core
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\BMC Software\FootPrints Asset Core HKEY_LOCAL_MACHINE\SOFTWARE\Numara Software\Numara AMP
reg delete "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\BMC Client Management Agent" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Numara Software\Numara AMP" /f rmdir /q /s "C:\Program Files\BMC Software\Client Management" rmdir /q /s "C:\Program Files\BMC Software\FootPrints Asset Core" rmdir /q /s "C:\Program Files\Numara Software\FootPrints Asset Core" rmdir /q /s "C:\Program Files\Numara Software\Numara AMP" rmdir /q /s "C:\Program Files\BMC Software\BMC Client Management"
|