Services Attribute Class

This class contains information about a service running on a client computer. This class is included in a default hardware inventory operation.

Table C.50 Services Configuration Attribute Class (SMS_G_System_SERVICE)

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 the Windows operating system 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"Network DDE"Indicates the display name of the service.
ErrorControlstring"Normal"Indicates the level of error control for the service.
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.
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. Identifies the Service uniquely and provides an indication of the functionality that is managed. This functionality is described in more detail in the object’s Description property. Maximum length of name 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"OWN PROCESS"Indicates the type of service. For a SERVICE_WIN32 service, the SERVICE_INTERACTIVE_PROCESS flag might be set, indicating that the service process can interact with the desktop. (See the DesktopInteract property.)

Values are:
OWN PROCESS
SHARE PROCESS
KERNEL DRIVER
FILE SYSTEM DRIVER
INTERACTIVE PROCESS.

Starteduint320A 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. If the value is False, the service has been stopped.

StartModestring"Manual"Indicates the StartMode of the Win32 base service.

Values are:
Disabled
Manual
Automatic

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

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

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

Values are:
OK
Error
Degraded
Unknown

Maximum length is 10 characters.

SystemNamestring"SMS20NTWKS"Indicates the scoping system’s name. Maximum length is 256 characters.
TagIDuint320Indicates 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.