Windows 10: Power options - Choose what the power buttons do - Change in REGISTRY

Discus and support Power options - Choose what the power buttons do - Change in REGISTRY in Windows 10 Performance & Maintenance to solve the problem; Hi, I manage a fleet of 200 linx 8 tablets all running win 10 home. I need to issue a 'fix' that HIBERNATES the tablet rather than entering sleep... Discussion in 'Windows 10 Performance & Maintenance' started by gideon, Nov 10, 2016.

  1. gideon Win User

    Power options - Choose what the power buttons do - Change in REGISTRY


    Hi,

    I manage a fleet of 200 linx 8 tablets all running win 10 home.

    I need to issue a 'fix' that HIBERNATES the tablet rather than entering sleep when pressing the power button

    I will need to do this programatically - bundled within an .exe that I'm building - so the solution would ideally be an import of a new reg key....

    BUT what do I need to change and where?

    I think whatever I do, I may also need to enable hibernation, and disable connected standby. Also, as it may sometimes be mains and sometimes battery powered, cover both power scenarios.

    Apologies if I am repeating a previously asked question.

    many thanks

    :)
     
    gideon, Nov 10, 2016
    #1

  2. Choose what the power buttons do, but not working in Acer Aspire VX5-591G

    Thanks for quick respond, my windows is latest one 1709, all driver have been up to date, but not working. So not too sure where is the root cause.
     
    NavinPuengphraphorn, Nov 10, 2016
    #2
  3. Andre Da Costa, Nov 10, 2016
    #3
  4. Ztruker Win User

    Power options - Choose what the power buttons do - Change in REGISTRY

    POWERCFG /HIBERNATE ON will enable Hibernate.
     
    Ztruker, Nov 11, 2016
    #4
  5. Berton Win User
    Berton, Nov 11, 2016
    #5
  6. gideon Win User
    Hi,

    Thanks for the replies, but how do I get the tablet to enter hibernation when the power button is pressed? - It needs to be via a reg change rather than going into power setting etc..

    Thanks in advance....!
     
    gideon, Nov 11, 2016
    #6
  7. dzukela Win User
    you can do it with
    gpo: computer configuration > administrative templates > system > power management > button settings
    or
    powershell (balanced power plan)
    # Lid close action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1" -NoNewWindow -Wait
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 1" -NoNewWindow -Wait
    # Power button action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down; 4 - Turn off the display
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3" -NoNewWindow -Wait
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 3" -NoNewWindow -Wait
    # Sleep button action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1" -NoNewWindow -Wait
    Start-Process -FilePath "C:\Windows\system32\powercfg.exe" -ArgumentList "-setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 1" -NoNewWindow -Wait
     
    dzukela, Nov 12, 2016
    #7
  8. Ztruker Win User

    Power options - Choose what the power buttons do - Change in REGISTRY

    Ztruker, Nov 15, 2016
    #8
  9. gideon Win User
    Thanks for all your help - this is what I have ended up with

    configure your power plan as required (or create a new one)
    open cmd prompt
    powercfg /l - this lists the current power plans

    export power plan- see Power Plans - Export and Import - Windows 7 Help Forums

    then, in a batch file, import the powerplan and then set the action of the buttons and set the imported plan as active


    set myguid=ae0624db-9c90-466f-971c-bb5d30fc15f0 (this is the guid of the powerplan you exported)
    powercfg -import "C:\MyPath\MyPowerPlan.pow" %myguid%

    rem # Lid close action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down
    powercfg -setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2
    powercfg -setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 2

    rem # Power button action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down; 4 - Turn off the display
    powercfg -setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 2
    powercfg -setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 7648efa3-dd9c-4e3e-b566-50f929386280 2

    rem # Sleep button action: 0 - Do nothing; 1 - Sleep; 2 - Hibernate; 3 - Shut down
    powercfg -setACvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 2
    powercfg -setDCvalueindex 381b4222-f694-41f0-9685-ff5bb260df2e 4f971e89-eebd-4455-a8de-9e59040e7347 96996bc0-ad50-47ec-923b-6f41874dd9eb 2

    powercfg -setactive %myguid%

    Thanks again for all your help - I couldn't have done this without it!
     
    gideon, Apr 4, 2018
    #9
Thema:

Power options - Choose what the power buttons do - Change in REGISTRY

Loading...
  1. Power options - Choose what the power buttons do - Change in REGISTRY - Similar Threads - Power options Choose

  2. What the power button does

    in Windows 10 Gaming
    What the power button does: Hello -- I had and issue the last time I restarted my computer --- I just installed an update for one of my programs and I notI hadhad to reboot I reboot the computer, but I guess that interrupt got lost along the way so the OS seemed to be in some sort a state and did not...
  3. What the power button does

    in Windows 10 Software and Apps
    What the power button does: Hello -- I had and issue the last time I restarted my computer --- I just installed an update for one of my programs and I notI hadhad to reboot I reboot the computer, but I guess that interrupt got lost along the way so the OS seemed to be in some sort a state and did not...
  4. What the power button does

    in Windows 10 Customization
    What the power button does: Hello -- I had and issue the last time I restarted my computer --- I just installed an update for one of my programs and I notI hadhad to reboot I reboot the computer, but I guess that interrupt got lost along the way so the OS seemed to be in some sort a state and did not...
  5. Why do Power Option change sometimes?

    in Windows 10 Ask Insider
    Why do Power Option change sometimes?: On Windows 10, Power Option change sometimes, it happens randomly without any warning. So, 10 minutes ago, my screen turned off. When i moved the mouse, it turned on and i checked the Power Option; it turned out the options were changed from "Never" to "15 minutes", meaning...
  6. power button options

    in Windows 10 Performance & Maintenance
    power button options: Under Power Options>Choose what the power button does>Power button and lid settings>'WHEN I PRESS THE POWER BUTTON DOES NOT WORK' On my Lenovo laptop, How to fix this problem?...
  7. No "Turn off display" option for what the power buttons and lid do.

    in Windows 10 Performance & Maintenance
    No "Turn off display" option for what the power buttons and lid do.: I want to customise my power button of my laptop Dell XPS on Windows 10 Home to make the display turn off. No sleep or hibernate. Up until now the solution was given here by MariusTC:...
  8. Can't seem to choose Power options

    in Windows 10 Ask Insider
    Can't seem to choose Power options: For some reason, I can't seem to choose to different power option. It only allows me to choose the balanced one even though there are others. submitted by /u/AdmiralCarrot [link] [comments] https://www.reddit.com/r/Windows10/comments/hs3lhq/cant_seem_to_choose_power_options/
  9. There are currently no Power options availeable on clicking power button

    in Windows 10 Performance & Maintenance
    There are currently no Power options availeable on clicking power button: Piease help about my problem. I can,t restart option. https://answers.microsoft.com/en-us/windows/forum/all/there-are-currently-no-power-options-availeable-on/423dd72d-b047-4687-b625-99b615580ceb
  10. Looking and not finding power button options

    in Windows 10 Performance & Maintenance
    Looking and not finding power button options: I have some annoying shutdown problems, one of which is the occasional presence of 'GDI+ Window' that blocks shutdown. (another is the Chinese-like text that blocks as well but that is Rapport and in the hands of IBM, as I understand it). I found out about 'hybrid...

Users found this page by searching for:

  1. choose what the power buttons do

    ,
  2. chose what buttons do what

    ,
  3. gpo registry lid closed action do nothing

    ,
  4. powercfg choose what power buttons do