Włącz lub wyłącz sekwencję SAS dla oprogramowania: wartość rejestru SoftwareSASGenerationKomputerHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System
- Identyfikator zasady
- SoftwareSASGeneration
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- System Windows Vista lub nowszy
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Składniki systemu Windows › Opcje logowania systemu Windows
Rejestr
SoftwareSASGeneration
REG_DWORDKomputer- Wartość włączona
- Zależy od wartości opcji
- Element
- Określ, jakie oprogramowanie może generować sekwencję SAS
| Pozycja | Zapisana wartość |
|---|---|
| Brak | 0 |
| Usługi | 1 |
| Aplikacje ułatwiające dostęp | 2 |
| Usługi i aplikacje ułatwiające dostęp | 3 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System] ; Opcje (użyj tylko jednej) ; Brak "SoftwareSASGeneration"=dword:00000000 ; Usługi "SoftwareSASGeneration"=dword:00000001 ; Aplikacje ułatwiające dostęp "SoftwareSASGeneration"=dword:00000002 ; Usługi i aplikacje ułatwiające dostęp "SoftwareSASGeneration"=dword:00000003
CMD
:: Opcje (użyj tylko jednej) :: Brak reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 0 /f :: Usługi reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 1 /f :: Aplikacje ułatwiające dostęp reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 2 /f :: Usługi i aplikacje ułatwiające dostęp reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 3 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null # Opcje (użyj tylko jednej) # Brak New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 0 -Force | Out-Null # Usługi New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 1 -Force | Out-Null # Aplikacje ułatwiające dostęp New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 2 -Force | Out-Null # Usługi i aplikacje ułatwiające dostęp New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 3 -Force | Out-Null