Group Policy Objects Guide

FDN » Active Directory » Group Policy Objects Guide

Group Policy Objects Guide

Group Policy is a feature of Active Directory that allows administrators to centrally manage settings for users and computers. Settings are stored in Group Policy Objects (GPOs) and applied to OUs, domains, or sites.

How GPO Processing Works

GPOs are processed in this order (LSDOU):

  1. Local: The local GPO on each computer is processed first.
  2. Site: GPOs linked to the AD site.
  3. Domain: GPOs linked to the domain.
  4. OU: GPOs linked to the OU (parent OUs first, then child OUs).

If settings conflict, the last GPO applied wins (closest OU to the object).

Creating a GPO

  1. Open Active Directory Users and Computers.
  2. Right-click the target OU → PropertiesGroup Policy tab.
  3. Click New to create a GPO, then Edit to open the Group Policy Editor.

Common GPO Settings

CategorySettingPath
Password PolicyMinimum password lengthComputer → Windows Settings → Security Settings → Account Policies → Password Policy
Account LockoutLockout thresholdComputer → Windows Settings → Security Settings → Account Policies → Account Lockout Policy
DesktopRemove Run from Start menuUser → Administrative Templates → Start Menu & Taskbar
SoftwareAssign applicationsComputer → Software Settings → Software Installation
ScriptsLogon scriptUser → Windows Settings → Scripts (Logon/Logoff)

Troubleshooting GPOs

REM Force Group Policy refresh
secedit /refreshpolicy machine_policy
secedit /refreshpolicy user_policy

REM View applied GPOs (Windows XP / Server 2003+)
gpresult /v

REM On Windows 2000, use the Resource Kit tool:
gpresult.exe

Block Inheritance and No Override

  • Block Policy Inheritance: Prevents parent GPOs from applying to a child OU. Use sparingly.
  • No Override: Forces a GPO to apply even if a child OU blocks inheritance. Domain-level security policies often use this.
« Developer Network ‹ Managing Users and Groups in AD LDAP Queries for Active Directory ›