Group Policy basics: GPOs, links and processing order
-
Phase 0: Before you start
-
Phase 1: The foundation
-
Phase 2: Core administration and security
-
Phase 3: Enterprise infrastructure
-
Phase 4: Troubleshooting step by step
-
Phase 5: Final project and career
Nobody is going to walk round 500 computers to change one setting. With Group Policy you set it once in AD, and every matching computer and user picks it up on their own, within about 90 minutes or at the next sign-in.
You’ll start by redirecting new computers into the right OU and setting the domain password policy. Then you’ll create and link your first GPOs, map a drive and deploy Finance-Printer with Group Policy Preferences, and read the results with gpresult.
| Time | You need | By the end you can |
|---|---|---|
| About 75 minutes | DC01, SRV01 and CL01, with the shares from Lessons 16–17 and the printer from Lesson 18 | Create, link and filter GPOs, use Preferences for drives and printers, explain LSDOU processing order and check results with gpresult |
What it is, in one line
Group Policy is the Windows feature that pushes settings from Active Directory down to computers and users, through Group Policy Objects (GPOs) linked to sites, domains and OUs.
In Simple Words
School rules on the notice boards
Think of a school with rules on several notice boards: one for the whole district, one for the school, one for each block and one for each classroom. A student follows every board that covers them, and if two boards disagree, the one closest to the student wins, so the classroom rule beats the school rule. Some rules are about the rooms (lights off at 6) and others are about people (no running).
GPOs work the same way: you link them to the domain and to OUs, the closest link wins, and every GPO has a computer half and a user half.
Engineer's View
GPOs, links, LSDOU and filtering
GPOs: every GPO has a part in AD (the Group Policy container) and files in SYSVOL (the template), and both replicate to all DCs. The Computer Configuration half applies at startup and then every 90 minutes (plus a random 0–30 minutes), and the User Configuration half applies at sign-in and on the same cycle. Domain controllers refresh every 5 minutes.
Order (LSDOU): Local policy first, then Site, then Domain, then the OU links from the top OU down. Later settings overwrite earlier ones, which is why the closest OU wins. Block inheritance on an OU stops links from higher up, and Enforced on a link beats both blocks and lower links. Inside one OU, link order 1 is applied last and wins.
Filtering: a GPO applies to the users or computers that have Read and Apply group policy permissions on it (security filtering), and you can add WMI filters too. Since 2016 (MS16-072) computers read user GPOs as well, so Authenticated Users or Domain Computers must keep Read.
Policies vs Preferences: Policies are enforced, and they’re removed once the GPO no longer applies. Preferences (drive maps, printers, registry items, shortcuts) set a starting value that users can change, and they support item-level targeting. For domain accounts, account policies (password, lockout) only work from a GPO linked at the domain.
How it works, step by step
When Priya signs in to CL01, the policies are applied in this order:
CL01 sits in the Workstations OU, and Priya is in Finance under Staff. Computer settings come from the GPOs linked above CL01’s object and user settings from the ones linked above Priya’s, and that split trips up a lot of new admins.
By the end of the lab you’ll have these GPOs:
- Redirect new computers from CN=Computers to the Workstations OU.
- Edit the Default Domain Policy for the password and lockout policy.
- Create U-Staff-Desktop with a locked screen saver and a mapped drive, linked to Staff.
- Create U-Finance-Printer, filtered to GG_Finance, that adds the Finance printer.
- Check on CL01 with gpupdate and gpresult.
It helps to get into a naming habit: U- for GPOs that hold user settings and C- for computer settings. The first Break It shows you why.
Hands-on Lab: Group Policy for saatlab.internal
Before you run any command, double-check it
Read every command twice before you press Enter. Check the target: the system or account, the IDs, the names and the sizes. These commands are for learning and were tested in our lab, not on your system. At work, run the read-only list commands first, follow your change process, make sure a backup exists, and ask a second person to check anything that changes or deletes data. You run them at your own risk.
Start DC01, SRV01 and CL01, and work on DC01 as SAATLAB\Administrator. The Group Policy Management console (gpmc.msc) and the GroupPolicy PowerShell module come with the AD DS role.
1See the default GPOs and redirect new computers
On DC01, in PowerShell as administrator:
Get-GPO -All | Select-Object DisplayName, GpoStatus, CreationTime
redircmp "OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal"You should see something like this:
DisplayName GpoStatus CreationTime
----------- --------- ------------
Default Domain Policy AllSettingsEnabled 19/10/2026 15:02:11
Default Domain Controllers Policy AllSettingsEnabled 19/10/2026 15:02:11
Redirection was successful.Every domain starts out with these two GPOs. From now on, computers joined without an OU path go into Workstations, where policies can reach them, and no longer into the Computers container, where they can’t.
✅ Checkpoint: Two default GPOs are listed and redircmp reports “Redirection was successful.”
2Set the domain password and lockout policy
Open Group Policy Management, expand Forest, Domains, saatlab.internal, right-click Default Domain Policy and choose Edit. Go to Computer Configuration, Policies, Windows Settings, Security Settings, Account Policies.
Under Password Policy, set Minimum password length to 12. Under Account Lockout Policy, set Account lockout threshold to 10 invalid attempts and accept the 15-minute duration and reset values it suggests.
Close the editor, then apply and check on DC01:
gpupdate /force
Get-ADDefaultDomainPasswordPolicy | Select-Object MinPasswordLength, LockoutThreshold, LockoutDuration, ComplexityEnabledYou should see something like this:
MinPasswordLength LockoutThreshold LockoutDuration ComplexityEnabled
----------------- ---------------- --------------- -----------------
12 10 00:15:00 TrueDomain password rules have to be set in a GPO linked to the domain. If you put the same settings in a GPO linked to an OU, they only affect local accounts on the computers in that OU. When some users, admins for example, need different rules, you use fine-grained password policies (Lesson 22).
✅ Checkpoint: MinPasswordLength is 12 and LockoutThreshold is 10.
3Create U-Staff-Desktop with a locked screen saver
On DC01, create the GPO, add three policy settings and link it to Staff:
New-GPO -Name 'U-Staff-Desktop' -Comment 'Desktop settings for all staff' | Out-Null
$k = 'HKCU\Software\Policies\Microsoft\Windows\Control Panel\Desktop'
Set-GPRegistryValue -Name 'U-Staff-Desktop' -Key $k -ValueName ScreenSaveActive -Type String -Value '1' | Out-Null
Set-GPRegistryValue -Name 'U-Staff-Desktop' -Key $k -ValueName ScreenSaverIsSecure -Type String -Value '1' | Out-Null
Set-GPRegistryValue -Name 'U-Staff-Desktop' -Key $k -ValueName ScreenSaveTimeOut -Type String -Value '600' | Out-Null
New-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' | Select-Object DisplayName, Enabled, OrderYou should see something like this:
DisplayName Enabled Order
----------- ------- -----
U-Staff-Desktop True 1These are the same settings you’d find in the editor under User Configuration, Administrative Templates, Control Panel, Personalization: screen saver on, password-protected, after 10 minutes. Open the GPO in the editor and you’ll see them listed there.
✅ Checkpoint: U-Staff-Desktop exists and is linked to the Staff OU.
4Map the S: drive with Group Policy Preferences
In Group Policy Management, right-click U-Staff-Desktop and choose Edit. Go to User Configuration, Preferences, Windows Settings, Drive Maps, right-click and choose New, Mapped Drive.
Set Action to Update, Location to \\saatlab.internal\Files\Departments, tick Reconnect, Label as Departments, and Drive Letter Use: S. Click OK.
“Update” creates the drive if it’s missing and corrects it if it’s wrong, and it leaves other drives alone. Since the share uses ABE, everyone gets the same S: drive but sees only their own department’s folder.
✅ Checkpoint: The Drive Maps node shows S: pointing to the DFS path with action Update.
5Deploy the Finance printer to Finance only
On DC01, create and link the GPO, then filter it to GG_Finance:
New-GPO -Name 'U-Finance-Printer' | New-GPLink -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' | Out-Null
Set-GPPermission -Name 'U-Finance-Printer' -TargetName 'GG_Finance' -TargetType Group -PermissionLevel GpoApply | Out-Null
Set-GPPermission -Name 'U-Finance-Printer' -TargetName 'Authenticated Users' -TargetType Group -PermissionLevel GpoRead -Replace | Out-Null
Get-GPPermission -Name 'U-Finance-Printer' -All | Select-Object @{n='Trustee';e={$_.Trustee.Name}}, PermissionYou should see something like this:
Trustee Permission
------- ----------
GG_Finance GpoApply
Authenticated Users GpoRead
Domain Admins GpoEditDeleteModifySecurity
Enterprise Admins GpoEditDeleteModifySecurity
SYSTEM GpoEditDeleteModifySecurity
ENTERPRISE DOMAIN CONTROLLERS GpoReadOnly GG_Finance can apply the GPO, but Authenticated Users can still read it, which computers need since MS16-072. Now edit U-Finance-Printer: go to User Configuration, Preferences, Control Panel Settings, Printers, then New, Shared Printer. Set Action to Update and the share path to \\SRV01\FinancePrn, and click OK.
✅ Checkpoint: U-Finance-Printer applies to GG_Finance only, Authenticated Users keeps GpoRead, and it contains the shared printer item.
6Check the result on CL01
On CL01, sign in as SAATLAB\priya.sharma (or sign out and back in) and open PowerShell.
Run this:
gpupdate /force
gpresult /r /scope userYou should see something like this (shortened):
USER SETTINGS
--------------
CN=Priya Sharma,OU=Finance,OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal
Last time Group Policy was applied: 19/10/2026 at 17:52:04
Group Policy was applied from: DC01.saatlab.internal
Group Policy slow link threshold: 500 kbps
Domain Name: SAATLAB
Domain Type: Windows 2008 or later
Applied Group Policy Objects
-----------------------------
U-Finance-Printer
U-Staff-Desktop
The user is a part of the following security groups
---------------------------------------------------
Domain Users
GG_Finance
DL_FinanceShare_Modify
...Then check the drive and the printer:
Get-PSDrive S | Select-Object Name, DisplayRoot
Get-Printer | Where-Object Type -eq 'Connection' | Select-Object NameYou should see something like this:
Name DisplayRoot
---- -----------
S \\saatlab.internal\Files\Departments
Name
----
\\SRV01\FinancePrnDefault Domain Policy doesn’t appear in the user list because it has no user settings. To see the computer GPOs, run gpresult /r /scope computer as an administrator, and for a full HTML report use gpresult /h C:\Temp\gp.html.
✅ Checkpoint: gpresult lists both U- GPOs, S: is mapped to the DFS path, and the Finance printer is connected.

