Group Policy

Also known as: GPO · Group Policy Object

On this page 7

Group Policy is the Windows feature that centrally defines and enforces configuration settings for computers and users, delivered as Group Policy Objects (GPOs) that are linked to sites, domains or organizational units in Active Directory, or applied locally on a single machine. In Windows administration, it is the traditional mechanism for controlling security baselines, desktop restrictions, software settings, scripts and drive mappings across an entire organization from one place.

Each Windows client periodically asks a domain controller which GPOs apply to it and to the signed-in user, then client-side extensions apply the settings. Because policy is reapplied regularly, Group Policy is a desired-state system: settings drift back to the defined values even if a user or a program changes them.

How Group Policy is structured

A domain GPO is stored in two parts. The Group Policy Container lives in Active Directory and holds version and status data, while the Group Policy Template is a folder in the SYSVOL share that contains the actual settings files, scripts and templates, replicated to every domain controller.

Inside every GPO, settings are split into two halves that apply at different moments.

SectionApplies toWhen it is processedTypical content
Computer ConfigurationComputer accountsStartup and background refreshSecurity options, firewall, updates, services
User ConfigurationUser accountsLogon and background refreshDesktop restrictions, drive maps, folder redirection
The two halves of a Group Policy Object

Each half further divides into Policies, which are enforced and removed when the GPO no longer applies, and Preferences, which set initial values that users may change and which by default remain after the GPO is removed. Mixing up the two is a classic source of unexpected leftover settings.

Processing order and precedence

GPOs are applied in the order local, site, domain, organizational unit, often abbreviated LSDOU. When two GPOs configure the same setting, the one processed last wins, so a GPO linked to a child organizational unit normally overrides one linked at the domain level.

ControlEffectTypical use
Link orderDecides precedence among GPOs on the same containerFine-tuning within one OU
EnforcedPrevents lower-level GPOs from overriding the linkMandatory security baselines
Block inheritanceStops GPOs from parent containers, except enforced onesSpecial-purpose OUs such as kiosks
Security filteringApplies the GPO only to selected groupsTargeting a department or role
WMI filteringApplies the GPO only if a query is trueTargeting by OS version or hardware
Loopback processingApplies user settings based on the computer’s locationTerminal servers and shared lab machines
Controls that change normal precedence

Loopback has two modes. Merge mode combines the user’s normal settings with those from the computer’s OU, while replace mode uses only the computer’s OU settings, which gives predictable sessions on shared systems.

Refresh behavior and the main tools

Domain members refresh policy in the background every 90 minutes with a random offset of up to 30 minutes, and domain controllers refresh every 5 minutes. Some extensions, such as software installation and folder redirection, apply only during startup or logon, so a change may need a restart or a new sign-in to take effect.

ToolPurposeNotes
Group Policy Management ConsoleCreate, link, back up and report on domain GPOsOpened with gpmc.msc
Local Group Policy EditorEdit the local GPO on one computerOpened with gpedit.msc; absent in Home editions
gpupdateTriggers an immediate refreshgpupdate /force reapplies all settings
gpresultShows the resulting applied policygpresult /h report.html gives a full report
Group Policy ModelingSimulates results before changesUseful for planning OU moves
Essential Group Policy tools

Most settings come from ADMX administrative templates, which describe registry-based policies. Storing them in the Central Store in SYSVOL keeps every administrator editing against the same template versions.

Group Policy compared with other management methods

Group Policy is no longer the only way to manage Windows. Cloud-joined and remote devices often rely on mobile device management, and the choice depends on how devices are joined and connected.

MethodRequiresStrengthLimitation
Group PolicyActive Directory domain join and line of sight to a DCMature, thousands of settingsWeak for devices that rarely reach the network
Microsoft IntuneMicrosoft Entra ID join or enrollmentWorks over the internetNot every Group Policy setting has an equivalent
Direct registry editsLocal administrator accessQuick for single machinesNo central control or reporting
Local security policyAccess to one computerNo domain neededDoes not scale
Group Policy and alternative configuration methods

Many organizations run a hybrid model during migration. Clear ownership of each setting is essential, because when both Group Policy and MDM configure the same item, conflicting values lead to inconsistent results that are hard to diagnose.

Common mistakes and troubleshooting

Most Group Policy problems come from scope and precedence, not from the setting itself. The table lists frequent symptoms and their usual causes.

SymptomLikely causeFix
Setting never appliesGPO linked to an OU that does not contain the objectCheck the link location and the object’s OU
Applies to nobody after filteringAuthenticated Users removed without read permission for computersGrant read to Domain Computers
Value overriddenAnother GPO with higher precedenceReview the gpresult winning GPO
Slow logonsSynchronous scripts or many large GPOsConsolidate GPOs and remove unused scripts
Changes differ between DCsSYSVOL replication failureCheck DFS Replication health
Typical Group Policy problems

A disciplined approach helps: keep one purpose per GPO, name GPOs clearly, test in a pilot OU, and back up GPOs before changes through the management console.

In plain words

Group Policy is a central rulebook for Windows computers in an organization. Instead of setting up every laptop by hand, an administrator writes a rule once, such as requiring a screen lock after ten minutes, and every computer in the right group follows it.

Computers check the rulebook regularly, so if someone changes a protected setting, it is put back at the next check. Rules written for a smaller group can override rules for the whole company.

A real-world example

A regional accounting firm with 300 employees must meet a client audit requirement that all workstations lock after 10 minutes of inactivity, use encrypted drives and block USB storage. Its administrator creates a GPO named for the security baseline and links it to the domain with the Enforced option.

A second GPO, linked only to the reception OU, sets a longer screen saver timeout of 30 minutes for the lobby display computer. Because that OU sits lower in the hierarchy, the setting would normally win, but the enforced baseline keeps the 10-minute value. This is the intended outcome, because an enforced link cannot be blocked by a lower OU, so the administrator removes the conflicting setting from the reception GPO and documents why the baseline takes priority.

Before the audit, the administrator runs gpresult /h on sample machines to prove which GPO supplied each setting. The audit passes with a report for every workstation, generated in minutes rather than by inspecting machines individually.