Seleziona l'azione del pulsante di alimentazione (a batteria): valore del Registro di sistema DCSettingIndexComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280
- ID criterio
- DCPowerButtonAction_2
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows Vista
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Sistema › Risparmio energia › Impostazioni relative ai pulsanti
Registro
DCSettingIndex
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280 Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Azione del pulsante di alimentazione
| Voce | Valore memorizzato |
|---|---|
| Nessuna azione | 0 |
| Sospensione | 1 |
| Ibernazione | 2 |
| Arresto | 3 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280] ; Opzioni (usarne solo una) ; Nessuna azione "DCSettingIndex"=dword:00000000 ; Sospensione "DCSettingIndex"=dword:00000001 ; Ibernazione "DCSettingIndex"=dword:00000002 ; Arresto "DCSettingIndex"=dword:00000003
CMD
:: Opzioni (usarne solo una) :: Nessuna azione reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "DCSettingIndex" /t REG_DWORD /d 0 /f :: Sospensione reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "DCSettingIndex" /t REG_DWORD /d 1 /f :: Ibernazione reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "DCSettingIndex" /t REG_DWORD /d 2 /f :: Arresto reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280" /v "DCSettingIndex" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Force | Out-Null # Opzioni (usarne solo una) # Nessuna azione New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null # Sospensione New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null # Ibernazione New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null # Arresto New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\7648EFA3-DD9C-4E3E-B566-50F929386280' -Name 'DCSettingIndex' -PropertyType DWord -Value 3 -Force | Out-Null