How to hide power commands for Windows 10

Source: Internet
Author: User

? Author/winshare

In Windows 10, we can perform power commands in different ways, including shutdown, restart, sleep, and hibernate, in this article, I'll show you how to hide these power commands, and if you're a computer administrator who wants to restrict access to power commands, this article will be useful to you.

First, let's look at different ways to execute power directives in Windows 10.

1. Click on the "Start" button in the Windows 10 taskbar, then click the "Power" button, there are many power commands under the button, click to execute.

Incidentally, if you want to perform an advanced boot, press and hold the "Shift" key while you execute the "restart" command under the power button.


2. Right-click the Start button, or use the shortcut key "Win+x" to bring up the menu as follows.


In this menu, you will see a menu item called "Shutdown or logoff", which contains a lot of power commands that you can click to execute.

3, use the shortcut key "Ctrl+alt+del" to bring up the security screen, in the lower right corner of this screen, you will see a "power" button, the button has a lot of power commands, click to execute.

To hide power commands in Windows 10, we have two ways, the first is to edit Group Policy, and the second is to modify the registry.

One, to hide power commands by editing Group Policy

Search and execute in Microsoft Cortana:

gpedit.msc


Navigate to the tree index on the left side of the Group Policy Editor:

\ Computer Configuration \ Administrative Templates \ Start Menu and taskbar


To the right of the Group Policy Editor window, locate the following:

Remove and block access to the shut down, restart, sleep, and Hibernate commands

Policy entry and double-click, you will see the Settings window as follows:


After you set it to Enabled, click the OK button in the lower-right corner of the settings window;

The above settings take effect immediately for all users on Windows, and you do not need to restart your computer after Setup, as follows:


? Second, by modifying the registry to hide power commands

Search and execute in Microsoft Cortana:

regedit

Navigate through the tree index on the left side of the Registry Editor or the address bar at the top of the window:

\hkey_local_machine\software\microsoft\windows\currentversion\policies\explorer


Right-click in this directory, select New-dword (32-bit) value, and name the new DWORD (32-bit) value:

hidepoweroptions


Double-click the DWORD (32-bit) value we just created with the name "Hidepoweroptions", set its value data to "1", Base set to "decimal", and then click on the "OK" button in the lower-right corner of the edit window for the DWORD (32-bit) value.


The above settings take effect immediately for all users on Windows, and you do not need to restart your computer after Setup, as follows:


? The above is the full content of this tutorial.

This article is open to copyright, welcome reprint. Please retain the author's pseudonym when reproduced: Winshare.

How to hide power commands for Windows 10

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.