| Win32_ServiceControl |
| Instances of this class represent instrctions for controlling both installed and uninstalled services. |
| NameSpace Path |
| \ROOT\CIMV2 |
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| Arguments | | String | A list of arguments for starting services. The arguments are separated by null characters [~]. For example, the list of arguments One, Two, and Three are listed as: One[~]Two[~]Three. |
| Caption | | String | A short textual description (one-line string) of the CIM_Setting object. |
| Description | | String | A textual description of the CIM_Setting object. |
| Event | | String | A bit map representing the operations for which this object applies. The following are the valid values
Hexadecimal
Decimal
Description
0x001
1
Starts the service during the StartServices action.
0x002
2
Stops the service during the StopServices action. \nn 0x004
4
0x008
8
Deletes the service during the DeleteServices action.
The following values are only used during an uninstall
Hexadecimal
Decimal
Description
0x010
16
Starts the service during the StartServices action.
0x020
32
Stops the service during the StopServices action.
0x040
64
0x080
128
Deletes the service during the DeleteServices action. |
| ID | | String | A unique key identifying this service control item within its product. |
| Name | | String | NA |
| ProductCode | | String | The product code for the product of which this service control is a part. |
| SettingID | | String | The identifier by which the CIM_Setting object is known. |
| Wait | | UInt16 | A value of 1 in this column means to wait until the service actually completes before proceeding. This implies that the event is critical to the install, and that if the event fails the resulting error cannot be ignored. A value of 0 in this column means to wait only until the service control manager (SCM) reports that this service is in a pending state. |
| SAMPLE DATA INSTANCE |
   Timed out
|