Set Copilot Hardware Key: registry value SetCopilotHardwareKeyUserHKCU\SOFTWARE\Policies\Microsoft\Windows\CopilotKey

Policy ID
SetCopilotHardwareKey
Scope
User Configuration
Supported on
At least Windows 11
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows Copilot

Registry

SetCopilotHardwareKey

REG_SZUser
Enabled value
Depends on the option value
Element
Enter App AUMID
Value type
REG_SZ
Required
true
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows\CopilotKey]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"SetCopilotHardwareKey"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\SOFTWARE\Policies\Microsoft\Windows\CopilotKey" /v "SetCopilotHardwareKey" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CopilotKey' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\CopilotKey' -Name 'SetCopilotHardwareKey' -PropertyType String -Value '<enter value>' -Force | Out-Null