ソフトウェアの Secure Attention Sequence を無効または有効にする のレジストリ値 SoftwareSASGenerationコンピューターHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

ポリシー ID
SoftwareSASGeneration
適用対象
コンピューターの構成
サポートされるバージョン
Windows Vista 以降
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
Windows コンポーネント › Windows ログオンのオプション

レジストリ

SoftwareSASGeneration

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
Secure Attention Sequence の生成が許可されるソフトウェアを設定する
オプション
項目保存される値
なし0
サービス1
コンピューターの簡単操作アプリケーション2
サービスとコンピューターの簡単操作アプリケーション3
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

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

; 選択項目 (1 つだけ使用)
; なし
"SoftwareSASGeneration"=dword:00000000
; サービス
"SoftwareSASGeneration"=dword:00000001
; コンピューターの簡単操作アプリケーション
"SoftwareSASGeneration"=dword:00000002
; サービスとコンピューターの簡単操作アプリケーション
"SoftwareSASGeneration"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: なし
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 0 /f
:: サービス
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 1 /f
:: コンピューターの簡単操作アプリケーション
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 2 /f
:: サービスとコンピューターの簡単操作アプリケーション
reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "SoftwareSASGeneration" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# なし
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 0 -Force | Out-Null
# サービス
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 1 -Force | Out-Null
# コンピューターの簡単操作アプリケーション
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 2 -Force | Out-Null
# サービスとコンピューターの簡単操作アプリケーション
New-ItemProperty -Path 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' -Name 'SoftwareSASGeneration' -PropertyType DWord -Value 3 -Force | Out-Null