Désactiver ou activer la séquence de touches de sécurité (SAS, Secure Attention Sequence) : valeur de Registre SoftwareSASGenerationOrdinateurHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

ID de stratégie
SoftwareSASGeneration
Étendue
Configuration ordinateur
Pris en charge sur
Au minimum Windows Vista
Source
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
Catégorie
Composants Windows › Options d’ouverture de session Windows

Registre

SoftwareSASGeneration

REG_DWORDOrdinateur
Valeur si activée
Dépend de la valeur de l'option
Élément
Définir quels logiciels sont autorisés à générer la séquence de touches de sécurité
Options
EntréeValeur stockée
Aucune0
Services1
Applications d’ergonomie2
Services et applications d’ergonomie3
Appliquer avec .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System]

; Options (en utiliser une seule)
; Aucune
"SoftwareSASGeneration"=dword:00000000
; Services
"SoftwareSASGeneration"=dword:00000001
; Applications d’ergonomie
"SoftwareSASGeneration"=dword:00000002
; Services et applications d’ergonomie
"SoftwareSASGeneration"=dword:00000003
CMD
:: Options (en utiliser une seule)

:: Aucune
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 0 /f
:: Services
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 1 /f
:: Applications d’ergonomie
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 2 /f
:: Services et applications d’ergonomie
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 3 /f
PowerShell
# Commun : créer la clé
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Options (en utiliser une seule)
# Aucune
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 0 -Force | Out-Null
# Services
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 1 -Force | Out-Null
# Applications d’ergonomie
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 2 -Force | Out-Null
# Services et applications d’ergonomie
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 3 -Force | Out-Null