Remove A Service

Works on Windows NT/2000 ONLY

Description

This step will attempt to remove a service that has been previously installed on the local NT server or workstation. Task execution pauses while AutoMate™ attempts to remove the service, and does not continue until AutoMate™ receives notification from the Service Control Manager. If the service is removed correctly, the task continues. If not, the step will fail. Most services provide you with more details of their status by making entries in the Windows NT Event Log.

Remove a Service Action Properties Dialog

Remove a Service dialog

Parameters

Service to Remove
Specifies the name of the service to remove from the service control manager. A drop-down list of all the installed services is displayed for convenience. In order to start, stop and remove a service it must have previously been installed into the Service Control Manager (SCM) - consult your Windows/or application documentation if you are unsure how to do this. If the service is not in the list, you can still enter in the name of a service that you know will be installed when the task starts.

Notes

To set up the action, enter in the name of the Service to uninstall into the "Service To Remove" drop-down list. You can also click on the down-arrow of the drop-down list to view a list of services presently installed on the machine. If the service is not in the list, you can still enter in the name of a service that you know will be installed when the task starts. If you wish for AutoMate™ to attempt to stop the service before trying to uninstall it, check the Attempt To Stop Service option. Services usually should be stopped before attempting to uninstall them.

The user running the task (or the user-context provided by the LOGIN step of the task) usually must have Administrator rights or equivalent to start, stop, add or remove a service on most NT workstations.

Not all services can be removed. If the task fails for no apparent reason, check the services documentation to ensure that it is removable.

Related Topics:

Start A Service Action

Pause a Service Action

Continue a Service Action

Stop a Service Action

Install A Service Action

Other Available Actions