7See the processing order for an OU
On DC01, run this:
Get-GPInheritance -Target 'OU=Finance,OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' |
Select-Object -ExpandProperty InheritedGpoLinks | Select-Object Order, DisplayName, TargetYou should see something like this:
Order DisplayName Target
----- ----------- ------
1 U-Staff-Desktop ou=staff,ou=saatlab,dc=saatlab,dc=internal
2 U-Finance-Printer ou=staff,ou=saatlab,dc=saatlab,dc=internal
3 Default Domain Policy dc=saatlab,dc=internalThis is the list Windows works through for objects in Finance, highest precedence first, so when two GPOs set the same thing differently, the one with order 1 wins. GPMC shows you the same list on the OU’s Group Policy Inheritance tab.
✅ Checkpoint: Finance inherits both Staff GPOs and the Default Domain Policy.
Break It, Then Fix It
These are two mistakes that make people say “Group Policy doesn’t work”. It does work; it’s doing exactly what it was told to do.
1Break it: user settings linked to a computer OU
On DC01, move the U-Staff-Desktop link from Staff to Workstations:
Remove-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' | Out-Null
New-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal' | Out-NullOn CL01 as Priya, refresh and check:
gpupdate /force
gpresult /r /scope user | Select-String -Pattern 'U-'
Get-PSDrive S -ErrorAction SilentlyContinueYou’ll see something like this:
U-Finance-PrinterU-Staff-Desktop has dropped off Priya’s list, the screen saver lock no longer applies and new sign-ins don’t get S:. CL01 is in Workstations, but user settings follow the user’s OU, and Priya is in Finance, so the GPO is linked but there are no users below that link.
To fix it, link it back where the users are:
Remove-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Workstations,OU=SAATLAB,DC=saatlab,DC=internal' | Out-Null
New-GPLink -Name 'U-Staff-Desktop' -Target 'OU=Staff,OU=SAATLAB,DC=saatlab,DC=internal' -Order 1 | Out-NullSometimes you do need user settings based on the computer, on kiosks or Remote Desktop servers for example. That’s called loopback processing, and you’ll meet it in Lesson 20.
✅ Checkpoint: U-Staff-Desktop disappeared from gpresult when linked to Workstations and is back after relinking to Staff.
2Break it: security filtering without Read for computers
On DC01, remove Authenticated Users from U-Finance-Printer completely:
Set-GPPermission -Name 'U-Finance-Printer' -TargetName 'Authenticated Users' -TargetType Group -PermissionLevel None -Replace | Out-NullOn CL01 as Priya:
gpupdate /force
gpresult /r /scope userYou’ll see something like this:
Applied Group Policy Objects
-----------------------------
U-Staff-Desktop
The following GPOs were not applied because they were filtered out
-------------------------------------------------------------------
U-Finance-Printer
Filtering: Not Applied (Unknown Reason)Priya is in GG_Finance and GG_Finance has Apply, so at first this looks impossible. But CL01 reads user GPOs with its own computer account, and the computer can’t read this one any more. “Unknown Reason” is gpresult’s way of telling you the GPO couldn’t be read.
To fix it, give computers Read again:
Set-GPPermission -Name 'U-Finance-Printer' -TargetName 'Authenticated Users' -TargetType Group -PermissionLevel GpoRead -Replace | Out-NullGPMC actually warns you about this when you remove Authenticated Users from Security Filtering. Read that warning, and use the Delegation tab to keep Read.
✅ Checkpoint: U-Finance-Printer showed “Not Applied (Unknown Reason)” without Authenticated Users Read and applies again after the fix.

