Softwarematige SAS (Secure Attention Sequence) inschakelen of uitschakelen: registerwaarde SoftwareSASGenerationComputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

Beleids-ID
SoftwareSASGeneration
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Vista
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Windows-aanmeldingsopties

Register

SoftwareSASGeneration

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Instellen welke software de SAS (Secure Attention Sequence) mag genereren
Opties
ItemOpgeslagen waarde
Geen0
Services1
Toegankelijkheidstoepassingen2
Services en toegankelijkheidstoepassingen3
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Geen
"SoftwareSASGeneration"=dword:00000000
; Services
"SoftwareSASGeneration"=dword:00000001
; Toegankelijkheidstoepassingen
"SoftwareSASGeneration"=dword:00000002
; Services en toegankelijkheidstoepassingen
"SoftwareSASGeneration"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: Geen
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
:: Toegankelijkheidstoepassingen
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 2 /f
:: Services en toegankelijkheidstoepassingen
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 3 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen
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
# Toegankelijkheidstoepassingen
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 2 -Force | Out-Null
# Services en toegankelijkheidstoepassingen
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 3 -Force | Out-Null