Win32_BaseService, ROOT\CIMV2

Class | Childs (2) | Methods (10) | Properties (22) | Qualifiers (10) | Instances (40) | Namespaces (4)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

The Win32_BaseService class represents executable objects that are installed in a registry database maintained by the Service Control Manager. The executable file associated with a service can be started at boot time by a boot program or by the system. It can also be started on-demand by the Service Control Manager. Any service or process that is not owned by a specific user, and that provides an interface to some functionality supported by the computer system, is a descendent (or member) of this class. Example: The dynamic host configuration protocol (DHCP) client service on a Windows NT/Windows 2000 computer system.

Win32_BaseService - child subclasses in ROOT\cimv2

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_Service125124040--
Win32_SystemDriver0221040---

Win32_BaseService methods

Win32_BaseService has 10 methods (8 Local, 2 Derived)

NameOriginReturn
ChangeWin32_BaseServiceuint32 {'out':True}
ChangeStartModeWin32_BaseServiceuint32 {'out':True}
CreateWin32_BaseServiceuint32 {'out':True}
DeleteWin32_BaseServiceuint32 {'out':True}
InterrogateServiceWin32_BaseServiceuint32 {'out':True}
PauseServiceWin32_BaseServiceuint32 {'out':True}
ResumeServiceWin32_BaseServiceuint32 {'out':True}
StartServiceCIM_Serviceuint32 {'out':True}
StopServiceCIM_Serviceuint32 {'out':True}
UserControlServiceWin32_BaseServiceuint32 {'out':True}

Win32_BaseService properties

Win32_BaseService has 22 properties (12 Local, 10 Derived)

NameOriginCIMType
AcceptPauseWin32_BaseService11 [boolean]
AcceptStopWin32_BaseService11 [boolean]
CaptionCIM_ManagedSystemElement8 [string]
CreationClassNameCIM_Service8 [string]
DescriptionCIM_ManagedSystemElement8 [string]
DesktopInteractWin32_BaseService11 [boolean]
DisplayNameWin32_BaseService8 [string]
ErrorControlWin32_BaseService8 [string]
ExitCodeWin32_BaseService19 [uint32]
InstallDateCIM_ManagedSystemElement101 [datetime]
key
Name
CIM_ManagedSystemElement8 [string]
PathNameWin32_BaseService8 [string]
ServiceSpecificExitCodeWin32_BaseService19 [uint32]
ServiceTypeWin32_BaseService8 [string]
StartedCIM_Service11 [boolean]
StartModeCIM_Service8 [string]
StartNameWin32_BaseService8 [string]
StateWin32_BaseService8 [string]
StatusCIM_ManagedSystemElement8 [string]
SystemCreationClassNameCIM_Service8 [string]
SystemNameCIM_Service8 [string]
TagIdWin32_BaseService19 [uint32]

Detailed description of Win32_BaseService methods

Local methods (8) of Win32_BaseService class

