Specify timeout for fast user switching events
Spécifier le délai d’expiration des événements de changement rapide d’utilisateur
Explanation
This policy setting specifies the number of seconds a pending fast user switch event will remain active before the switch is initiated. By default, a fast user switch event is active for 10 seconds before becoming inactive.
If you enable this policy setting, you can configure the fast user switch event timeout to specify the number of seconds the event remains active. This value cannot exceed 60 seconds.
If you disable or do not configure this policy setting, a default value of 10 seconds is used for fast-user switch event timeouts.
Ce paramètre de stratégie spécifie le nombre de secondes pendant lesquelles un événement de changement rapide d’utilisateur en attente reste actif avant que le changement ne soit effectué. Par défaut, un événement de changement rapide d’utilisateur devient inactif au bout de 10 secondes.
Si vous activez ce paramètre, vous pouvez configurer le délai d’expiration de l’événement de changement rapide d’utilisateur afin de spécifier le nombre de secondes pendant lesquelles l’événement doit rester actif. Cette valeur ne peut pas excéder 60 secondes.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, une valeur par défaut de 10 secondes est appliquée au délai d’expiration du changement rapide d’utilisateur.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Biometrics\Credential Provider- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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: Biometrics/Biometrics_FUSTimeout
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\Credential Provider'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Timeout in seconds
Set-ItemProperty -Path $k -Name 'SwitchTimeoutInSeconds' -Value 10 -Type DWord # between 5 and 60Disable
# Disable: Biometrics/Biometrics_FUSTimeout
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": Biometrics/Biometrics_FUSTimeout
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Biometrics\Credential Provider'
Remove-ItemProperty -Path $k -Name 'SwitchTimeoutInSeconds' -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Timeout in seconds:Délai d’expiration en secondes :Pol_Biometrics_FUSTimeout | Numeric boxdecimal | SwitchTimeoutInSeconds | REG_DWORD | Min: 5 · Max: 60 · Default (UI): 10 |