This happened at work
The GPO that locked admins out of every server
A security project wanted to stop ordinary staff from using Remote Desktop to reach their PCs. An admin built a GPO that set “Allow log on through Remote Desktop Services” to the Helpdesk group only, tested it on one PC, and it worked. So he linked it at the domain level to reach every PC. The trouble was that computer settings at the domain apply to every computer in the domain, servers and domain controllers included, and within 90 minutes the server admins couldn’t RDP to anything, because only Helpdesk could.
They got back in through the hypervisor consoles, signed in to a DC locally and unlinked the GPO, then waited for the servers to refresh, forcing it on the critical ones with Invoke-GPUpdate. By then monitoring had already paged half the team. The fix: the GPO was relinked to the Workstations OU only, every new GPO now spends a week in a pilot OU first, and any link change at the domain level needs a second approval.
The lesson: where you link a GPO matters as much as what’s inside it, so before you click OK, ask yourself which objects sit below that link.
Common mistakes and troubleshooting
| Mistake or symptom | What happens | What to do instead |
|---|---|---|
| User settings in a GPO linked to a computer OU | Nothing happens for users | Link user GPOs where the user accounts are |
| Removing Authenticated Users from security filtering | “Not Applied (Unknown Reason)” | Keep Authenticated Users or Domain Computers with Read |
| Password policy set in an OU-linked GPO | Domain accounts ignore it | Set domain password policy in a domain-linked GPO |
| Putting everything into Default Domain Policy | Hard to troubleshoot and to reset | Small, named GPOs per purpose |
| Expecting changes instantly | Clients refresh every 90–120 minutes | gpupdate /force for testing; plan for the delay |
| Linking new GPOs straight to the domain | Unexpected effects on servers and DCs | Test on a pilot OU first |
| New computers left in CN=Computers | No OU-linked policies reach them | redircmp to a real OU |
| Using Policies for things users should change | Users can’t adjust and call the helpdesk | Use Preferences for defaults |
| Not checking gpresult | Guessing why a setting is missing | gpresult /r or /h on the client, as the affected user |
Interview questions
Click a question to open it. Each one is phrased the way an interviewer would ask it, and underneath you’ll find why they ask it and one way you could answer in your own words.
Fresher level
1. Can you explain in simple words what a GPO is?
Why they ask this: They want to check the basics of Group Policy, since it is how most Windows settings are managed in a company.
How you might answer: A GPO, or Group Policy Object, is a set of computer and user settings stored in AD and in SYSVOL. You link it to a site, a domain or an OU, and it applies to the users and computers under that link.
2. Two GPOs set the same setting differently. Which one wins, and why?
Why they ask this: They want to see that you know the LSDOU processing order and can predict the result of a conflict.
How you might answer: Policies apply in the order Local, Site, Domain, OU, which people call LSDOU. The last one applied wins, so the GPO on the OU closest to the user or computer wins the conflict.
3. You changed a GPO, but a user says nothing happened on their PC. How do you force the update and see what applied?
Why they ask this: They want to know whether you’ve really troubleshot Group Policy and know the everyday commands.
How you might answer: On the client I’d run gpupdate /force, then gpresult /r as the affected user, or gpresult /h for a full report. The Group Policy Results wizard in GPMC also shows me what applied and what didn’t.
2–5 years experience
4. What’s the difference between Group Policy Policies and Preferences, and when would you pick each?
Why they ask this: They want to see that you know how each behaves, so you choose the right one for the job.
How you might answer: Policies are enforced, users can’t change them, and they’re removed when the GPO stops applying, so I use them for security settings. Preferences set values users can change, support item-level targeting and stay in place unless they’re set to remove, so I use them for things like mapped drives and printers.
5. Say you need a GPO to apply only to the sales team, but they share an OU with other people. How would you do it?
Why they ask this: They want to check that you know security filtering and the common mistake that makes a filtered GPO stop working.
How you might answer: I’d use security filtering and give the sales group the Apply group policy permission, but keep Authenticated Users or Domain Computers with Read, or the GPO may not apply at all. If it’s a Preference setting, I could also use item-level targeting inside the GPO.
6. How would you explain Block Inheritance and Enforced to a new admin?
Why they ask this: They want to see that you understand these precedence controls and know they should be used with care.
How you might answer: Block Inheritance on an OU stops GPOs linked higher up from applying to it. Enforced on a link makes that GPO win over lower links, and it even gets through a block. I’d tell them to use both sparingly, because they make it much harder to see why a setting applies.
Senior level
7. You join a 3,000-user company where all settings sit in two huge GPOs. How would you restructure Group Policy?
Why they ask this: They want to see that you design for easy maintenance and safe change, not just for working settings.
How you might answer: I’d split them into separate computer and user GPOs, one per purpose with clear names, linked along the OU structure, with security baselines in their own GPOs. I’d also add a pilot OU and change control, use a central store for ADMX files, and keep regular backups and documentation.
8. A setting applies on most computers but not on a few. How would you work out why?
Why they ask this: They want to see a structured way of troubleshooting, checking each layer in turn.
How you might answer: I’d use gpresult to confirm the OU and link, the security filtering and any WMI filters, then read the GroupPolicy Operational event log. After that I’d check that SYSVOL and AD have the same GPO version, that the computers can reach a DC, and whether another GPO is winning on precedence.
9. It’s 2 a.m. and a bad GPO change has just locked people out of remote access. What do you do?
Why they ask this: They want to see that you plan for mistakes, act calmly and know the fastest way back.
How you might answer: I’d unlink or disable the GPO straight away so it stops spreading, then restore the good version from a Backup-GPO copy. On critical systems I’d force the update with Invoke-GPUpdate, and use console access wherever remote access is still broken.
Quick quiz
Q1. In LSDOU, which link usually wins a conflict?
- Local policy
- The domain
- The OU closest to the object
Show answer
C — It’s applied last.
Q2. Where must the domain password policy be set?
- In any OU GPO
- In a GPO linked to the domain
- In the user’s properties
Show answer
B — OU-level password settings only affect local accounts.
Q3. Why did U-Staff-Desktop stop applying to Priya in Break It step 1?
- It was disabled
- It was linked to the computer’s OU, not the user’s
- The drive was wrong
Show answer
B — User settings follow the user’s OU.
Q4. What does “Not Applied (Unknown Reason)” usually mean after a filtering change?
- The GPO is empty
- The computer can no longer read the GPO
- The user is disabled
Show answer
B — Keep Read for Authenticated Users.
Q5. In the work story, what caused the lockout?
- A virus
- A workstation GPO linked at the domain level
- Expired passwords
Show answer
B — Check what’s below a link before linking.
Quick recap
- Group Policy pushes settings from GPOs linked to sites, domains and OUs.
- Processing order is LSDOU; the closest link wins, Enforced and Block Inheritance change that.
- Computer settings follow the computer’s OU, user settings follow the user’s OU.
- Security filtering needs Apply for the target group and Read for computers.
- Preferences handle drives and printers; Policies are enforced.
- Check results with
gpresult /ras the affected user.
Next lesson
Lesson 20: Group Policy advanced → You’ll set up the central store, use loopback processing, WMI filters and item-level targeting, back up and restore GPOs, model results before you link, and set up Folder Redirection.
Further reading: Group Policy
Want to go deeper into Group Policy? Microsoft’s Group Policy troubleshooting guidance lists the common causes of policies not applying, and the GroupPolicy PowerShell module covers the commands used here. You can also see the full plan for this course on the Windows Server Administration course page.
