How can we uninstall Windows Nimsoft / DX UIM robots via the command line if the uninstaller (unistall.exe) is not present?
We want to uninstall DX UIM robots via command in line and in bulk, what is the procedure?
DX UIM 23.4.*
Guidance / Documentation Clarification
sc stop NimbusWatcherService
sc delete NimbusWatcherService
"C:\Windows\System32\REG" DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4337A496-6773-4624-985F-E203E1D08CC9}" /f
rmdir /s /q <UIM_INSTALL_FOLDER>
--(Eg:rmdir /s /q "C:\Program Files (x86)\Nimsoft")sc stop NimbusWatcherServicesc delete NimbusWatcherService"C:\Windows\System32\REG" DELETE "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D4BD8ECF-3D32-4F3E-A4DB-A87052CFD4EA}_is1" /frmdir /s /q <UIM_INSTALL_FOLDER>
--(Eg:rmdir /s /q "C:\Program Files\Nimsoft")
Use unins000.exe to uninstall a robot:
For robots installed using ADE or Native Installer (nimsoft-robot-x64.exe) the following command can be executed to remove the Nimsoft Robot completely:
cd <Nimsoft_Home>unins000.exe /SILENT /VERYSILENT /SUPPRESSMSGBOXES
NOTE:
Before robot 23.4.8, "unins000.exe" has the following limits:
In the scenario where the "nimsoft service controller" UI utility service tool (nimboss.exe) is running while the uninstallation is executed, the uninstall actually succeeds, however, the uninstaller, is not designed to suppress (shut down) the nimboss.exe. which is not the robot.
The nimboss.exe is not the Nimsoft Service (robot service) which is instead "nimbus.exe"
nimboss.exe is the "nimsoft service controller" UI utility service tool only. If it's in use, the silent uninstaller simply skip it as it cannot kill it. And leaves the folder structure up to it's location /nimsoft/bin
Normally, nimboss.exe, is not started by default in robots unless is manually started:
"Lunched" from programs: eg:
If it's started, and the "unins000.exe /SILENT /VERYSILENT /SUPPRESSMSGBOXES" command is executed, the Robot (service, registry key and folder structure except for the utility nimboss.exe) is uninstalled correctly. while nimboss.exe remains.
If you believe you can run into scenarios where nimboss.exe is running on servers, ensure nimboss.exe is killed before running the uninstaller.
NOTE: an other limit of this uninstaller is that that an Empty "Nimsoft" folder remains on the server even if the process is completed correctly when using the uninstaller. This is because we are running the command from the nimsoft folder it and it cannot remove the folder from where you are sitting.
ROBOT 23.4.8 Embeds commands to kill nimbos.exe if it running and it will remove the Nimsoft folder.
DX UIM Documentation: Start, Stop, or Uninstall a Robot (Command Line) (broadcom.com)