IBM Support

Manual removal of a Tivoli Storage Manager service on Windows

Question & Answer


Question

How can the Tivoli Storage Manager (TSM) client scheduler service be manually removed on Windows when the Tivoli Storage Manager uninstaller did not remove it?

Cause

Uninstalling the Tivoli Storage Manager client software did not remove the Tivoli Storage Manager client services configured for the Windows operating system

Answer

The Windows "sc delete" command can be used to remove the problematic service entries in the registry.
This command deletes a service subkey from the registry. If the service is running or if another process has an open handle to the service, the service is marked for deletion*. The syntax is:
sc <ServerName> delete <ServiceName>

  • <ServerName>

  • Specifies the name of the remote server on which the service is located. The name must use the Universal Naming Convention (UNC) format (for example, \\myserver). If the sc command is being run on the same machine where the service is located, omit this parameter.
  • <ServiceName>

  • Specifies the name of the problematic service that is being removed.
  • ?

  • Displays help at the command prompt.

*NOTE: The service name is not removed from the service manager list until after the system is rebooted.

For example, to remove a Tivoli Storage Manager client scheduler service named 'TSM Scheduler', issue the following command

sc delete "TSM Scheduler"

If the "sc delete" command is unable to remove the service, it is possible to manually edit the registry entry under: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services
The specific key for the desired service should be removed.


Note: Editing the registry can damage the windows operating system causing the system to be unusable. Microsoft should be contacted for any necessary assistance with the registry.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM

Document Information

Modified date:
17 June 2018

UID

swg21508170