What's your name?

Enter your name to start a short security demo.

Blog

Step-by-Step: Creating and Applying a Group Policy Object (GPO)

Group Policy is one of the most powerful centralized management tools in an Active Directory environment — instead of a network admin visiting every single computer in the organization, they define a policy once and AD automatically applies it to all the targeted users or computers. Let's build a real GPO together.

Prerequisite
Group Policy only works in an environment where Active Directory Domain Services is installed and configured; if you don't have AD DS yet, install it first.

Step 1: Open Group Policy Management
From Server Manager, go to Tools and select Group Policy Management. On the left, you'll see the domain structure and Organizational Units (OUs).

Step 2: Create an OU (if you don't already have one)
GPOs are usually applied to a specific OU, not the whole domain. For example, let's say we want a policy that only applies to the IT department:
Right-click the domain name and select New > Organizational Unit.
Enter a name for the OU — e.g., "IT-Department."
Move the IT department's computers or users into this OU.

Step 3: Create a new GPO
Right-click the target OU (e.g., IT-Department) and select Create a GPO in this domain, and Link it here. Enter a name for the GPO — e.g., "Restrict-ControlPanel."

Step 4: Edit the GPO's settings
Right-click the newly created GPO and select Edit. In the Group Policy Management Editor window:
For example, follow this path to block access to Control Panel for users in this OU:
User Configuration > Policies > Administrative Templates > Control Panel
Double-click Prohibit access to Control Panel and PC settings, set it to Enabled, and click OK.

Step 5: Refresh settings on clients
Group Policy refreshes automatically every 90 minutes by default, but for an immediate test, run this from the command line on a client computer (that's a member of that OU):
gpupdate /force

After running this and having the user log out and back in once, Control Panel should now be inaccessible for that user.

Step 6: Verify with gpresult
To confirm which GPOs are applied to a specific computer or user:
gpresult /r

This command shows a summary of all applied GPOs — an essential tool for troubleshooting when a policy isn't applying as expected.

Why does Group Policy matter so much?
From restricting software installation, to enforcing strong passwords, to automatically deploying a network printer for a specific department — nearly every security or management policy in a Windows organization is applied through GPO. This is exactly the skill covered in full, with real organizational examples, in my MCSA courses.