[スタート] メニューの電源ボタンの操作を選択する (バッテリ使用時) のレジストリ値 DCSettingIndexコンピューターHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5

ポリシー ID
DCStartMenuButtonAction_2
適用対象
コンピューターの構成
サポートされるバージョン
Windows Vista のみ
出典
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
カテゴリ
システム › 電源の管理 › ボタンの設定

レジストリ

DCSettingIndex

REG_DWORDコンピューター
有効時の値
オプションの値に依存
要素
ユーザー インターフェイスのスリープ ボタンの操作
オプション
項目保存される値
スリープ0
休止状態1
シャットダウン2
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5]

; 選択項目 (1 つだけ使用)
; スリープ
"DCSettingIndex"=dword:00000000
; 休止状態
"DCSettingIndex"=dword:00000001
; シャットダウン
"DCSettingIndex"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用)

:: スリープ
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 0 /f
:: 休止状態
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 1 /f
:: シャットダウン
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 2 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# スリープ
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null
# 休止状態
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null
# シャットダウン
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null