Ouvrir dans l'explorateur

Autoriser Cortana au-dessus de l’écran de verrouillage

Allow Cortana above lock screen

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Rechercher EN : Computer Configuration › Policies › Administrative Templates › Windows Components › Search
Pris en charge sur
Au moins Windows Server 2016, Windows 10 EN : At least Windows Server 2016, Windows 10
Fichier ADMX
Search.admx
Nom interne
Search/AllowCortanaAboveLock

Explication

Texte français issu de Windows 11 26H2

Ce paramètre de stratégie détermine si l’utilisateur peut interagir ou non avec Cortana à l’aide de la voix alors que le système est verrouillé.

Si vous activez ce paramètre ou si vous ne le configurez pas, l’utilisateur peut interagir avec Cortana à l’aide de la voix alors que le système est verrouillé.

Si vous désactivez ce paramètre, le système doit être déverrouillé pour que l’utilisateur puisse interagir avec Cortana à l’aide de la voix.

This policy setting determines whether or not the user can interact with Cortana using speech while the system is locked.

If you enable or don’t configure this setting, the user can interact with Cortana using speech while the system is locked.

If you disable this setting, the system will need to be unlocked for the user to interact with Cortana using speech.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
Nom de la valeur
AllowCortanaAboveLock
ÉtatValeur écrite
ActivéREG_DWORD = 1
DésactivéREG_DWORD = 0

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : Search/AllowCortanaAboveLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCortanaAboveLock' -Value 1 -Type DWord

Désactiver

# Désactiver : Search/AllowCortanaAboveLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AllowCortanaAboveLock' -Value 0 -Type DWord

Revenir à « Non configuré »

# Revenir à « Non configuré » : Search/AllowCortanaAboveLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\Windows Search'
Remove-ItemProperty -Path $k -Name 'AllowCortanaAboveLock' -ErrorAction SilentlyContinue

Disponibilité