Skip to main content


Prevent The Power Button From Shutting The PC


When pressing the power button on your keyboard, depending on the settings applied by the user, It serves a number of useful tasks, such as turning off the display or putting the PC Into hibernation. As It's name suggests, It's primary function Is to power down the computer. However, users can repeatedly do this and cause the PC to lose functionality. In this tutorial, I will show you how to prevent the power button from shutting down the PC.


During your computing tasks, I'm sure your PC has frozen at least once, whereby It completely lost functionality and the only way to get It up and running again, was to hold the power button, and reboot thereafter. On these grounds, It's perfectly fine,

However, If you have multiple users on your PC such as young children, there's nothing stopping them from repeatedly pressing the power button. In doing so, It does not give the operating system a chance to save settings, hence can cause Instability and/or corruption to the OS.

To prevent this, I will demonstrate how to completely disable the power button's usability, by using the Group Policy Editor that's native to Windows 10 Pro, Enterprise and Education editions. If you have either of these Installed, then this tutorial Is for you. So let's rip Into It.

Step One:
To access the Group Policy Editor, open the Run menu, enter gpedit.msc and hit OK. 



Step Two:
The Group Policy Editor window will now open, so navigate to the following directory.
Computer Configuration > Adminstrative Templates > System > Power Management > Button Settings  

Then on the right pane, double-click Select the Power button action (plugged In) and Select the Power button action (on battery). 



Step Three:
Apply the following setting to each of the above options. To the left of the window, select the Enabled radio button. Next to Power Button Action, select your preference via the drop-down menu. For the purpose of this tutorial, I've chosen Sleep. This means my computer will enter Sleep mode when pressing the Power button. Hit OK to finalize the process.



Step Four:
Now let's view the changes. Open Windows Settings > System > Power & sleep > Additional power settings. The Power Options will now open, so click on Choose what the power buttons do.



Last Step:
As you can see, both the On battery and Plugged In drop-down menus are grayed out next to When I press the power button:, thus the settings cannot be changed by any user.



Final Thoughts:
Improper shutdown by way of repeatedly holding the power button, can cause system Instability and loss of functionality to some degree. By applying this setting, It prevents such actions In It's entirety. Sure, It can be reversed by clicking on the Not Configured radio button as per Step Three above, but not many users know that this setting actually exists. And that's what makes It so effective.



Comments

Popular posts from this blog

How To Decode The Windows 10 Product Key

Every Windows 10 operating system that's Installed and activated on the computer, has what's called a Product Key, that Is either pre-Installed by the manufacturer, or added by the end user when formatting their PC. In order to have a fully-functional OS, It must contain a valid Product Key. Whilst there are many tools that can extract It from the operating system, In this tutorial, I will show you how to manually decode the Product Key.

How To Rename Any Power Plan In Windows 10

In terms of managing and controlling the way your computer utilizes power during It's computing operations, Windows has built-In power plans, that are basically a collection of hardware and system settings. By default, there are three In total, namely Balanced, Power Saver and High Performance. Whilst you can change the plan Itself, there's no option to do the same with It's name, hence In this tutorial, I will show you how to rename any power plan In Windows 10.

How To Create A Fake File Of Any File Size

Depending on your business environment or Individual requirements, sometimes there Is the need to test files of a given capacity. Such tests can Include Identifying how well your hard disks perform under heavy read/write operations, or to establish whether files can be securely deleted beyond recovery. Whatever the reason may be, In this tutorial, I will show you how to create a fake file of any file size.