Platform SDK: Group Policy

Policy User Interface

The Group Policy snap-in is a tool that hosts MMC snap-in extensions that manage policy settings. All functionality is provided by snap-in extensions.

The recommended method for providing policy settings specific to your application is to use an administrative template (.adm) file. To register your .adm file, select Administrative Templates from the Computer Settings or User Settings node, then select Add/Remove Templates from the Task menu. The Group Policy snap-in displays the information contained in the loaded .adm files as you navigate through the Administrative Templates node.

If your application must provide other types of policy settings, or you would like to provide a richer user interface for registry-based policy settings, create your own snap-in extension for the Group Policy snap-in. These snap-in extensions can communicate with the Group Policy snap-in using the IGPEInformation interface. For more information, see the Microsoft Management Console.

You can write your own snap-in to replace the Group Policy snap-in. For more information, see the IGroupPolicyObject interface and the CreateGPOLink function.