Agent Consent Duration
Jump to overview

Policy overview

Key metadata and intent for this policy.

Computer
Category
Windows Components > Windows AI
Supported on
At least Windows 11 Pro, Enterprise, or Education with Windows Sandbox

Supported OS tags: Windows11

Specifies how long, in hours, an “Allow” consent response for agent capabilities remains valid before the user is prompted again. If this policy is enabled, the value must be from 1 (1 hour) to 8760 (1 year). The configured value is used as the default expiration time for all “Allow” consent responses for agent capabilities. If this policy is not configured, or if the value is outside the allowed range, the default is 720 hours (30 days).

Internal name
AgentConsentDuration
Policy ID
758cd26e4bac
Elements
1

Registry values

How enabled and disabled states update the registry.

No explicit registry values are set for enabled or disabled states.

Policy elements

Inputs and configuration options exposed by this policy.

ScopeElementTypeRegistry mappingConstraints & behaviorCopy
Computer
Consent duration (hours):
ID AgentConsentDuration_Value
decimal
Path
Software\Policies\Microsoft\Windows\WindowsAI
Value name
AgentConsentDuration
Type
REG_DWORD
Range: 1 to 8760
Consent duration (hours):
Computer · Type decimal
Registry mapping
Path
Software\Policies\Microsoft\Windows\WindowsAI
Value name
AgentConsentDuration
Type
REG_DWORD
Details
Range: 1 to 8760