Configure user Group Policy loopback processing mode: registry value UserPolicyModeComputerHKLM\Software\Policies\Microsoft\Windows\System

Policy ID
UserPolicyMode
Scope
Computer Configuration
Supported on
At least Windows 2000
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
System › Group Policy

Registry

UserPolicyMode

REG_DWORDComputer
Enabled value
Depends on the option value
Element
Mode:
Options
ItemStored value
Merge1
Replace2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; Options (use only one)
; Merge
"UserPolicyMode"=dword:00000001
; Replace
"UserPolicyMode"=dword:00000002
CMD
:: Options (use only one)

:: Merge
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "UserPolicyMode" /t REG_DWORD /d 1 /f
:: Replace
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "UserPolicyMode" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Options (use only one)
# Merge
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'UserPolicyMode' -PropertyType DWord -Value 1 -Force | Out-Null
# Replace
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'UserPolicyMode' -PropertyType DWord -Value 2 -Force | Out-Null