システム設定: オプション サブシステム のレジストリ値 optionalコンピューターHKLM\System\CurrentControlSet\Control\Session Manager\SubSystems
- カテゴリ
- セキュリティの設定 › ローカル ポリシー › セキュリティ オプション
- 適用対象
- コンピューターの構成
- 出典
- Windows 11 (バージョン 26H2 · 26300.9457)
レジストリ
optional
REG_MULTI_SZコンピューター- 有効時の値
- オプションの値に依存
- 要素
- システム設定: オプション サブシステム
- 値の種類
- REG_MULTI_SZ
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\SubSystems] ; hex(2) と hex(7) のデータは 16 進数 (UTF-16LE) で記述する必要があります "optional"=hex(7):<値を入力>
CMD
reg add "HKLM\System\CurrentControlSet\Control\Session Manager\SubSystems" /v "optional" /t REG_MULTI_SZ /d "<値を入力>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager\SubSystems' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Control\Session Manager\SubSystems' -Name 'optional' -PropertyType MultiString -Value '<値を入力>' -Force | Out-Null