This topic has not yet been rated - Rate this topic

ChangeStartMode method of the Win32_SystemDriver class

The ChangeStartModeWMI class method modifies the start mode of a Win32_SystemDriver service.

This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.

Syntax


uint32 ChangeStartMode(
  [in]  string StartMode
);

Parameters

StartMode [in]

Start mode of the Windows base service.

ValueMeaning
Boot

Device driver started by the operating system loader. This value is valid only for driver services.

System

Device driver started by the operating system initialization process. This value is valid only for driver services.

Automatic

Service to be started automatically by the service control manager during system startup.

Manual

Service to be started by the service control manager when a process calls the StartService method.

Disabled

Service that can no longer be started.

 

Examples

For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.

For C++ code examples, see WMI C++ Application Examples.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Namespace

\root\CIMV2

MOF

Cimwin32.mof

DLL

Cimwin32.dll

See also

Operating System Classes
Win32_SystemDriver

 

 

Send comments about this topic to Microsoft

Build date: 11/19/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.