Group Policy and the registry
How Administrative Templates, Group Policy Preferences and Intune write registry values, and how to find which policy sets a key.
Administrative Templates are registry settings
Every setting under Administrative Templates in the Group Policy editor is defined in an .admx file that names a registry key, a value name and the data to write for Enabled and Disabled. The matching .adml file holds the text you read in the editor. This site's Group Policy dataset is built from those same files, so each policy page shows exactly which value it writes.
- Computer Configuration writes to
HKLM; User Configuration writes toHKCU. - Values land under the Policies branches, so they're removed when the GPO stops applying.
- Not configured means "write nothing": the application's default or the user's choice applies.
The Central Store
Domain controllers serve ADMX files from \\<domain>\SYSVOL\<domain>\Policies\PolicyDefinitions. Copy the newest Windows 11 and Windows Server templates and vendor templates (Microsoft 365 Apps, Edge, FSLogix, Citrix) there so every admin edits GPOs with the same definitions. Microsoft publishes a new Windows template package with each feature update.
Group Policy Preferences (Registry)
For values that have no ADMX policy (for example Schannel protocol keys or LongPathsEnabled on old templates), use Preferences > Windows Settings > Registry. Choose Create, Replace, Update or Delete, and use item-level targeting to aim at OS versions or groups. Preference values are written outside the Policies branches, so they stay on the machine after the GPO is removed unless you tick Remove this item when it is no longer applied.
Intune and MDM
Intune's Settings catalog and the Policy CSP set most of the same ADMX-backed policies; each Policy CSP article has an "ADMX mapping" table with the registry key and value name. For anything else, use a remediation script (detect and fix) or custom ADMX ingestion.
Find which policy sets a value
- Search this site for the value name. If an ADMX policy writes it, the result shows the policy and its Group Policy path.
- On the machine, run
gpresult /h report.html(elevated for computer settings) and look for the setting and the winning GPO. - Use
rsop.mscfor an interactive view, or Group Policy Management's Group Policy Results wizard for a remote machine. - Still unknown? Watch the key with Process Monitor during
gpupdate /forceto see which process writes it.
Apply and refresh
gpupdate /force # refresh now
gpupdate /target:computer /force
Invoke-GPUpdate -Computer srv01 -RandomDelayInMinutes 0 -Force # remotely, from GPMC tools
References: Create and manage the Central Store, Policy CSP, gpresult.