Change method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
DisplayNamestring0-{'Description':'The DisplayName parameter passes the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the service control manager. DisplayName comparisons are always case-insensitive. Constraints: Accepts the same value as the Name parameter.Example: Atdisk ','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName']}
PathNamestring1-{'Description':'The PathName parameter passes the fully qualified path of the service binary file that implements the service.Example: \SystemRoot\System32\drivers\afd.sys','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName']}
ServiceTypeuint82-{'BitMap':['0', '1', '2', '3', '4', '5', '8'],'BitValues':['Kernel Driver', 'File System Driver', 'Adapter', 'Recognizer Driver', 'Own Process', 'Share Process'],'Description':'The ServiceType parameter passes the type of service provided to processes calling the service.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType']}
ErrorControluint83-{'Description':'If this service fails to start during startup, the ErrorControl parameter passes the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the system. The system does not notify the user of "Ignore" errors. With "Normal" errors the user is notified. With "Severe" errors, the system is restarted with the last-known-good configuration. Finally, on "Critical" errors, the system attempts to restart with a good configuration.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl'],'Values':['Ignore', 'Normal', 'Severe', 'Critical']}
StartModestring4-{'Description':'The StartMode property indicates the start mode of the Win32 base service. "Boot" specifies a device driver started by the operating system loader. This value is valid only for driver services. "System" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. "Automatic" specifies a service to be started automatically by the service control manager during system startup. "Manual" specifies a service to be started by the service control manager when a process calls the StartService function. "Disabled" specifies a service that can no longer be started.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType'],'ValueMap':['Boot', 'System', 'Automatic', 'Manual', 'Disabled'],'Values':['Boot Start', 'System Start', 'Auto Start', 'Demand Start', 'Disabled']}
DesktopInteractboolean5-{'Description':'The DesktopInteract parameter passes the value that indicates whether the service can create or communicate with windows on the desktop.Values: TRUE or FALSE. A value of TRUE indicates the service can create or communicate with windows on the desktop.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS']}
StartNamestring6-{'Description':'The StartName property indicates the account name the service runs under. Depending on the service type, the account name may be in the form of "DomainName\Username", The service process will be logged using one of these two forms when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. If NULL is specified, the service will be logged on as the LocalSystem account. For kernel or system-level drivers, StartName contains the driver object name (that is, \FileSystem\Rdr or \Driver\Xns) that the input and output (I/O) system uses to load the device driver. If NULL is specified, the driver runs with a default object name created by the I/O system based on the service name.Example: DWDOM\Admin.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName']}
StartPasswordstring7-{'Description':'The StartPassword parameter passes the password to the account name specified by the StartName parameter. Specify NULL if you are not changing the password. Specify an empty string if the service has no password. ','In':True,'MappingStrings':['Win32API|Service Functions|CreateService|lpPassword']}
LoadOrderGroupstring8-{'Description':'The LoadOrderGroup parameter passes the group name that it is associated with. Load order groups are contained in the system registry, and determine the sequence in which services are loaded into the operating system. If the pointer is NULL, or if it points to an empty string, the service does not belong to a group. Dependencies between groups should be listed in the LoadOrderGroupDependencies parameter. Services in the load-ordering group list are started first, followed by services in groups not in the load-ordering group list, followed by services that do not belong to a group. The system registry has a list of load ordering groups located at:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ServiceGroupOrder.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup']}
LoadOrderGroupDependenciesstring9-{'Description':'The LoadOrderGroupDependencies parameter passes a list of load ordering groups that must start before this service starts. The array is doubly null-terminated. If the pointer is NULL, or if it points to an empty string, the service has no dependencies. Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) character to differentiate them from service names because services and service groups share the same name space. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies']}
ServiceDependenciesstring10-{'Description':'The ServiceDependencies parameter passes a list containing names of services that must start before this service starts. The array is doubly null-terminated. If the pointer is NULL, or if it points to an empty string, the service has no dependencies. Dependency on a service means that this service can run only if the service it depends on is running.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies']}
Description'The Change method modifies a service. The Win32_LoadOrderGroup parameter represents a grouping of system services defining execution dependencies. The services must be initiated in the order specified by the Load Order Group as the services are dependent on each other. These dependent services require the presence of the antecedent services in order to function correctly.
Note: In order to use the Change method to change a service from network service to local system, the StartName and StartPassword input parameters should be given the following values:
startname = "localsystem"
startpassword = "" this is important, it needs to be an empty string, NOT null
To change to network service:
startname = "NT AUTHORITY\NetworkService"
startpassword = ""
The method returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|ChangeServiceConfig']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
Change method is in 4 classes of ROOT\cimv2 and in 6 namespaces
ChangeStartMode method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StartModestring0-{'Description':'The StartMode parameter passes the start mode of the Win32 base service. "Boot" specifies a device driver started by the operating system loader. This value is valid only for driver services. "System" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. "Automatic" specifies a service to be started automatically by the service control manager during system startup. "Manual" specifies a service to be started by the service control manager when a process calls the StartService function. "Disabled" specifies a service that can no longer be started.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType'],'ValueMap':['Boot', 'System', 'Automatic', 'Manual', 'Disabled'],'Values':['Boot Start', 'System Start', 'Auto Start', 'Demand Start', 'Disabled']}
Description'The ChangeStartMode method modifies the StartMode of a service. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Service Functions|ChangeServiceConfig|dwStartType']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
ChangeStartMode method is in 4 classes of ROOT\cimv2 and in 4 namespaces
Create method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Namestring0-{'Description':'The Name parameter passes the name of the service to install to the Create method. The maximum string length is 256 characters. The service control manager database preserves the case of the characters, but service name comparisons are always case insensitive. Forward-slashes (/) and double back-slashes (\) are invalid service name characters.','In':True,'MappingStrings':['Win32API|Service Functions|CreateServicelpServiceName']}
DisplayNamestring1-{'Description':'The DisplayName parameter passes the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the service control manager. DisplayName comparisons are always case-insensitive. Constraints: Accepts the same value as the Name parameter.Example: Atdisk.','In':True,'MappingStrings':['Win32API|Service Functions|CreateServicelpDisplayName']}
PathNamestring2-{'Description':'The PathName parameter passes the fully qualified path to the executable file that implements the service.Example: \SystemRoot\System32\drivers\afd.sys','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName ']}
ServiceTypeuint83-{'BitMap':['0', '1', '2', '3', '4', '5', '8'],'BitValues':['Kernel Driver', 'File System Driver', 'Adapter', 'Recognizer Driver', 'Own Process', 'Share Process'],'Description':'The ServiceType parameter passes the type of services provided to processes that call them.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType']}
ErrorControluint84-{'Description':'If the Create method fails to start, the ErrorControl parameter passes the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the system. The system does not notify the user of "Ignore" errors. With "Normal" errors the user is notified. With "Severe" errors, the system is restarted with the last-known-good configuration. Finally, on "Critical" errors, the system attempts to restart with a good configuration.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl'],'Values':['Ignore', 'Normal', 'Severe', 'Critical']}
StartModestring5-{'Description':'The StartMode parameter passes the start mode of the Win32 base service. "Boot" specifies a device driver started by the operating system loader. This value is valid only for driver services. "System" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. "Automatic" specifies a service to be started automatically by the service control manager during system startup. "Manual" specifies a service to be started by the service control manager when a process calls the StartService function. "Disabled" specifies a service that can no longer be started.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwStartType'],'ValueMap':['Boot', 'System', 'Automatic', 'Manual', 'Disabled'],'Values':['Boot Start', 'System Start', 'Auto Start', 'Demand Start', 'Disabled']}
DesktopInteractboolean6-{'Description':'The DesktopInteract parameter passes the value that indicates whether the service can create or communicate with windows on the desktop.Values: TRUE or FALSE. A value of TRUE indicates the service can create or communicate with windows on the desktop.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS']}
StartNamestring7-{'Description':'The StartName parameter passes the account name the service runs under. Depending on the service type, the account name may be in the form of "DomainName\Username".The service process will be logged using one of these two forms when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. If NULL is specified, the service will be logged on as the LocalSystem account. For a kernel or system-level drivers, StartName contains the driver object name (that is, \FileSystem\Rdr or \Driver\Xns) which the input and output (I/O) system uses to load the device driver. If NULL is specified, the driver runs with a default object name created by the I/O system based on the service name.Example: DWDOM\Admin.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName']}
StartPasswordstring8-{'Description':'The StartPassword parameter passes the password to the account name specified by the StartName parameter. Specify NULL if you are not changing the password. Specify an empty string if the service has no password. ','In':True,'MappingStrings':['Win32API|Service Functions|CreateService|lpPassword']}
LoadOrderGroupstring9-{'Description':'The LoadOrderGroup parameter passes the group name associated with the new service. Load order groups are contained in the registry, and determine the sequence in which services are loaded into the operating system. If the pointer is NULL or if it points to an empty string, the service does not belong to a group. Dependencies between groups should be listed in the LoadOrderGroupDependencies parameter. Services in the load-ordering group list are started first, followed by services in groups not in the load-ordering group list, followed by services that do not belong to a group. The registry has a list of load ordering groups located at:HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\ServiceGroupOrder.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpLoadOrderGroup']}
LoadOrderGroupDependenciesstring10-{'Description':'The LoadOrderGroupDependencies parameter passes a list of load ordering groups that must start before this service. The array is doubly null-terminated. If the pointer is NULL or if it points to an empty string, the service has no dependencies. Group names must be prefixed by the SC_GROUP_IDENTIFIER (defined in the WINSVC.H file) character to differentiate it from a service name, because services and service groups share the same name space. Dependency on a group means that this service can run if at least one member of the group is running after an attempt to start all members of the group.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies']}
ServiceDependenciesstring11-{'Description':'The ServiceDependencies parameter passes a list containing names of services that must start before this service starts. The array is doubly null-terminated. If the pointer is NULL, or if it points to an empty string, the service has no dependencies. Dependency on a service means that this service can only run if the service it depends on is running.','In':True,'MappingStrings':['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDependencies']}
ConstructorTrue
Description'The Create method creates a new service. The Win32_LoadOrderGroup parameter represents a grouping of system services defining execution dependencies. The services must be initiated in the order specified by the Load Order Group, as the services are dependent on each other. These dependent services require the presence of the antecedent services in order to function correctly. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|CreateService']
StaticTrue
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
Create method is in 11 classes of ROOT\cimv2 and in 14 namespaces
Delete method
Returnuint32 {'out':True}
Description'The Delete method deletes an existing service. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
DestructorTrue
ImplementedTrue
MappingStrings['Win32API|Service Functions|ChangeServiceConfig|DeleteService']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
Delete method is in 16 classes of ROOT\cimv2 and in 11 namespaces
InterrogateService method
Returnuint32 {'out':True}
Description'The InterrogateService method requests that the service update its state to the service manager. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|ControlService|dwControl|SERVICE_CONTROL_INTERROGATE']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
InterrogateService method is in 4 classes of ROOT\cimv2 and in 4 namespaces
PauseService method
Returnuint32 {'out':True}
Description'The PauseService method attempts to place the service in the paused state. It returns an integer value of 0 if the PauseService request was accepted, 1 if the request is not supported, and any other number to indicate an error. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|ControlService|dwControl|SERVICE_CONTROL_PAUSE']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
PauseService method is in 4 classes of ROOT\cimv2 and in 6 namespaces
ResumeService method
Returnuint32 {'out':True}
Description'The ResumeService method attempts to place the service in the resumed state. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|ControlService|dwControl|SERVICE_CONTROL_CONTINUE']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
ResumeService method is in 4 classes of ROOT\cimv2 and in 6 namespaces
UserControlService method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
ControlCodeuint80-{'Description':'The ControlCode parameter specifies defined values(from 128 to 255) that provide control commands specific to a user.','In':True,'MappingStrings':['Win32API|Service Functions|ControlService|dwControl']}
Description'The UserControlService method attempts to send a user-defined control code to a service. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|CreateService|dwDesiredAccess|SERVICE_USER_DEFINED_CONTROL']
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
UserControlService method is in 4 classes of ROOT\cimv2 and in 4 namespaces

