Windows 8 and 8.1 Forums


How to change or force physical power button windows 8

  1. #1


    Posts : 3
    Windows 8.1 Entreprise X64

    How to change or force physical power button windows 8


    I actually wanted a confirmation dialog box to shutdown when i press power button (physical)
    but i didnt got any luck
    so, im trying to trigger a application (shutdown apps) when a physical power button is pressed
    please guide me
    if there is any hack or tweak which satisfies my need to prevent windows 8 directly shutting down when power button is pressed

    NOTE: im looking for registry editor or any other script to fullfill my need

    THANQ IN ADVANCE

      My System SpecsSystem Spec

  2. #2


    Posts : 22,576
    64-bit Windows 10


    Hello slst, and welcome to Eight Forums.

    If you like, you could use the tutorial below to create a shut down shortcut with a delay that will prompt you with a custom message.

    Shut Down Shortcut - Create in Windows 8

    You'll have how ever long you set the time delay for to be able abort the shutdown if wanted.

    Abort Shortcut - Create in Windows 8

    Hope this helps,
    Shawn
      My System SpecsSystem Spec

  3. #3


    Posts : 3
    Windows 8.1 Entreprise X64


    Thank you brink!!

    i just wanted to add confirmation message to everything like restart or shutdown or hibernate
    so, when i assign restart or shutdown or hibernate to physical power button from power options
    and

    when i press my power button it should it should wait for the confirmation
    or i want just like ubuntu or any other linux does(in ubuntu when u press physical power button it asks for what you would like to do i want similar feature in windows 8 physical power button when pressed)

    I want this below feature in windows 8 when physical power button is pressed
    Click image for larger versionClick image for larger version
      My System SpecsSystem Spec

  4. #4


    Posts : 3
    Windows 8.1 Entreprise X64


    Still waiting for your response brink??????????
      My System SpecsSystem Spec

  5. #5


    Control Panel\All Control Panel Items\Power Options\System Settings -> "when i press the power button" You can select sleep or shut down.

    Power Button Action - Change in Windows 8

    Ups, didnt read it all.
    Last edited by Brink; 21 Jun 2014 at 14:14. Reason: added tutorial link for more info
      My System SpecsSystem Spec

  6. #6


    Posts : 22,576
    64-bit Windows 10


    Quote Originally Posted by slst View Post
    Still waiting for your response brink??????????
    Sorry, but I didn't reply since I did not know of anything that would give you a prompt like that.
      My System SpecsSystem Spec

  7. #7


    Yep, that option was removed since vista, and i read 10 other threads about this problem, and no one knows about any program or hack, that would do it.
      My System SpecsSystem Spec

  8. #8


    Windows does not have this feature so it would have to be done with third party software. Possibly some future version of Windows will have this feature, but not now. Prior to Vista it was relatively simple for an application to delay or even abort a system shutdown. In the early days Microsoft had a more permissive attitude towards applications trusting that developers would use their powers for good and not evil. They have since learned that this trust was misplaced. Whenever this kind of functionality is exposed to applications you can be sure that some developers will abuse this privilege for purposes that are not yours. And probably got a nice bonus for doing so. I am not talking about malware but popular commercial applications

    As of Vista the ability to intercept a shutdown request has been severely limited. I know of none that attempt what you wish.
      My System SpecsSystem Spec

  9. #9


    Posts : 1,875
    Windows 10 Pro Prieview x64


    If you are worried about pressing the button by mistake you could change the option in "Power Options" in Control Panel to "Do nothing" when the power button is pressed.
      My System SpecsSystem Spec

How to change or force physical power button windows 8
Related Threads
Please follow the link to represent my problem. Issues are highlighted via a red circle/box. Thanks for the help in advance. Image Link: User Media - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting
The power button on my friend's laptop has started getting stuck, more and more and sometimes so much that it will keep turning itself on and off. Apparently a repair is very pricey on this build of laptop (said the shop) and I remember that on older versions of windows i could set an alternate key...
I'm little apprehensive about recurrent force power shutdown I had to do during past one week in my lappy. First, I had to do it while the whole system got stuck up following Prime95 stability scan when I customised blend settings for CPU 100% load along with 92% memory usage. Next time it was when...
This is a computer I have put together which was running Windows 7 and has been upgraded and running Windows 8 for two weeks with no problems. When I went to review the advanced power settings nothing happens when I click on the link for change advanced power settings. You can see the screen...
How to Change the Default Power Button Action in Windows 8 This tutorial will show you how to change the default action in Windows 8 for when users press the PC's power button to either Do Nothing, Sleep, Hibernate, or Shut down the PC. All users will be able to change the power button...
Power button in systray in Software and Apps
This is a neat option: NPowerTray
Eight Forums Android App Eight Forums IOS App Follow us on Facebook