Chapter 14: Using 3rd Party Common Tools

Schtasks

qfailure: Queries the actions taken by a service upon failure.

delete: Deletes a service (from the registry).

create: Creates a service. (adds it to the registry).

control: Sends a control to a service.

sdshow: Displays a service's security descriptor.

sdset: Sets a service's security descriptor.

GetDisplayName: Gets the DisplayName for a service.

GetKeyName: Gets the ServiceKeyName for a service.

EnumDepend: Enumerates Service Dependencies.

The following commands don't require a service name:

Usage: sc <server> <command> <option>

boot: (ok bad) Indicates whether the last boot should be saved as the last-known-good boot configuration

Lock: Locks the Service Database

QueryLock: Queries the LockStatus for the SCManager

Schtasks

Note: This tool can be used in both Interactive Mode and Batch Mode. For details on scheduling this tool to run in batch mode see Using Batch Mode.

Schedules commands and programs to run periodically or at a specific time. Adds and removes tasks from the schedule, starts and stops tasks on demand, and displays and changes scheduled tasks.

To Access Schtasks from the Dashboard

To run Relog from the Support Tools Dashboard:

Step 1 In the Arguments field, enter desired arguments, as described in the Using section below.

Note: When entering arguments, the Schtasks command is already implied. Do not enter it in the Arguments field.

Step 2 Specify the command duration time or accept the default (60 seconds). This is the amount of time the command will attempt to run before terminating.

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

243

Page 257
Image 257
Cisco Systems 2.1(1) manual To Access Schtasks from the Dashboard, 243