Enable Group Policy Caching for Servers
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
System > Group Policy
Supported on
At least Windows Server 2012 R2, Windows 8.1 or Windows RT 8.1

Supported OS tags: Windows10, Windows10RT, Windows11, Windows81, WindowsRT81, WindowsServer2012R2, WindowsServer2016

This policy setting allows you to configure Group Policy caching behavior on Windows Server machines. If you enable this policy setting, Group Policy caches policy information after every background processing session. This cache saves applicable GPOs and the settings contained within them. When Group Policy runs in synchronous foreground mode, it refers to this cache, which enables it to run faster. When the cache is read, Group Policy attempts to contact a logon domain controller to determine the link speed. When Group Policy runs in background mode or asynchronous foreground mode, it continues to download the latest version of the policy information, and it uses a bandwidth estimate to determine slow link thresholds. (See the “Configure Group Policy Slow Link Detection” policy setting to configure asynchronous foreground behavior.) The slow link value that is defined in this policy setting determines how long Group Policy will wait for a response from the domain controller before reporting the link speed as slow. The default is 500 milliseconds. The timeout value that is defined in this policy setting determines how long Group Policy will wait for a response from the domain controller before determining that there is no network connectivity. This stops the current Group Policy processing. Group Policy will run in the background the next time a connection to a domain controller is established. Setting this value too high might result in longer waits for the user at boot or logon. The default is 5000 milliseconds. If you disable or do not configure this policy setting, the Group Policy client will not cache applicable GPOs or settings that are contained within the GPOs. When Group Policy runs synchronously, it downloads the latest version of the policy from the network and uses bandwidth estimates to determine slow link thresholds. (See the “Configure Group Policy Slow Link Detection” policy setting to configure asynchronous foreground behavior.)

Internal name
EnableLogonOptimizationOnServerSKU
Policy ID
4279418ea0a5
Elements
2

Registry values

How enabled and disabled states update the registry.

ScopeRegistry locationTypeEnabled valueDisabled valueCopy
Computer
Path
Software\Policies\Microsoft\Windows\System
Value name
EnableLogonOptimizationOnServerSKU
REG_DWORD
HKLM
1
HKLM
0
Registry location
Type REG_DWORD · Computer
Path
Software\Policies\Microsoft\Windows\System
Value name
EnableLogonOptimizationOnServerSKU
Hive
HKLM
Enabled value
1
Disabled value
0

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Slow link value:[number field] milliseconds
ID SyncModeSlowLinkThreshold1
decimal
Path
Software\Policies\Microsoft\Windows\System
Value name
SyncModeSlowLinkThresholdOnServerSKU
Type
REG_DWORD
Range: ? to 300000
Computer
Timeout value: [number field] milliseconds
ID SyncModeNoDCThreshold1
decimal
Path
Software\Policies\Microsoft\Windows\System
Value name
SyncModeNoDCThresholdOnServerSKU
Type
REG_DWORD
Range: ? to 600000
Slow link value:[number field] milliseconds
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows\System
Value name
SyncModeSlowLinkThresholdOnServerSKU
Type
REG_DWORD
Details
Range: ? to 300000
Timeout value: [number field] milliseconds
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows\System
Value name
SyncModeNoDCThresholdOnServerSKU
Type
REG_DWORD
Details
Range: ? to 600000