Open in the explorer

Configure dynamic lock factors

Configurer les facteurs de verrouillage dynamique

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Windows Hello for Business FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Windows Hello Entreprise
Supported on
At least Windows 10 FR: Au minimum Windows 10
ADMX file
Passport.admx
Internal name
Passport/MSPassport_UseDynamicLock

Explanation

Configure a comma separated list of signal rules in the form of xml for each signal type.

If you enable this policy setting, these signal rules will be evaluated to detect user absence and automatically lock the device.

If you disable or do not configure this policy setting, users can continue to lock with existing locking options.

For more information see: https://go.microsoft.com/fwlink/?linkid=849684

French text from Windows 11 26H2

Configurez une liste séparée par des virgules pour les règles de signal, avec un fichier XML par signal.

Si ce paramètre de stratégie est activé, ces règles de signal seront évaluées pour détecter l'absence de l'utilisateur et automatiquement verrouiller l'appareil.

Si ce paramètre de stratégie est désactivé ou n'est pas configuré, les utilisateurs pourront continuer à utiliser les options de déverrouillage existantes.

Pour plus d'informations, voir : https://go.microsoft.com/fwlink/?linkid=849684

Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\PassportForWork\DynamicLock
Value name
DynamicLock
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: Passport/MSPassport_UseDynamicLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DynamicLock'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DynamicLock' -Value 1 -Type DWord
# Signal rules for dynamic lock
Set-ItemProperty -Path $k -Name 'Plugins' -Value '<value>' -Type String

Disable

# Disable: Passport/MSPassport_UseDynamicLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DynamicLock'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'DynamicLock' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": Passport/MSPassport_UseDynamicLock
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\PassportForWork\DynamicLock'
Remove-ItemProperty -Path $k -Name 'DynamicLock' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'Plugins' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Signal rules for dynamic lockRègles de signal pour le verrouillage dynamiqueMSPassport_UseDynamicLock_PluginsText boxtextPluginsREG_SZ
Default (UI): <rule schemaVersion="1.0"> <signal type="bluetooth" scenario="Dynamic Lock" classOfDevice="512" rssiMin="-10" rssiMaxDelta="-10"/> </rule>

Availability

Windows Server