Previous page

Next page

Locate page in Contents

Print this page

set_startup_type

WindowsSummary:

Sets startup type for the specified service.

Request specification:

Name

Min/Max

Type

Description

set_startup_type

1..[]

 

 

{

 

 

 

name

1..1

string

Service name.

startup_type

1..1

string

Startup type:

Automatic -- specifies that the service starts automatically when the system starts.

Manual -- specifies that a user or a dependent service can start the service. Services with this startup type do not start automatically when the system starts.

Disabled -- prevents the service from being started by the system, user, or any dependent service.

}

 

 

 

Returns:

OK/Error.

Example:

Sets the startup type for Telnet service in the specified server to Manual.

<packet version="4.0.0">

<dst>

<host>74ee4ead-577a-438d-a22b-978922ecdac0</host>

</dst>

<target>servicem</target>

<data>

<servicem>

<set_startup_type>

<name>TlntSvr</name>

<startup_type>Manual</startup_type>

</set_startup_type>

</servicem>

</data>

</packet>

Please send us your feedback on this help page