Configurer les connecteurs d’agent : valeur de Registre ConfigureAgentConnectorsOrdinateurHKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsAI

ID de stratégie
ConfigureAgentConnectors
Étendue
Configuration ordinateur
Pris en charge sur
Au moins Windows Server 2016, Windows 10
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Windows AI

Registre

ConfigureAgentConnectors

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Configurer les connecteurs d’agent :
Options
EntréeValeur stockée
Utilisateur en contrôle0
Forcer l’activation1
Forcer la désactivation2
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (en utiliser une seule)
; Utilisateur en contrôle
"ConfigureAgentConnectors"=dword:00000000
; Forcer l’activation
"ConfigureAgentConnectors"=dword:00000001
; Forcer la désactivation
"ConfigureAgentConnectors"=dword:00000002
CMD
:: Options (en utiliser une seule)

:: Utilisateur en contrôle
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "ConfigureAgentConnectors" /t REG_DWORD /d 0 /f
:: Forcer l’activation
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "ConfigureAgentConnectors" /t REG_DWORD /d 1 /f
:: Forcer la désactivation
reg add "HKLM\Software\Policies\Microsoft\Windows\WindowsAI" /v "ConfigureAgentConnectors" /t REG_DWORD /d 2 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Force | Out-Null

# Options (en utiliser une seule)
# Utilisateur en contrôle
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'ConfigureAgentConnectors' -PropertyType DWord -Value 0 -Force | Out-Null
# Forcer l’activation
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'ConfigureAgentConnectors' -PropertyType DWord -Value 1 -Force | Out-Null
# Forcer la désactivation
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\WindowsAI' -Name 'ConfigureAgentConnectors' -PropertyType DWord -Value 2 -Force | Out-Null