GPMC
- Windows Server 2012 and newer: If the GPMC isn't present, it's automatically installed by AGPM.
- Windows 10 and newer: You must install the GPMC from RSAT before you install AGPM. For more information, see Remote Server Administration Tools (RSAT) for Windows.
Scenario requirements
Before you begin this scenario, create four user accounts. During the scenario, you'll assign one of the following AGPM roles to each of these accounts: AGPM Administrator (Full Control), Approver, Editor, and Reviewer. These accounts must be able to send and receive e-mail messages. Assign Link GPOs permission to the accounts that have the AGPM Administrator, Approver, and (optionally) Editor roles.
Link GPOs permission is assigned to members of Domain Administrators and Enterprise Administrators by default. To assign Link GPOs permission to additional users or groups (such as accounts that have the roles of AGPM Administrator or Approver), select the node for the domain and then select the Delegation tab, select Link GPOs, select Add, and select users or groups to which you want to assign the permission.
Steps for installing and configuring AGPM
You must complete the following steps to install and configure AGPM.
Step 1: Install AGPM Server
In this step, you install AGPM Server on the member server or domain controller that will run the AGPM Service, and you configure the archive. All AGPM operations are managed through this Windows service and are executed with the service's credentials. The archive managed by an AGPM Server can be hosted on that server or on another server in the same forest.
To install AGPM Server on the computer that will host the AGPM Service
- Sign in with an account that is a member of the Domain Admins group.
- Start the Microsoft Desktop Optimization Pack CD and follow the instructions on screen to select Advanced Group Policy Management - Server.
- In the Welcome dialog box, select Next.
- In the Microsoft Software License Terms dialog box, accept the terms and then select Next.
- In the Application Path dialog box, select a location in which to install AGPM Server. The computer on which AGPM Server is installed will host the AGPM Service and manage the archive. Select Next.
- In the Archive Path dialog box, select a location for the archive in relation to the AGPM Server. The archive path can point to a folder on the AGPM Server or elsewhere. However, you should select a location with sufficient space to store all GPOs and history data managed by this AGPM Server. Select Next.
- In the AGPM Service Account dialog box, select a service account under which the AGPM Service runs and then select Next. This account must be a member of either the Domain Admins group or, for a least-privilege configuration, the following groups in each domain managed by the AGPM Server:
- Group Policy Creator Owners
- Backup Operators
This account must be member of the local Administrators Group on the AGPM Server Computer. This is required to successfully handle
Additionally, this account requires Full Control permission for the following folders:
- The AGPM archive folder, for which this permission is automatically granted during the installation of AGPM Server if it's installed on a local drive.
- The local system temp folder, typically %windir%\temp.
Step 2: Install AGPM Client
Each Group Policy administrator—anyone who creates, edits, deploys, reviews, or deletes GPOs—must have AGPM Client installed on computers that they use to manage GPOs. The Change Control node, which you use to perform many of the GPO management tasks, appears in the Group Policy Management Console only if you install the AGPM Client. For this scenario, you install AGPM Client on at least one computer. You don't need to install AGPM Client on the computers of end users who don't perform Group Policy administration.
To install AGPM Client on the computer of a Group Policy administrator
- Start the Microsoft Desktop Optimization Pack CD and follow the instructions on screen to select Advanced Group Policy Management - Client.
- In the Welcome dialog box, select Next.
- In the Microsoft Software License Terms dialog box, accept the terms and then select Next.
- In the Application Path dialog box, select a location in which to install AGPM Client. Select Next.
- In the AGPM Server dialog box, type the DNS name or IP address for the AGPM Server and the port to which you want to connect. The default port for the AGPM Service is 4600. Don't clear the Allow Microsoft Management Console through the firewall check box unless you manually configure port exceptions or use rules to configure port exceptions. Select Next.
- In the Languages dialog box, select one or more display languages to install for AGPM Client.
- Select Install, and then select Finish to exit the Setup Wizard.
Step 3: Configure an AGPM Server connection
AGPM stores all versions of each controlled Group Policy Object (GPO), that is, each GPO for which AGPM provides change control, in a central archive. This lets Group Policy administrators view and change GPOs offline without immediately affecting the deployed version of each GPO.
In this step, you configure an AGPM Server connection and ensure that all Group Policy administrators connect to the same AGPM Server. (For information about how to configure multiple AGPM Servers, see Help for Advanced Group Policy Management.)
To configure an AGPM Server connection for all Group Policy administrators
- On a computer on which you have installed AGPM Client, sign in with the user account that you selected as the Archive Owner. This user has the role of AGPM Administrator (Full Control).
- Select Start, point to Administrative Tools, and then select Group Policy Management to open the GPMC.
- Edit a GPO that is applied to all Group Policy administrators.
- In the Group Policy Management Editor window, double-select User Configuration, Policies, Administrative Templates, Windows Components, and AGPM.
- In the details pane, double-select AGPM: Specify default AGPM Server (all domains).
- In the Properties window, select Enabled and type the DNS name or IP address and port (for example, server.contoso.com:4600) for the server hosting the archive. By default, the AGPM Service uses port 4600.
- Select OK, and then close the Group Policy Management Editor window. When Group Policy is updated, the AGPM Server connection is configured for each Group Policy administrator.
Step 4: Configure e-mail notification
As an AGPM Administrator (Full Control), you designate the e-mail addresses of Approvers and AGPM Administrators to whom an e-mail message that contains a request is sent when an Editor tries to create, deploy, or delete a GPO. You also determine the alias from which these messages are sent.
To configure e-mail notification for AGPM
- In Group Policy Management Editor , navigate to the Change Control folder
- In the details pane, select the Domain Delegation tab.
- In the From e-mail address field, type the e-mail alias for AGPM from which notifications should be sent.
- In the To e-mail address field, type the e-mail address for the user account to which you intend to assign the Approver role.
- In the SMTP server field, type a valid SMTP mail server.
- In the User name and Password fields, type the credentials of a user who has access to the SMTP service. Select Apply.
Step 5: Delegate access
As an AGPM Administrator (Full Control), you delegate domain-level access to GPOs, assigning roles to the account of each Group Policy administrator.
You can also delegate access at the GPO level instead of the domain level. For more information, see Help for Advanced Group Policy Management.
You should restrict membership in the Group Policy Creator Owners group so that it cannot be used to circumvent AGPM management of access to GPOs. (In the Group Policy Management Console, select Group Policy Objects in the forest and domain in which you want to manage GPOs, select Delegation, and then configure the settings to meet the needs of your organization.)
To delegate access to all GPOs throughout a domain
- On the Domain Delegation tab, select the Add button, select the user account of the Group Policy administrator to serve as Approver, and then select OK.
- In the Add Group or User dialog box, select the Approver role to assign that role to the account, and then select OK. (This role includes the Reviewer role.)
- Select the Add button, select the user account of the Group Policy administrator to serve as Editor, and then select OK.
- In the Add Group or User dialog box, select the Editor role to assign that role to the account, and then select OK. (This role includes the Reviewer role.)
- Select the Add button, select the user account of the Group Policy administrator to serve as Reviewer, and then select OK.
- In the Add Group or User dialog box, select the Reviewer role to assign only that role to the account.
Steps for managing GPOs
You must complete the following steps to create, edit, review, and deploy GPOs by using AGPM. Additionally, you'll create a template, delete a GPO, and restore a deleted GPO.
Step 1: Create a GPO
In an environment that has multiple Group Policy administrators, those with the Editor role can request that new GPOs be created. However, that request must be approved by someone with the Approver role.
In this step, you use an account that has the Editor role to request that a new GPO be created. Using an account that has the Approver role, you approve this request to create the GPO.
To request that a new GPO be created and managed through AGPM
- On a computer on which you have installed AGPM Client, sign in with a user account that is assigned the Editor role in AGPM.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- Right-select the Change Control node, and then select New Controlled GPO.
- In the New Controlled GPO dialog box:
- To receive a copy of the request, type your e-mail address in the Cc field.
- Type MyGPO as the name for the new GPO.
- Type a comment for the new GPO.
- Select Create live so that the new GPO will be deployed to the production environment immediately upon approval. Select Submit.
To approve the pending request to create a GPO
- On a computer on which you have installed AGPM Client, sign in with a user account that has the role of Approver in AGPM.
- Open the e-mail inbox for the account, and notice that you have received an e-mail message from the AGPM alias with the Editor's request to create a GPO.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- On the Contents tab, select the Pending tab to display the pending GPOs.
- Right-select MyGPO, and then select Approve.
- Select Yes to confirm approval and move the GPO to the Controlled tab.
Step 2: Edit a GPO
You can use GPOs to configure computer or user settings and deploy them to many computers or users. In this step, you use an account that has the Editor role to check out a GPO from the archive, edit the GPO offline, check the edited GPO into the archive, and request deployment of the GPO to the production environment. For this scenario, you configure a setting in the GPO to require that the password be at least eight characters long.
To check the GPO out from the archive for editing
- On a computer on which you have installed AGPM Client, sign in with a user account that has the role of Editor in AGPM.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- On the Contents tab in the details pane, select the Controlled tab to display the controlled GPOs.
- Right-select MyGPO, and then select Check Out.
- Type a comment to be displayed in the history of the GPO while it's checked out, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. On the Controlled tab, the state of the GPO is identified as Checked Out.
To edit the GPO offline and configure the minimum password length
- On the Controlled tab, right-select MyGPO, and then select Edit to open the Group Policy Management Editor window and change an offline copy of the GPO. For this scenario, configure the minimum password length:
- Under Computer Configuration, double-select Policies, Windows Settings, Security Settings, Account Policies, and Password Policy.
- In the details pane, double-select Minimum password length.
- In the properties window, select the Define this policy setting check box, set the number of characters to 8, and then select OK.
To check the GPO into the archive
- On the Controlled tab, right-select MyGPO and then select Check In.
- Type a comment, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. On the Controlled tab, the state of the GPO is identified as Checked In.
To request the deployment of the GPO to the production environment
- On the Controlled tab, right-select MyGPO and then select Deploy.
- Because this account isn't an Approver or AGPM Administrator, you must submit a request for deployment. To receive a copy of the request, type your e-mail address in the Cc field. Type a comment to be displayed in the history of the GPO, and then select Submit.
- When the AGPM Progress window indicates that overall progress is complete, select Close. MyGPO is displayed on the list of GPOs on the Pending tab.
Step 3: Review and deploy a GPO
In this step, you act as an Approver, creating reports and analyzing the settings and changes to settings in the GPO to determine whether you should approve them. After you evaluate the GPO, you deploy it to the production environment and link the GPO to a domain or an organizational unit (OU). The GPO takes effect when Group Policy is refreshed for computers in that domain or OU.
To review settings in the GPO
- On a computer on which you have installed AGPM Client, sign in with a user account that is assigned the role of Approver in AGPM. Any Group Policy administrator with the Reviewer role, which is included in all of the other roles, can review the settings in a GPO.
- Open the e-mail inbox for the account and notice that you have received an e-mail message from the AGPM alias with an Editor's request to deploy a GPO.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- On the Contents tab in the details pane, select the Pending tab.
- Double-select MyGPO to display its history.
- Review the settings in the most recent version of MyGPO:
- In the History window, right-select the GPO version with the most recent time stamp, select Settings, and then select HTML Report to display a summary of the GPO's settings.
- In the Web browser, select show all to display all the settings in the GPO. Close the browser.
- In the History window, select the GPO version with the most recent time stamp. Press CTRL and then select the oldest GPO version for which the Computer Version isn't \*.
- Select the Differences button. The Account Policies/Password Policy section is highlighted in green and preceded by [+]. This indicates that the setting is configured only in the latter version of the GPO.
- Select Account Policies/Password Policy. The Minimum password length setting is also highlighted in green and preceded by [+], indicating that it's configured only in the latter version of the GPO.
- Close the Web browser.
To deploy the GPO to the production environment
- On the Pending tab, right-select MyGPO and then select Approve.
- Type a comment to include in the history of the GPO.
- Select Yes. When the AGPM Progress window indicates that overall progress is complete, select Close. The GPO is deployed to the production environment.
To link the GPO to a domain or organizational unit
- In the GPMC, right-select either the domain or an organizational unit (OU) to which you want to apply the GPO that you configured, and then select Link an Existing GPO.
- In the Select GPO dialog box, select MyGPO, and then select OK.
Step 4: Use a template to create a GPO
In this step, you use an account that has the Editor role to create and use a template. That template is a static version of a GPO for use as a starting point for creating new GPOs. Although you can't edit a template, you can create a new GPO based on a template. Templates are useful for quickly creating multiple GPOs that include many of the same policy settings.
To create a template based on an existing GPO
- On a computer on which you have installed AGPM Client, sign in with a user account that is assigned the role of Editor in AGPM.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- On the Contents tab in the details pane, select the Controlled tab.
- Right-select MyGPO, and then select Save as Template to create a template incorporating all settings currently in MyGPO.
- Type MyTemplate as the name for the template and a comment, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. The new template appears on the Templates tab.
To request that a new GPO be created and managed through AGPM
- Select the Controlled tab.
- Right-select the Change Control node, and then select New Controlled GPO.
- In the New Controlled GPO dialog box:
- To receive a copy of the request, type your e-mail address in the Cc field.
- Type MyOtherGPO as the name for the new GPO.
- Type a comment for the new GPO.
- Select Create live so that the new GPO will be deployed to the production environment immediately upon approval.
- For From GPO template, select MyTemplate. Select Submit.
Use an account that is assigned the role of Approver to approve the pending request to create the GPO as you did in Step 1: Create a GPO. MyTemplate incorporates all the settings that you configured in MyGPO. Because MyOtherGPO was created using MyTemplate, it at first contains all the settings that MyGPO contained at the time that MyTemplate was created. You can confirm this by generating a difference report to compare MyOtherGPO to MyTemplate.
To check the GPO out from the archive for editing
- On a computer on which you have installed AGPM Client, sign in with a user account that is assigned the role of Editor in AGPM.
- Right-select MyOtherGPO, and then select Check Out.
- Type a comment to be displayed in the history of the GPO while it's checked out, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. On the Controlled tab, the state of the GPO is identified as Checked Out.
To edit the GPO offline and configure the account lockout duration
- On the Controlled tab, right-select MyOtherGPO, and then select Edit to open the Group Policy Management Editor window and change an offline copy of the GPO. For this scenario, configure the minimum password length:
- Under Computer Configuration, double-select Policies, Windows Settings, Security Settings, Account Policies, and Account Lockout Policy.
- In the details pane, double-select Account lockout duration.
- In the properties window, check Define this policy setting, set the duration to 30 minutes, and then select OK.
Check MyOtherGPO into the archive and request deployment as you did for MyGPO in Step 2: Edit a GPO. You can compare MyOtherGPO to MyGPO or to MyTemplate by using difference reports. Any account that includes the Reviewer role (AGPM Administrator [Full Control], Approver, Editor, or Reviewer) can generate reports.
To compare a GPO to another GPO and to a template
- To compare MyGPO and MyOtherGPO:
- On the Controlled tab, select MyGPO. Press CTRL and then select MyOtherGPO.
- Right-select MyOtherGPO, point to Differences, and then select HTML Report.
- On the Controlled tab, select MyOtherGPO.
- Right-select MyOtherGPO, point to Differences, and then select Template.
- Select MyTemplate and HTML Report, and then select OK.
Step 5: Delete and restore a GPO
In this step, you act as an Approver to delete a GPO.
To delete a GPO
- On a computer on which you have installed AGPM Client, sign in with a user account that is assigned the role of Approver.
- In the Group Policy Management Console tree, select Change Control in the forest and domain in which you want to manage GPOs.
- On the Contents tab, select the Controlled tab to display the controlled GPOs.
- Right-select MyGPO, and then select Delete. Select Delete GPO from archive and production to delete both the version in the archive and the deployed version of the GPO in the production environment.
- Type a comment to be displayed in the audit trail for the GPO, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. The GPO is removed from the Controlled tab and is displayed on the Recycle Bin tab, where it can be restored or destroyed.
Occasionally you may discover after you delete a GPO that it's still needed. In this step, you act as an Approver to restore a GPO that was deleted.
To restore a deleted GPO
- On the Contents tab, select the Recycle Bin tab to display deleted GPOs.
- Right-select MyGPO, and then select Restore.
- Type a comment to be displayed in the history of the GPO, and then select OK.
- When the AGPM Progress window indicates that overall progress is complete, select Close. The GPO is removed from the Recycle Bin tab and is displayed on the Controlled tab.
Note Restoring a GPO to the archive does not automatically redeploy it to the production environment. To return the GPO to the production environment, deploy the GPO as in Step 3: Review and deploy a GPO.
After editing and deploying a GPO, you may discover that recent changes to the GPO are causing a problem. In this step, you act as an Approver to roll back to an earlier version of the GPO. You can roll back to any version in the history of the GPO. You can use comments and labels to identify known good versions and when specific changes were made.
To roll back to an earlier version of a GPO
- On the Contents tab, select the Controlled tab to display the controlled GPOs.
- Double-select MyGPO to display its history.
- Right-select the version to be deployed, select Deploy, and then select Yes.
- When the Progress window indicates that overall progress is complete, select Close. In the History window, select Close.
Note To verify that the version that was redeployed is the version intended, examine a difference report for the two versions. In the History window for the GPO, select the two versions, right-click them, point to Difference, and then select either HTML Report or XML Report.