Azione notifica batteria quasi scarica: valore del Registro di sistema DCSettingIndexComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546

ID criterio
DCBatteryDischargeAction0_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 per la notifica

Registro

DCSettingIndex

REG_DWORDComputer
Valore abilitato
Dipende dal valore dell'opzione
Elemento
Azione notifica batteria quasi scarica
Opzioni
VoceValore memorizzato
Nessuna azione0
Sospensione1
Ibernazione2
Arresto3
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546]

; 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\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546" /v "DCSettingIndex" /t REG_DWORD /d 0 /f
:: Sospensione
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546" /v "DCSettingIndex" /t REG_DWORD /d 1 /f
:: Ibernazione
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546" /v "DCSettingIndex" /t REG_DWORD /d 2 /f
:: Arresto
reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546" /v "DCSettingIndex" /t REG_DWORD /d 3 /f
PowerShell
# Comune: crea la chiave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546' -Force | Out-Null

# Opzioni (usarne solo una)
# Nessuna azione
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null
# Sospensione
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null
# Ibernazione
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null
# Arresto
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\637EA02F-BBCB-4015-8E2C-A1C7B9C0B546' -Name 'DCSettingIndex' -PropertyType DWord -Value 3 -Force | Out-Null