Başlat Menüsü güç düğmesini değiştir: kayıt defteri değeri PowerButtonActionKullanıcıHKCU\Software\Policies\Microsoft\Windows\Explorer

İlke Kimliği
PowerButtonAction
Kapsam
Kullanıcı Yapılandırması
Desteklenen işletim sistemleri
Windows Server 2008 R2 ve Windows 7
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Başlat Menüsü ve Görev Çubuğu

Kayıt defteri

PowerButtonAction

REG_DWORDKullanıcı
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Aşağıdaki eylemlerden birini seç
Seçenekler
MaddeSaklanan değer
Bilgisayarı Kapat2
Uyku16
Kapat1
Kilitle512
Yeniden Başlat4
Kullanıcı Değiştir256
Hazırda Beklet64
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Explorer]

; Seçenekler (yalnızca birini kullanın)
; Bilgisayarı Kapat
"PowerButtonAction"=dword:00000002
; Uyku
"PowerButtonAction"=dword:00000010
; Kapat
"PowerButtonAction"=dword:00000001
; Kilitle
"PowerButtonAction"=dword:00000200
; Yeniden Başlat
"PowerButtonAction"=dword:00000004
; Kullanıcı Değiştir
"PowerButtonAction"=dword:00000100
; Hazırda Beklet
"PowerButtonAction"=dword:00000040
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Bilgisayarı Kapat
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 2 /f
:: Uyku
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 16 /f
:: Kapat
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 1 /f
:: Kilitle
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 512 /f
:: Yeniden Başlat
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 4 /f
:: Kullanıcı Değiştir
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 256 /f
:: Hazırda Beklet
reg add "HKCU\Software\Policies\Microsoft\Windows\Explorer" /v "PowerButtonAction" /t REG_DWORD /d 64 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Bilgisayarı Kapat
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 2 -Force | Out-Null
# Uyku
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 16 -Force | Out-Null
# Kapat
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 1 -Force | Out-Null
# Kilitle
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 512 -Force | Out-Null
# Yeniden Başlat
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 4 -Force | Out-Null
# Kullanıcı Değiştir
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 256 -Force | Out-Null
# Hazırda Beklet
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Windows\Explorer' -Name 'PowerButtonAction' -PropertyType DWord -Value 64 -Force | Out-Null