Expand Minimize

RSOP_RegistryPolicySetting class

The RSOP_RegistryPolicySetting WMI class represents policy data for registry or administrative template extension. Policy settings in an administrative template file (.adm) involve setting values on registry keys that are abstracted by this class. This class was added for Windows XP.

Note  Classes that derive from the RSOP_PolicySetting class must redefine both the id and the precedence properties to be keys.

The following syntax is simplified from MOF code.

Syntax

class RSOP_RegistryPolicySetting : RSOP_PolicySetting
{
  string  command;
  boolean deleted;
  string  id;
  uint32  precedence;
  string  registryKey;
  uint8   value[];
  string  valueName;
  uint32  valueType;
};

Members

The RSOP_RegistryPolicySetting class has these types of members:

Properties

The RSOP_RegistryPolicySetting class has these properties.

command
Data type: string
Access type: Read-only

Command to run on the registry key or value.

deleted
Data type: boolean
Access type: Read-only

Indicates whether the registry key or registry value has been deleted.

id
Data type: string
Access type: Read-only
Qualifiers: Key

Inherited from RSOP_PolicySetting.

precedence
Data type: uint32
Access type: Read-only
Qualifiers: Key

Inherited from RSOP_PolicySetting.

registryKey
Data type: string
Access type: Read-only

Name of the registry key.

value
Data type: uint8 array
Access type: Read-only

Value of the registry key, represented by an array of bytes.

valueName
Data type: string
Access type: Read-only

Name of the registry value.

valueType
Data type: uint32
Access type: Read-only

Data type of the registry value, such as REG_SZ.

Remarks

The RSOP_RegistryPolicySetting class is derived from RSOP_PolicySetting.

The registry policy settings that relate to Internet Explorer are stored in the RSOP_IERegistryPolicySetting WMI class, rather than in the RSOP_RegistryPolicySetting class. This is because the Internet Explorer Administration Kit (IEAK) UI displays only the RSoP data related to Internet Explorer management.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Namespace

\\.\root\RSOP

MOF

Rsopcls.mof

See also

Group Policy Overview
Group Policy RSoP WMI Classes
RSOP_PolicySetting

 

 

Show:
© 2014 Microsoft. All rights reserved.