RSOP_SystemService class

The RSOP_SystemService WMI class represents the security policy setting that defines the start-up mode and access permissions for a particular system service. This class was added for Windows XP.

Note  Classes that derive from the RSOP_PolicySetting class must redefine the precedence property to be a key.

The following syntax is simplified from MOF code.

Syntax

class RSOP_SystemService : RSOP_SecuritySettings
{
  uint32 precedence;
  string SDDLString;
  string Service;
  uint32 StartupMode;
};

Members

The RSOP_SystemService class has these types of members:

  • Properties

Properties

The RSOP_SystemService class has these properties.

precedence

Data type: uint32

Access type: Read-only

Qualifiers: Key

Inherited from RSOP_PolicySetting.

SDDLString

Data type: string

Access type: Read-only

Security descriptor, in security descriptor string format, associated with this instance of the security policy setting.

Service

Data type: string

Access type: Read-only

Qualifiers: Key

Name of the system service associated with this instance of the security policy setting.

StartupMode

Data type: uint32

Access type: Read-only

Describes the type of startup mode. This property can have one of the following values.

Value Meaning
2

Automatic

3

Manual

4

Disabled

 

Remarks

The RSOP_SystemService class is derived from RSOP_SecuritySettings which is derived from RSOP_PolicySetting.

For more information, see Access Rights and Access Masks and Service Security and Access Rights.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

SceRsop.mof

See also

RSOP_SecuritySettings

RSOP_PolicySetting