Поделиться через


RSOP_ApplicationManagementPolicySetting Instance Types

Three types of RSOP_ApplicationManagementPolicySetting instances can exist in the RSoP namespace.

The following list contains the instance types, which are identified by the value of the EntryType property:

Because of this, multiple instances of the RSOP_ApplicationManagementPolicySetting class can exist for the same deployed application. For example, when the system applies an application to a computer at logon, the system generates an instance of the class for the application. (This instance has an EntryType property equal to "Applied".) When the logged-on user executes Add/Remove Programs, the system generates a set of RSOP_ApplicationManagementPolicySetting instances, one for each available application. The set includes another instance for the application applied at logon. (This instance has an EntryType property equal to "ARP".)

Applied Application Instances

Applied applications are those visible for use by the target. These applications include deployed software applications that have been applied to (installed on) the target. Applications that were considered for application to the target computer, but "lost" to other items, are also included. These instances of RSOP_ApplicationManagementPolicySetting can be identified by the EntryType property value "Applied".

ARP Application Instances

The ARP application instances of the RSOP_ApplicationManagementPolicySetting class are those representing applications that appear in the list of programs displayed by Add/Remove Programs in Control Panel. Applications that were considered for inclusion in the list, but "lost" to other list items, are also included. These instances are identified by the EntryType property value "ARP".

Because the system deletes old instances of RSOP_ApplicationManagementPolicySetting and generates new instances each time the user refreshes the program list, instances in the namespace are those generated the last time the user ran Add/Remove Programs. Previous instances are deleted each time the user executes Add/Remove Programs or refreshes the application list. If no user has run the item on a particular computer, no instances of RSOP_ApplicationManagementPolicySetting with the EntryType "ARP" will exist in the user namespace.

Be aware that the system does not log instances of RSOP_ApplicationManagementPolicySetting with the EntryType "ARP" for computer policy; it only logs instances for user policy.

Removed Application Instances

The removed application instances of the RSOP_ApplicationManagementPolicySetting class are those representing applications that have actually been removed from the resultant set of policy. These instances are identified by the EntryType property value "Removed".

Consider the following for this type of instance:

  • Each time an application is uninstalled or removed from the set of managed applications, the system changes the existing "Applied" instance for the application to a "Removed" instance. Various properties related to software removal are also set for the instance. These include the RemovalCause, RemovalType, and RemovingApplication properties.
  • The system maintains only instances that reflect the current state of the software installation policy that is applied to the target. After the system applies policy changes, the instances that reflect the previous state of policy are deleted.

Although RSoP data typically shows the current state of policy applied to a target, administrators are also interested in software removals that are the result of the application of policy.

For more information, see RSOP_ApplicationManagementPolicySetting.