Derived methods (2) of Win32_BaseService class

StartService method
Returnuint32 {'out':True}
Description'The StartService method attempts to place the service into its startup state. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|StartService']
Override'StartService'
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
StartService method is in 10 classes of ROOT\cimv2 and in 11 namespaces
StopService method
Returnuint32 {'out':True}
Description'The StopService method places the service in the stopped state. It returns an integer value of 0 if the service was successfully stopped, 1 if the request is not supported, and any other number to indicate an error. It returns one of the following integer values:
0 - The request was accepted.
1 - The request is not supported.
2 - The user did not have the necessary access.
3 - The service cannot be stopped because other services that are running are dependent on it.
4 - The requested control code is not valid, or it is unacceptable to the service.
5 - The requested control code cannot be sent to the service because the state of the service (Win32_BaseService:State) is equal to 0, 1, or 2.
6 - The service has not been started.
7 - The service did not respond to the start request in a timely fashion.
8 - Unknown failure when starting the service.
9 - The directory path to the service executable was not found.
10 - The service is already running.
11 - The database to add a new service is locked.
12 - A dependency for which this service relies on has been removed from the system.
13 - The service failed to find the service needed from a dependent service.
14 - The service has been disabled from the system.
15 - The service does not have the correct authentication to run on the system.
16 - This service is being removed from the system.
17 - There is no execution thread for the service.
18 - There are circular dependencies when starting the service.
19 - There is a service running under the same name.
20 - There are invalid characters in the name of the service.
21 - Invalid parameters have been passed to the service.
22 - The account, which this service is to run under is either invalid or lacks the permissions to run the service.
23 - The service exists in the database of services available from the system.
24 - The service is currently paused in the system.
Other - For integer values other than those listed above, refer to Win32 error code documentation.'
ImplementedTrue
MappingStrings['Win32API|Service Functions|ControlService|dwControl|SERVICE_CONTROL_STOP']
Override'StopService'
ValueMap['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '..']
Values['Success', 'Not Supported', 'Access Denied', 'Dependent Services Running', 'Invalid Service Control', 'Service Cannot Accept Control', 'Service Not Active', 'Service Request Timeout', 'Unknown Failure', 'Path Not Found', 'Service Already Running', 'Service Database Locked', 'Service Dependency Deleted', 'Service Dependency Failure', 'Service Disabled', 'Service Logon Failed', 'Service Marked For Deletion', 'Service No Thread', 'Status Circular Dependency', 'Status Duplicate Name', 'Status Invalid Name', 'Status Invalid Parameter', 'Status Invalid Service Account', 'Status Service Exists', 'Service Already Paused', 'Other']
StopService method is in 10 classes of ROOT\cimv2 and in 11 namespaces

Detailed description of Win32_BaseService properties

Local properties (12) of Win32_BaseService class

AcceptPause property
CIMTYPE'boolean'
Description'The AcceptPause property indicates whether the service can be paused.
Values: TRUE or FALSE. A value of TRUE indicates the service can be paused.'
DisplayName'Service Accepts Pause'
MappingStrings['Win32API|Service Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_PAUSE_CONTINUE']
readTrue
AcceptPause property is in 4 classes of ROOT\cimv2 and in 6 namespaces
AcceptStop property
CIMTYPE'boolean'
Description'The AcceptStop property indicates whether the service can be stopped.
Values: TRUE or FALSE. A value of TRUE indicates the service can be stopped.'
DisplayName'Service Accepts Stop'
MappingStrings['Win32API|Service Structures|SERVICE_STATUS|dwControlsAccepted|SERVICE_ACCEPT_STOP']
readTrue
AcceptStop property is in 4 classes of ROOT\cimv2 and in 6 namespaces
DesktopInteract property
CIMTYPE'boolean'
Description'The DesktopInteract property indicates whether the service can create or communicate with windows on the desktop.
Values: TRUE or FALSE. A value of TRUE indicates the service can create or communicate with windows on the desktop.'
DisplayName'Interacts With Desktop'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType|SERVICE_INTERACTIVE_PROCESS']
readTrue
DesktopInteract property is in 4 classes of ROOT\cimv2 and in 4 namespaces
DisplayName property
CIMTYPE'string'
Description'The DisplayName property indicates the display name of the service. This string has a maximum length of 256 characters. The name is case-preserved in the Service Control Manager. DisplayName comparisons are always case-insensitive.
Constraints: Accepts the same value as the Name property.
Example: Atdisk.'
DisplayName'Display Name'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpDisplayName']
readTrue
DisplayName property is in 5 classes of ROOT\cimv2 and in 30 namespaces
ErrorControl property
CIMTYPE'string'
Description'If this service fails to start during startup, the ErrorControl property specifies the severity of the error. The value indicates the action taken by the startup program if failure occurs. All errors are logged by the computer system. The computer system does not notify the user of "Ignore" errors. With "Normal" errors the user is notified. With "Severe" errors, the system is restarted with the last-known-good configuration. Finally, on"Critical" errors the system attempts to restart with a good configuration.'
DisplayName'Severity Of Startup Failure'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwErrorControl']
readTrue
ValueMap['Ignore', 'Normal', 'Severe', 'Critical', 'Unknown']
Values['Ignore', 'Normal', 'Severe', 'Critical', 'Unknown']
ErrorControl property is in 5 classes of ROOT\cimv2 and in 6 namespaces
ExitCode property
CIMTYPE'uint32'
Description'The ExitCode property specifies a Win32 error code defining any problems encountered in starting or stopping the service. This property is set to ERROR_SERVICE_SPECIFIC_ERROR (1066) when the error is unique to the service represented by this class, and information about the error is available in the ServiceSpecificExitCode member. The service sets this value to NO_ERROR when running, and again upon normal termination.'
DisplayName'Exit Code'
MappingStrings['Win32API|Service Structures|SERVICE_STATUS|dwWin32ExitCode']
readTrue
ExitCode property is in 4 classes of ROOT\cimv2 and in 8 namespaces
PathName property
CIMTYPE'string'
Description'The PathName property contains the fully qualified path to the service binary file that implements the service.
Example: \SystemRoot\System32\drivers\afd.sys'
DisplayName'File Path Name'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpBinaryPathName']
readTrue
PathName property is in 4 classes of ROOT\cimv2 and in 5 namespaces
ServiceSpecificExitCode property
CIMTYPE'uint32'
Description'The ServiceSpecificExitCode property specifies a service-specific error code for errors that occur while the service is either starting or stopping. The exit codes are defined by the service represented by this class. This value is only set when the ExitCodeproperty value is ERROR_SERVICE_SPECIFIC_ERROR, 1066.'
DisplayName'Server Specific Exit Code'
MappingStrings['Win32API|Service Structures|SERVICE_STATUS|dwServiceSpecificExitCode']
readTrue
ServiceSpecificExitCode property is in 4 classes of ROOT\cimv2 and in 4 namespaces
ServiceType property
CIMTYPE'string'
Description'The ServiceType property supplies the type of service provided to calling processes.'
DisplayName'Service Type'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwServiceType']
readTrue
ValueMap['Kernel Driver', 'File System Driver', 'Adapter', 'Recognizer Driver', 'Own Process', 'Share Process', 'Interactive Process']
Values['Kernel Driver', 'File System Driver', 'Adapter', 'Recognizer Driver', 'Own Process', 'Share Process', 'Interactive Process']
ServiceType property is in 5 classes of ROOT\cimv2 and in 5 namespaces
StartName property
CIMTYPE'string'
Description'The StartName property indicates the account name under which the service runs. Depending on the service type, the account name may be in the form of "DomainName\Username". The service process will be logged using one of these two forms when it runs. If the account belongs to the built-in domain, ".\Username" can be specified. If NULL is specified, the service will be logged on as the LocalSystem account. For kernel or system level drivers, StartName contains the driver object name (that is, \FileSystem\Rdr or \Driver\Xns) which the input and output (I/O) system uses to load the device driver. Additionally, if NULL is specified, the driver runs with a default object name created by the I/O system based on the service name.
Example: DWDOM\Admin.'
DisplayName'Starting Account Name'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|lpServiceStartName']
readTrue
StartName property is in 5 classes of ROOT\cimv2 and in 6 namespaces
State property
CIMTYPE'string'
Description'The State property indicates the current state of the base service.'
DisplayName'State'
MappingStrings['Win32API|Service Structures|SERVICE_STATUS|dwCurrentState ']
readTrue
ValueMap['Stopped', 'Start Pending', 'Stop Pending', 'Running', 'Continue Pending', 'Pause Pending', 'Paused', 'Unknown']
Values['Stopped', 'Start Pending', 'Stop Pending', 'Running', 'Continue Pending', 'Pause Pending', 'Paused', 'Unknown']
writeTrue
State property is in 10 classes of ROOT\cimv2 and in 36 namespaces
TagId property
CIMTYPE'uint32'
Description'The TagId property specifies a unique tag value for this service in the group. A value of 0 indicates that the service has not been assigned a tag. A tag can be used for ordering service startup within a load order group by specifying a tag order vector in the registry located at: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GroupOrderList. Tags are only evaluated for Kernel Driver and File System Driver start type services that have "Boot" or "System" start modes.'
DisplayName'Tag Id'
MappingStrings['Win32API|Service Structures|QUERY_SERVICE_CONFIG|dwTagId']
readTrue
TagId property is in 4 classes of ROOT\cimv2 and in 4 namespaces

Derived properties (10) of Win32_BaseService class

Caption property
CIMTYPE'string'
Description'The Caption property is a short textual description (one-line string) of the object.'
MaxLen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
CreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'CreationClassName indicates the name of the class or the subclass used in the creation of an instance. When used with the other key properties of this class, this property allows all instances of this class and its subclasses to be uniquely identified.'
readTrue
CreationClassName property is in 178 classes of ROOT\cimv2 and in 20 namespaces
Description property
CIMTYPE'string'
Description'The Description property provides a textual description of the object. '
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
InstallDate property
CIMTYPE'datetime'
Description'The InstallDate property is datetime value indicating when the object was installed. A lack of a value does not indicate that the object is not installed.'
MappingStrings['MIF.DMTF|ComponentID|001.5']
readTrue
InstallDate property is in 227 classes of ROOT\cimv2 and in 23 namespaces
Name property
CIMTYPE'string'
Description'The Name property uniquely identifies the service and provides an indication of the functionality that is managed. This functionality is described in more detail in the object's Description property. '
keyTrue
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
Started property
CIMTYPE'boolean'
Description'Started is a boolean indicating whether the service has been started (TRUE), or stopped (FALSE).'
readTrue
Started property is in 10 classes of ROOT\cimv2 and in 11 namespaces
StartMode property
CIMTYPE'string'
Description'The StartMode property indicates the start mode of the Win32 base service. "Boot" specifies a device driver started by the operating system loader. This value is valid only for driver services. "System" specifies a device driver started by the IoInitSystem function. This value is valid only for driver services. "Automatic" specifies a service to be started automatically by the service control manager during system startup. "Manual" specifies a service to be started by the service control manager when a process calls the StartService function. "Disabled" specifies a service that can no longer be started.'
DisplayName'Start Mode'
Override'StartMode'
readTrue
ValueMap['Boot', 'System', 'Auto', 'Manual', 'Disabled']
Values['Boot', 'System', 'Auto', 'Manual', 'Disabled']
StartMode property is in 10 classes of ROOT\cimv2 and in 15 namespaces
Status property
CIMTYPE'string'
Description'The Status property is a string indicating the current status of the object. Various operational and non-operational statuses can be defined. Operational statuses are "OK", "Degraded" and "Pred Fail". "Pred Fail" indicates that an element may be functioning properly but predicting a failure in the near future. An example is a SMART-enabled hard drive. Non-operational statuses can also be specified. These are "Error", "Starting", "Stopping" and "Service". The latter, "Service", could apply during mirror-resilvering of a disk, reload of a user permissions list, or other administrative work. Not all such work is on-line, yet the managed element is neither "OK" nor in one of the other states.'
MaxLen10
readTrue
ValueMap['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Values['OK', 'Error', 'Degraded', 'Unknown', 'Pred Fail', 'Starting', 'Stopping', 'Service', 'Stressed', 'NonRecover', 'No Contact', 'Lost Comm']
Status property is in 230 classes of ROOT\cimv2 and in 42 namespaces
SystemCreationClassName property
CIM_KeyTrue
CIMTYPE'string'
Description'The scoping System's CreationClassName. '
Propagated'CIM_System.CreationClassName'
readTrue
SystemCreationClassName property is in 122 classes of ROOT\cimv2 and in 20 namespaces
SystemName property
CIM_KeyTrue
CIMTYPE'string'
Description'The name of the system that hosts this service'
Propagated'CIM_System.Name'
readTrue
SystemName property is in 122 classes of ROOT\cimv2 and in 22 namespaces

Win32_BaseService Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AbstractTrue
CreateBy'Create'
DeleteBy'DeleteInstance'
Description'The Win32_BaseService class represents executable objects that are installed in a registry database maintained by the Service Control Manager. The executable file associated with a service can be started at boot time by a boot program or by the system. It can also be started on-demand by the Service Control Manager. Any service or process that is not owned by a specific user, and that provides an interface to some functionality supported by the computer system, is a descendent (or member) of this class.
Example: The dynamic host configuration protocol (DHCP) client service on a Windows NT/Windows 2000 computer system.'
DisplayName'System Drivers and Services'
Locale1033
provider'CIMWin32'
SupportsCreateTrue
SupportsDeleteTrue
UUID'{8502C4C4-5FBB-11D2-AAC1-006008C78BC7}'

Win32_BaseService System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_BaseService'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Service', 'CIM_LogicalElement', 'CIM_ManagedSystemElement']___SYSTEM8
__PROPERTY_COUNT22___SYSTEM3
__RELPATH'Win32_BaseService'___SYSTEM8
__DYNASTY'CIM_ManagedSystemElement'___SYSTEM8
__SUPERCLASS'CIM_Service'___SYSTEM8
__CLASS'Win32_BaseService'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_BaseService

Number of classes:117
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_BootService0102---
CIM_BootServiceAccessBySAP020---
CIM_ClusteringService0104---
CIM_ClusterServiceAccessBySAP020---
CIM_DeviceServiceImplementation020---
CIM_HostedBootService020---
CIM_HostedService120---
CIM_Service6102-40-
CIM_ServiceAccessBySAP320-27-
CIM_ServiceAccessPoint490-21-
CIM_ServiceSAPDependency020---
CIM_ServiceServiceDependency130-40-
CIM_SoftwareFeatureServiceImplementation020---
MSFT_NetBadServiceState040---
MSFT_NetDependOnLaterService030---
MSFT_NetServiceConfigBackoutFailed040---
MSFT_NetServiceControlSuccess050---
MSFT_NetServiceCrash070---
MSFT_NetServiceCrashNoAction040---
MSFT_NetServiceDifferentPIDConnected050---
MSFT_NetServiceExitFailed040---
MSFT_NetServiceExitFailedSpecific040---
MSFT_NetServiceLogonTypeNotGranted050---
MSFT_NetServiceNotInteractive030---
MSFT_NetServiceRecoveryFailed060---
MSFT_NetServiceShutdownFailed030---
MSFT_NetServiceSlowStartup040---
MSFT_NetServiceStartFailed040---
MSFT_NetServiceStartFailedGroup040---
MSFT_NetServiceStartFailedII050---
MSFT_NetServiceStartFailedNone040---
MSFT_NetServiceStartHung030---
MSFT_NetServiceStartTypeChanged060---
MSFT_NetServiceStatusSuccess040---
MSFT_NetServiceStopControlSuccess080---
MSFT_NetSevereServiceFailed030---
SoftwareLicensingService036261---
Win32_ApplicationService010232---
Win32_DependentService03040---
Win32_LoadOrderGroupServiceDependencies0202---
Win32_LoadOrderGroupServiceMembers02040---
Win32_PerfFormattedData_ADRMSDirectoryServices_ADRMSDirectoryServices04101--
Win32_PerfFormattedData_ADRMSServiceDiscovery_ADRMSServiceDiscovery04101--
Win32_PerfFormattedData_aspnetstate_ASPNETStateService01301--
Win32_PerfFormattedData_Counters_HTTPService01501--
Win32_PerfFormattedData_Counters_HTTPServiceRequestQueues015024---
Win32_PerfFormattedData_Counters_HTTPServiceUrlGroups018030---
Win32_PerfFormattedData_Counters_HyperVDynamicMemoryIntegrationService0100---
Win32_PerfFormattedData_Counters_ManagementODatawebservicestatistics0140----
Win32_PerfFormattedData_DFSNServerService_DFSNamespace0100----
Win32_PerfFormattedData_DFSNServerService_DFSNamespaceServiceAPIRequests013011---
Win32_PerfFormattedData_DFSNServerService_DFSNamespaceServiceReferrals01304---
Win32_PerfFormattedData_dfsr_DFSReplicationServiceVolumes01401---
Win32_PerfFormattedData_DirectoryServices_DirectoryServices015301---
Win32_PerfFormattedData_FaxService_FaxService0240---
Win32_PerfFormattedData_ftpsvc_MicrosoftFTPService02601---
Win32_PerfFormattedData_InetInfo_InternetInformationServicesGlobal03801--
Win32_PerfFormattedData_LocalSessionManager_TerminalServices01201--
Win32_PerfFormattedData_MicrosoftWindowsiSCSITargetServiceCounters_iSCSITarget01301--
Win32_PerfFormattedData_MicrosoftWindowsiSCSITargetServiceCounters_iSCSITargetDisks0170----
Win32_PerfFormattedData_msmq_MSMQService02001--
Win32_PerfFormattedData_MSRS2014WebService_MSRS2014WebService0310----
Win32_PerfFormattedData_MSRS2014WindowsService_MSRS2014WindowsService04001---
Win32_PerfFormattedData_ReportServer_ReportServerService03001--
Win32_PerfFormattedData_ServiceModel4000_ServiceModelEndpoint40000270----
Win32_PerfFormattedData_ServiceModel4000_ServiceModelOperation40000230----
Win32_PerfFormattedData_ServiceModel4000_ServiceModelService4000044016---
Win32_PerfFormattedData_ServiceModelEndpoint3000_ServiceModelEndpoint30000270----
Win32_PerfFormattedData_ServiceModelOperation3000_ServiceModelOperation30000230----
Win32_PerfFormattedData_ServiceModelService3000_ServiceModelService30000410----
Win32_PerfFormattedData_TermService_TerminalServicesSession02402---
Win32_PerfFormattedData_TSGateway_TerminalServiceGateway01501--
Win32_PerfFormattedData_W3SVC_WebService09504---
Win32_PerfFormattedData_W3SVC_WebServiceCache04901--
Win32_PerfFormattedData_WorkflowServiceHost4000_WorkflowServiceHost40000300----
Win32_PerfRawData_ADRMSDirectoryServices_ADRMSDirectoryServices04301--
Win32_PerfRawData_ADRMSServiceDiscovery_ADRMSServiceDiscovery04501--
Win32_PerfRawData_aspnetstate_ASPNETStateService01301--
Win32_PerfRawData_Counters_HTTPService01501--
Win32_PerfRawData_Counters_HTTPServiceRequestQueues015024---
Win32_PerfRawData_Counters_HTTPServiceUrlGroups018030---
Win32_PerfRawData_Counters_HyperVDynamicMemoryIntegrationService0100---
Win32_PerfRawData_Counters_ManagementODatawebservicestatistics0140----
Win32_PerfRawData_DFSNServerService_DFSNamespace0100----
Win32_PerfRawData_DFSNServerService_DFSNamespaceServiceAPIRequests014011---
Win32_PerfRawData_DFSNServerService_DFSNamespaceServiceReferrals01404---
Win32_PerfRawData_dfsr_DFSReplicationServiceVolumes01401---
Win32_PerfRawData_DirectoryServices_DirectoryServices017701---
Win32_PerfRawData_FaxService_FaxService0240---
Win32_PerfRawData_ftpsvc_MicrosoftFTPService02601---
Win32_PerfRawData_InetInfo_InternetInformationServicesGlobal04101--
Win32_PerfRawData_LocalSessionManager_TerminalServices01201--
Win32_PerfRawData_MicrosoftWindowsiSCSITargetServiceCounters_iSCSITarget01301--
Win32_PerfRawData_MicrosoftWindowsiSCSITargetServiceCounters_iSCSITargetDisks0230----
Win32_PerfRawData_msmq_MSMQService02001--
Win32_PerfRawData_MSRS2014WebService_MSRS2014WebService0310----
Win32_PerfRawData_MSRS2014WindowsService_MSRS2014WindowsService04001---
Win32_PerfRawData_ReportServer_ReportServerService03001--
Win32_PerfRawData_ServiceModel4000_ServiceModelEndpoint40000280----
Win32_PerfRawData_ServiceModel4000_ServiceModelOperation40000240----
Win32_PerfRawData_ServiceModel4000_ServiceModelService4000048016---
Win32_PerfRawData_ServiceModelEndpoint3000_ServiceModelEndpoint30000280----
Win32_PerfRawData_ServiceModelOperation3000_ServiceModelOperation30000240----
Win32_PerfRawData_ServiceModelService3000_ServiceModelService30000420----
Win32_PerfRawData_TermService_TerminalServicesSession02402---
Win32_PerfRawData_TSGateway_TerminalServiceGateway01501--
Win32_PerfRawData_W3SVC_WebService09504---
Win32_PerfRawData_W3SVC_WebServiceCache05401--
Win32_PerfRawData_WorkflowServiceHost4000_WorkflowServiceHost40000320----
Win32_RdvProvisioningService007----
Win32_Service125124040--
Win32_ServiceControl0903---
Win32_ServiceSpecification01812---
Win32_ServiceSpecificationService0202---
Win32_SessionBrokerServiceProperties0241--
Win32_SystemServices02040---
Win32_TerminalService027121---
comments powered by Disqus
online utility - toplist
WUtils.com