Netzschalteraktion auswählen (Netzbetrieb): Registrierungswert ACSettingIndexComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280

Richtlinien-ID
ACPowerButtonAction_2
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows Vista
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
System › Energieverwaltung › Schaltflächeneinstellungen

Registrierung

ACSettingIndex

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Netzschalteraktion
Optionen
EintragGespeicherter Wert
Keine Aktion durchführen0
Standbymodus1
Ruhezustand2
Herunterfahren3
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280]

; Optionen (nur eine verwenden)
; Keine Aktion durchführen
"ACSettingIndex"=dword:00000000
; Standbymodus
"ACSettingIndex"=dword:00000001
; Ruhezustand
"ACSettingIndex"=dword:00000002
; Herunterfahren
"ACSettingIndex"=dword:00000003
CMD
:: Optionen (nur eine verwenden)

:: Keine Aktion durchführen
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "ACSettingIndex" /t REG_DWORD /d 0 /f
:: Standbymodus
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "ACSettingIndex" /t REG_DWORD /d 1 /f
:: Ruhezustand
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "ACSettingIndex" /t REG_DWORD /d 2 /f
:: Herunterfahren
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "ACSettingIndex" /t REG_DWORD /d 3 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Force | Out-Null

# Optionen (nur eine verwenden)
# Keine Aktion durchführen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'ACSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null
# Standbymodus
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'ACSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null
# Ruhezustand
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'ACSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null
# Herunterfahren
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'ACSettingIndex' -PropertyType DWord -Value 3 -Force | Out-Null