Wybierz akcję przycisku zasilania w menu Start (podłączony zasilacz): wartość rejestru ACSettingIndexKomputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5

Identyfikator zasady
ACStartMenuButtonAction_2
Zakres
Konfiguracja komputera
Obsługiwane w systemach
Tylko system Windows Vista
Źródło
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
Kategoria
System › Zarządzanie energią › Ustawienia przycisków

Rejestr

ACSettingIndex

REG_DWORDKomputer
Wartość włączona
Zależy od wartości opcji
Element
Akcja przycisku Uśpij w interfejsie użytkownika
Opcje
PozycjaZapisana wartość
Uśpij0
Hibernuj1
Zamknij2
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Uśpij
"ACSettingIndex"=dword:00000000
; Hibernuj
"ACSettingIndex"=dword:00000001
; Zamknij
"ACSettingIndex"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: Uśpij
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /t REG_DWORD /d 0 /f
:: Hibernuj
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /t REG_DWORD /d 1 /f
:: Zamknij
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "ACSettingIndex" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Uśpij
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'ACSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null
# Hibernuj
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'ACSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null
# Zamknij
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'ACSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null