What is a Group Policy (GPO)?

With Group Policy, administrators centrally define how Windows PCs, servers and user environments are configured in an Active Directory domain.

Illustration of servers and infrastructure

A Group Policy is the central configuration management for Windows in an Active Directory domain. Settings such as password rules, firewall, screen lock or network drives are collected in a Group Policy Object (GPO) and automatically applied to the affected computers and users. A GPO consists of a part in Active Directory and files in the SYSVOL folder of the domain controllers.

Computer and user configuration

Every GPO has two parts: the computer configuration applies to the device, no matter who signs in, and is applied at startup. The user configuration follows the user to every PC and is applied at sign-in. Afterwards, Windows refreshes the policies in the background, by default every 90 minutes with a random offset of up to 30 minutes.

Linking and order (LSDOU)

A GPO only takes effect once it is linked to a site, the domain or an organizational unit (OU). It is applied in the order local, site, domain, OU – for nested OUs from the outside in. If settings conflict, the one applied last wins, which is usually the OU the object sits in. “Block inheritance”, “Enforced” as well as security and WMI filters affect where a GPO applies.

Policies and preferences

Policies are enforced; users cannot change them. Preferences (Group Policy Preferences), in contrast, set a value that users can change until the next refresh, such as a network drive. Note: if a GPO no longer applies, preferences stay in place by default unless “Remove this item when it is no longer applied” is selected. And: passwords do not belong in preferences – old entries of this kind in SYSVOL can be read by attackers.

Checking and refreshing

  • gpupdate /force reapplies all policies immediately.
  • gpresult /r shows which GPOs apply to the computer and user; gpresult /h creates a detailed HTML report.

Example: software deployment via GPO

Group Policy can install MSI packages from a share. Software assigned to a computer is installed at startup, software assigned to a user at sign-in; published software can be installed by users themselves from Control Panel. Things get tricky when the path to the share changes – our guide GPO software deployment after a file server move covers this. Our AAS Generator switches the MSI packages of a policy to the new source and regenerates the AAS files.

Group Policy and Intune

Group Policy requires a domain and connectivity to a domain controller. For devices joined only to Microsoft Entra ID, Microsoft Intune takes over this role. There is no LSDOU hierarchy there: policies are assigned to groups, and conflicting settings are reported as a conflict.

We clean up grown Group Policies and accompany the move to Intune – learn more about our IT infrastructure services.

More articles

What is phishing?

Phishing is one of the most common ways into a business network: fake messages that trick people into entering credentials, opening malware or making a payment.

What is Microsoft Entra ID?

Microsoft Entra ID – formerly Azure Active Directory – is the identity service of the Microsoft cloud. Users sign in to Microsoft 365, Azure and many other applications through it.

What is MFA (multi-factor authentication)?

With multi-factor authentication, a password alone is not enough: a second, independent proof protects the account even if the password has been stolen.

View all articles