User Tools

Site Tools


windows:windows_services

Manage Windows Services

you can work with services using the Windows sc.exe program. For example,

sc query | FIND "TSM" /I
sc query : lists all Services then pipes the result into a find command to just list out the services that start with TSM, the /I switch means ignore case.\\ 

Once you get the service name from the query command, you can use other sc commands on that service, for example

sc start 'Service-name'
sc stop 'service-name'
sc delete 'service-name'

Using TSM command line to manage service:

dsmcutil inst /name:”TSM Scheduler Service – Z095XFSU1″ /optfile:”C:\Program Files\Tivoli\TSM\baclient\dsm.opt” /node:z095XFSU1 /password:xxxx /autostart:yes /startnow:yes

The command should go to the opt file and get the sched and error log file names To remove a schedule service, use

dsmcutil remove /name:”Tivoli Integrated Portal – TIPProfile-Port-16310″
windows/windows_services.txt · Last modified: 2021/01/01 21:25 (external edit)