Set Service Startup Type

This Automation Manager object sets the startup type for a local service.

Privileges

Normal

Input Parameters

Name Type Required Description
Display Name String Yes The name of the service.
Startup Type Selector Yes Select Automatic, Manual, or Disabled.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Display Name String Yes Print Spooler
Startup Type Selector Yes Automatic