De actie voor de aan/uit-knop van het Startmenu selecteren (batterijstroom): registerwaarde DCSettingIndexComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5
- Beleids-ID
- DCStartMenuButtonAction_2
- Bereik
- Computerconfiguratie
- Ondersteund op
- Alleen Windows Vista
- Bron
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
- Categorie
- Systeem › Energiebeheer › Knopinstellingen
Register
DCSettingIndex
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5 Huidige sleutel
- Waarde bij ingeschakeld
- Afhankelijk van de waarde van de optie
- Element
- Actie voor de slaapstandknop van de gebruikersinterface
| Item | Opgeslagen waarde |
|---|---|
| Slaapstand | 0 |
| Sluimerstand | 1 |
| Afsluiten | 2 |
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5] ; Opties (gebruik er maar één) ; Slaapstand "DCSettingIndex"=dword:00000000 ; Sluimerstand "DCSettingIndex"=dword:00000001 ; Afsluiten "DCSettingIndex"=dword:00000002
CMD
:: Opties (gebruik er maar één) :: Slaapstand reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 0 /f :: Sluimerstand reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 1 /f :: Afsluiten reg add "HKLM\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5" /v "DCSettingIndex" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken New-Item -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Force | Out-Null # Opties (gebruik er maar één) # Slaapstand New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 0 -Force | Out-Null # Sluimerstand New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 1 -Force | Out-Null # Afsluiten New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Power\PowerSettings\A7066653-8D6C-40A8-910E-A1F54B84C7E5' -Name 'DCSettingIndex' -PropertyType DWord -Value 2 -Force | Out-Null