ChangeStartMode method of the Win32_SystemDriver class
The ChangeStartMode WMI 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.
Value Meaning - 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 |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012