Disable or enable software Secure Attention Sequence: registry value SoftwareSASGenerationComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
- Policy ID
- SoftwareSASGeneration
- Scope
- Computer Configuration
- Supported on
- At least Windows Vista
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Windows Logon Options
Registry
SoftwareSASGeneration
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Set which software is allowed to generate the Secure Attention Sequence
| Item | Stored value |
|---|---|
| None | 0 |
| Services | 1 |
| Ease of Access applications | 2 |
| Services and Ease of Access applications | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] ; Options (use only one) ; None "SoftwareSASGeneration"=dword:00000000 ; Services "SoftwareSASGeneration"=dword:00000001 ; Ease of Access applications "SoftwareSASGeneration"=dword:00000002 ; Services and Ease of Access applications "SoftwareSASGeneration"=dword:00000003
CMD
:: Options (use only one) :: None 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 :: Ease of Access applications reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 2 /f :: Services and Ease of Access applications reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 3 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null # Options (use only one) # None 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 # Ease of Access applications New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 2 -Force | Out-Null # Services and Ease of Access applications New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 3 -Force | Out-Null