Cambia il pulsante di alimentazione del menu Start: valore del Registro di sistema PowerButtonActionUtenteHKCU\Software\Policies\Microsoft\Windows\Explorer
- ID criterio
- PowerButtonAction
- Ambito
- Configurazione utente
- Supportato in
- Windows Server 2008 R2 e Windows 7
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Menu Start e barra delle applicazioni
Registro
PowerButtonAction
REG_DWORDUtenteHKCU\Software\Policies\Microsoft\Windows\Explorer Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Scegliere una delle azioni seguenti
| Voce | Valore memorizzato |
|---|---|
| Arresta il sistema | 2 |
| Sospensione | 16 |
| Disconnetti | 1 |
| Blocca | 512 |
| Riavvia il sistema | 4 |
| Cambia utente | 256 |
| Ibernazione | 64 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer] ; Opzioni (usarne solo una) ; Arresta il sistema "PowerButtonAction"=dword:00000002 ; Sospensione "PowerButtonAction"=dword:00000010 ; Disconnetti "PowerButtonAction"=dword:00000001 ; Blocca "PowerButtonAction"=dword:00000200 ; Riavvia il sistema "PowerButtonAction"=dword:00000004 ; Cambia utente "PowerButtonAction"=dword:00000100 ; Ibernazione "PowerButtonAction"=dword:00000040
CMD
:: Opzioni (usarne solo una) :: Arresta il sistema reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 2 /f :: Sospensione reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 16 /f :: Disconnetti reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 1 /f :: Blocca reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 512 /f :: Riavvia il sistema reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 4 /f :: Cambia utente reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 256 /f :: Ibernazione reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 64 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Force | Out-Null # Opzioni (usarne solo una) # Arresta il sistema New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 2 -Force | Out-Null # Sospensione New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 16 -Force | Out-Null # Disconnetti New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 1 -Force | Out-Null # Blocca New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 512 -Force | Out-Null # Riavvia il sistema New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 4 -Force | Out-Null # Cambia utente New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 256 -Force | Out-Null # Ibernazione New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 64 -Force | Out-Null