[スタート] メニューの電源ボタンの操作を選択する (電源接続時) のレジストリ値 ACSettingIndexコンピューターHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5
- ポリシー ID
- ACStartMenuButtonAction_2
- 適用対象
- コンピューターの構成
- サポートされるバージョン
- Windows Vista のみ
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- システム › 電源の管理 › ボタンの設定
レジストリ
ACSettingIndex
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 つだけ使用) ; スリープ "ACSettingIndex"=dword:00000000 ; 休止状態 "ACSettingIndex"=dword:00000001 ; シャットダウン "ACSettingIndex"=dword:00000002
CMD
:: 選択項目 (1 つだけ使用) :: スリープ reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /t REG_DWORD /d 0 /f :: 休止状態 reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /t REG_DWORD /d 1 /f :: シャットダウン reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /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 'ACSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null # 休止状態 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'ACSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null # シャットダウン New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'ACSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null