Technical Anshu
Tutorials Blog
🗂️ Group Policy Tutorial

Active Directory Group Policy Full Tutorial User and Computer Policy Explained

One setting, applied from the server, reaching every PC and every user in the office — that is Group Policy. This tutorial explains GPOs properly: the user half, the computer half, where a GPO can be linked, and how to prove a policy actually applied.

✍️ Technical Anshu🪟 Windows Server / Active Directory⏱️ 10 minute read
🎥 Watch the full video — every GPO setting shown live in the Group Policy Management Console, step by step

Group Policy is how an Active Directory admin controls hundreds of computers without walking to any of them. Block USB drives, set the wallpaper, map drives, lock the screen after five minutes — all of it is one Group Policy Object (GPO) edited once on the server. But beginners hit the same wall: they configure a setting, link the GPO, and nothing happens. Nine times out of ten the reason is one of the basics on this page — the setting was put in the wrong half of the GPO, the GPO was linked to the wrong place, or nobody checked the result. Learn the model first and every GPO after that becomes predictable.

●●●Group Policy Management — Forest: office.local
office.local ├─ Domain Controllers ├─ Office-PCs ← OU holding computer accounts │ └─ 🔗 Block-USB-Drives (Computer settings) ├─ Office-Users ← OU holding user accounts │ └─ 🔗 Staff-Wallpaper-Drives (User settings) └─ Group Policy Objects ├─ Default Domain Policy ├─ Block-USB-Drives └─ Staff-Wallpaper-Drives

How a real GPMC tree looks — OUs hold the accounts, GPOs are linked to OUs, and the settings live inside the GPOs. Example names shown.

1

What a GPO Actually Is

A GPO is simply a named bundle of settings. It does nothing by itself. It starts working only when you link it to a container — a site, the domain, or an Organisational Unit (OU) — and it then applies to the user or computer accounts inside that container. Two facts follow from this, and they explain most beginner confusion. First, editing a GPO and linking a GPO are two separate jobs; a perfectly configured GPO that is not linked anywhere changes nothing. Second, one GPO can be linked to several OUs, and one OU can receive many GPOs — which is why the processing order (covered in its own guide) decides who wins when settings conflict.

Open the console with gpmc.msc on the domain controller or any PC with the RSAT tools installed. Everything in this tutorial happens in that one console.

2

Every GPO Has Two Halves — Computer and User

Open any GPO and you will see the same two sections: Computer Configuration and User Configuration. They are not two views of one list — they are two different toolboxes with different settings, applied at different times to different accounts.

  1. Computer Configuration — applies to the computer account. It is processed when the PC starts, before anyone logs on. Software installation for machines, startup scripts, USB blocking, Windows Update behaviour and security settings live here.
  2. User Configuration — applies to the user account. It is processed when a user logs on, on any PC. Wallpapers, drive mappings, folder redirection, logon scripts and Control Panel restrictions live here.

The honest rule: the account must sit under the linked OU, and the setting must be in the matching half. A wallpaper configured in Computer Configuration does nothing; a user setting linked to an OU that contains only computer accounts also does nothing. This single check fixes most "policy not working" cases.

3

Where You Link Decides Who Gets It

GPOs link at three levels: site (a physical office location), domain (everyone), and OU (one department or group). In small and medium offices almost all linking happens at OU level, because you first organise accounts into OUs — one for office PCs, one for staff users, one for laptops, and so on.

One trap deserves bold type: the built-in Computers and Users containers are not OUs, and you cannot link a GPO to them. New accounts land there by default, which is why a freshly joined PC ignores your policies. Move the account into a proper OU first. The two GPOs that exist by default — Default Domain Policy (password and account rules) and Default Domain Controllers Policy — are best left mostly alone; create your own GPOs for your own settings so you can switch them off without touching the defaults.

4

Create, Configure and Link Your First GPO

  1. In gpmc.msc, right-click Group Policy Objects → New → give it a name that says what it does, like Block-USB-Drives.
  2. Right-click the new GPO → Edit. The editor opens with the two halves.
  3. Configure your settings in the correct half and close the editor.
  4. Back in GPMC, right-click the target OU → Link an Existing GPO → select your GPO.
  5. On the client PC, restart it (for computer settings) or log off and back on (for user settings) — or force the refresh with the commands in the next step.

Naming honestly matters: after six months an office has forty GPOs, and names like "New GPO" or "test2" tell you nothing. Name by job, not by date.

5

Force It and Prove It — gpupdate and gpresult

Policies refresh on their own roughly every 90 minutes (with a random offset), but nobody tests that slowly. On the client PC, run:

  1. gpupdate /force — reapply all policies now. Some settings still honestly need a restart (computer settings, software installs) or a fresh logon (user settings); /force cannot skip physics.
  2. gpresult /r — the receipt. It lists exactly which GPOs applied to the computer and to the user, and which were filtered out and why.
  3. For a readable report, gpresult /h report.html creates an HTML page showing every winning setting and which GPO it came from.

Never judge a GPO by hope. gpresult /r is the proof, and it should be the first command you run whenever a policy "does not work".

One safety habit before you edit any working GPO: back it up first (right-click the GPO in GPMC → Back Up). Thirty seconds of backup is the difference between an experiment and an incident.

🔴 The three checks that solve most GPO problems: Is the setting in the correct half (user vs computer)? Is the account inside the OU the GPO is linked to? Does gpresult /r show the GPO as applied? Run these before changing anything else.

🎥 Watch the Complete GPO Tutorial

User policy and computer policy explained live on a real domain controller — create, link and test your first GPO with the video.

▶️ Watch Full Video
❓ Common Questions (FAQ)

What is the difference between user policy and computer policy?

Computer policy applies to the computer account and is processed at PC startup; user policy applies to the user account and is processed at logon. A setting only works when it is placed in the matching half of the GPO and the GPO is linked to an OU containing that kind of account.

How often do Group Policies refresh on their own?

Member PCs and servers refresh in the background roughly every 90 minutes with a random offset of up to 30 minutes. You do not have to wait — run gpupdate /force on the PC to refresh immediately, though some settings still need a restart or a new logon.

I linked a GPO but nothing happened. What should I check first?

Check that the account is actually inside the linked OU (the default Computers and Users containers cannot receive linked GPOs), that the setting is in the correct half of the GPO, and then run gpresult /r on the PC — it will show whether the GPO applied or was filtered out, and why.

This guide is based on the Active Directory GPO tutorial by Technical Anshu • Stuck on a step? Ask in the video comments — that is where answers come from 🙏