IBM Support

dsmcutil The specified service doesn't exist . The service was not removed.

Troubleshooting


Problem

When attempting to remove a Windows Tivoli Storage Manager service using dsmcutil.exe the operation fails with "The specified service doesn't exist . The service was not removed." even though it is listed in the "dsmcutil list" output.

Symptom

When running the dsmcutil list command from a DOS command line the service is listed as installed:

C:\Program Files\Tivoli\TSM\baclient>dsmcutil list

TSM Windows NT Client Service Configuration Utility
Command Line Interface - Version 6, Release 1, Level 0.0
(C) Copyright IBM Corporation, 1990, 2009, All Rights Reserved.
Last Updated Mar 17 2009
TSM Api Version 6.1.0

Command: List Installed TSM Client Services
Machine: HOSTNAME(Local Machine)

Installed TSM Client Services:

1. TSM Client Scheduler

1 TSM Client Services were located.

When attempting to remove the service using dsmcutil.exe the following error is seen:

C:\Program Files\Tivoli\TSM\baclient>dsmcutil remove /name:"TSM Client Scheduler"

TSM Windows NT Client Service Configuration Utility
Command Line Interface - Version 6, Release 1, Level 0.0
(C) Copyright IBM Corporation, 1990, 2009, All Rights Reserved.
Last Updated Mar 17 2009
TSM Api Version 6.1.0

Command: Remove TSM Client Service
Machine: HOSTNAME(Local Machine)

Registry key 'SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service' not found.

Removing TSM Client Service 'TSM Exchange Client Scheduler' ...

The specified service doesn't exist .
The service was not removed.

Cause

This could be caused by an extra space at the end of the service name when it was defined that is not visible in the dsmcutil list output.

Diagnosing The Problem

Check the registry key to verify the extra space is present.

Example:

[HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Scheduler Service]
"TSM Client Scheduler "="Client Scheduler Service"

Resolving The Problem

If the extra space is present then reissue the command with the trailing space. For the example above:

dsmcutil remove /name:"TSM Client Scheduler "

[{"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 ADSM ITSM

Document Information

Modified date:
23 June 2018

UID

swg21413002