Base Services Class

The Win32_BaseService class represents any service or process that is not owned by a specific user and that provides an interface to some functionality that is supported by the system. This class is not included in a default hardware inventory operation.

Example: The Dynamic Host Configuration Protocol (DHCP) client service on a Windows NT system.

Table C.3 Base Services Attribute Class (SMS_BaseService)

Property
(Bold if collected)
Data
type

Example

Notes
AcceptPauseuint320Determines whether the service can be paused.

Values are:
1=True
0=False

If the value is True, the service can be paused.

AcceptStopuint320Determines whether the service can be stopped.

Values are:
1=True
0=False

If the value is True, the service can be stopped.

Captionstring"Network DDE"Describes the object. Maximum length is 64 characters.
Descriptionstring"Network DDE"Describes the object.
DesktopInteractuint320Determines whether the service can create or communicate with windows on the desktop.

Values are:
1=True
0=False

If the value is True, the service can create or communicate with windows on the desktop.

DisplayNamestring"Atdisk"Indicates the display name of the service. DisplayName accepts the same value as the Base Service class Name property.
GroupIDuint322Within one ResourceId (one SMS client), GroupID distinguishes one instance of a class from another. Objects with the same ResourceId and GroupID are deltas of one another, describing the same hardware inventory instance at different points in time. This is not a collectable property.
ErrorControlstring Indicates the level of error control for the service.
InstallDatedatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the object was installed. The absence of a value does not indicate that the object is not installed.
Namestring"NetDDE"Key. Defines the label that the object is known by. Maximum length is 256 characters.
PathNamestring"C:\\WINNT40\\
system32\\
netdde.exe"
Indicates the path of the executable file that implements the service.
ResourceIduint3242Key. Inventory items with the same ResourceId were all discovered on the same SMS client. The ResourceId identifies the SMS client.

A ResourceId is an integer generated for the sake of SQL; it is not unique outside the site and should be used only for short-term querying purposes. It is not a collectable property.

RevisionIDuint321Objects with the same ResourceId and GroupID are deltas, differentiated from one another by RevisionID number. The highest number is the most recent update. This is not a collectable property.
ServiceTypestring"SERVICE_
INTERACTIVE_
PROCESS"
Indicates the type of service. For a SERVICE_WIN32 service, you can set the SERVICE_INTERACTIVE_PROCESS flag to indicate that the service process can interact with the desktop.

Values are: SERVICE_WIN32_OWN_PROCESS, SERVICE_WIN32_SHARE_PROCESS, SERVICE_KERNEL_DRIVER, SERVICE_FILE_SYSTEM_DRIVER, SERVICE_INTERACTIVE_PROCESS.

Starteduint321A Boolean that indicates whether the service has been started or stopped.

Values are:
1=True
0=False

If the value is True, the service has been started.

StartModestring"Automatic"Indicates the start mode of the Win32 base service.

Values are:
Automatic
Disabled
Manual

StartNamestring"LocalSystem"Indicates the account name under which to run the service.
Statestring"Stopped"Indicates the state of the base service.

Values are:
Stopped
Start Pending
Stop Pending
Running
Continue Pending
Pause Pending
Paused
Unknown

Statusstring"OK"Indicates the current status of the object:

Values are:
OK
Error
Degraded
Unknown

Maximum length is 10 characters.

SystemNamestring"H52B2NT4"Indicates the scoping system’s name. Maximum length is 256 characters.
TagIduint321Indicates the tag identifier of the service.
TimeStampdatetimeSee “Date and Time Formats” at the beginning of Appendix B.Indicates when the information in this object was last revised. This is not a collectable property.