Set the DLP provider ID for Recall: registry value SetDataLossPreventionProviderKeyComputerHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

Policy ID
SetDataLossPreventionProvider
Scope
Computer Configuration, User Configuration
Supported on
At least Windows 11 Pro, Enterprise, or Education with Windows Sandbox
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Category
Windows Components › Windows AI

Registry

SetDataLossPreventionProviderKey

REG_SZComputerUser
Enabled value
Depends on the option value
Element
Enter the DLP provider ID:
Value type
REG_SZ
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsAI]

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

reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI" /v "SetDataLossPreventionProviderKey" /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 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetDataLossPreventionProviderKey' -PropertyType String -Value '<enter value>' -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

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

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"SetDataLossPreventionProviderKey"="<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\WindowsAI" /v "SetDataLossPreventionProviderKey" /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\WindowsAI' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\SOFTWARE\Policies\Microsoft\Windows\WindowsAI' -Name 'SetDataLossPreventionProviderKey' -PropertyType String -Value '<enter value>' -Force | Out-Null