New article
Recently updated
Removing a Robot service
The Robot service does not come with an uninstaller, so removing it from a server requires use of command line tools. This is made more complicated by the fact that for a while the App Manager installed the Robot with a standard display name ("Pentana Robot Service"), so the first task is to identify the correct instance.
Run the following PowerShell:
Get-WmiObject win32_service | ?{$_.Name -like '*Pentana*'} | select Name, DisplayName, State, PathName
This will show the name of the service (not just the display name), plus the path to its folder.
Now you can:
- Ensure the service is stopped
- Delete the program folder
- Delete the service - if you are still in the PowerShell window use the command:
&sc.exe delete <name of service> # e.g. &sc.exe delete ServerRobotPentanaUAT
If you are removing the Robot but it's partner application service will remain, consider:
- The MSMQ: jobs should be processed prior to removal
- The application service should have the MSMQ commented out so that it does not continue to add messages that will not be processed