search
HomeSystem TutorialWindows SeriesHow to Prevent Windows 10 from Shutting down

For some reason, you intend to keep Windows 10 PC running for a certain period of time, and you don’t want the Windows 10 PC to be shut down accidentally by others because things might be out of control. In case you are looking for approaches to disable the shutdown option, go through the following guide about how to prevent Windows 10 from shutting down.

  • Solution 1: Remove Shut down Button
  • Solution 2: Disable Power Button
  • Solution 3: Disable Command Prompt
  • Solution 4: Prevent Third-party Software
  • Solution 5: Prevent Selected Users

Solution 1: Remove Shut down Button

This way directly helps you to hide the shut down button.

Step 1: Open the Windows Search box by pressing Win + S on the keyboard, and type regedit in the box. Click on Registry Editor when you see the best match.

How to Prevent Windows 10 from Shutting down

Step 2: In Registry Editor window, navigate to the path as follow: ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftPolicyManagerdefaultStartHideShutDown.

How to Prevent Windows 10 from Shutting down

Step 2: Double-click the key named value at the right pane, and reset the value data to 1.

How to Prevent Windows 10 from Shutting down

Then the Shutdown button will be removed from the Start menu. There will be only Sleep button and Restart button.

How to Prevent Windows 10 from Shutting down

Solution 2: Disable Power Button

This solution will make the Power button inaccessible to the users. You can reach the goal through Group Policy Editor and Registry Editor.

Among all the Windows 10 editions, both Group Policy Editor and Registry Editor are available in Pro, Enterprise, and Education. But Windows 10 Home can only support Registry Editor. Therefore, if you are using Windows 10 Home, choose Option 2 below to disable the Power button.

  • Option 1: Use Group Policy Editor to Prevent Windows 10 from Shutting down
  • Option 2: Use Registry Editor to Prevent Windows 10 from Shutting down

Option 1: Use Group Policy Editor to Prevent Windows 10 from Shutting down

Step 1: Locate the "Type here to search" box.

Step 2: Copy group policy into the search box, and click on the Best match Edit group policy.

How to Prevent Windows 10 from Shutting down

Step 3: When the Local Group Policy Editor pops up, go to the path: User Configuration > Administrative Templates > Start Menu and Taskbar. Locate and double-click the "Remove access to the Shutdown, Restart, Sleep, and Hibernate commands" option at the right-hand pane.

How to Prevent Windows 10 from Shutting down

Step 4: In the following dialog, select the Enabled option to prevent Windows 10 from shutting down. Click on Apply and OK to confirm the settings.

How to Prevent Windows 10 from Shutting down

Then, you will find the Power button is unavailable.

How to Prevent Windows 10 from Shutting down

Option 2: Use Registry Editor to Prevent Windows 10 from Shutting down

Step 1: Type regedit in the Windows Search box, and press Enter to open Registry Editor.

Step 2: After Registry Editor appears, follow the path: ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPolicies.

Step 3: Right-click Policies and click on New > Key. The new key should be named after "Explorer".

How to Prevent Windows 10 from Shutting down

Step 4: Right-click the new key "Explorer" at the left-hand pane. Click on New and select DWORD (32-bit) Value from the next context menu. Name the value as "NoClose".

How to Prevent Windows 10 from Shutting down

Step 5: Double-click the value "NoClose", set its value data to 1 in the pop-up dialog. Click OK to save the change.

How to Prevent Windows 10 from Shutting down

Step 6: Press Ctrl + Alt + Del to sign out Windows 10 PC. After signing in, you will find the Power button inaccessible. If the Power button is still available after the first trial, try a few more times to sign out and in through Ctrl + Alt + Del screen.

How to Prevent Windows 10 from Shutting down

Solution 3: Disable Command Prompt

Apart from the Shutdown button, others can also shut your computer down with Command Prompt. Therefore, it is suggested to disable Command prompt to prevent Windows 10 from shutting down.

How to Prevent Windows 10 from Shutting down

Solution 4: Prevent Third-party Software

Others might make use of the third-party applications to shut down your PC. To prevent this from happening, you can restrict others from installing any software that is used for shutting down the Windows 10 PC.

Solution 5: Prevent Selected Users

This way will prevent the users and groups from shutting down Windows 10 by removing their shutdown right.

Step 1: Open Local Group Policy Editor. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment. Locate and double-click Shut Down the System.

How to Prevent Windows 10 from Shutting down

Step 2: Select the user or group who you want to prevent from shutting down Windows 10 PC, and click the Remove button. You should retain administrators to make sure you can shut down normally.

How to Prevent Windows 10 from Shutting down

The above is the detailed content of How to Prevent Windows 10 from Shutting down. For more information, please follow other related articles on the PHP Chinese website!

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Acer PD163Q Dual Portable Monitor Review: I Really Wanted to Love ThisAcer PD163Q Dual Portable Monitor Review: I Really Wanted to Love ThisMar 18, 2025 am 03:04 AM

The Acer PD163Q Dual Portable Monitor: A Connectivity Nightmare I had high hopes for the Acer PD163Q. The concept of dual portable displays, conveniently connecting via a single cable, was incredibly appealing. Unfortunately, this alluring idea quic

win11 activation key permanent 2025win11 activation key permanent 2025Mar 18, 2025 pm 05:57 PM

Article discusses sources for a permanent Windows 11 key valid until 2025, legal issues, and risks of using unofficial keys. Advises caution and legality.

win11 activation key permanent 2024win11 activation key permanent 2024Mar 18, 2025 pm 05:56 PM

Article discusses reliable sources for permanent Windows 11 activation keys in 2024, legal implications of third-party keys, and risks of using unofficial keys.

Top 3 Windows 11 Gaming Features That Outshine Windows 10Top 3 Windows 11 Gaming Features That Outshine Windows 10Mar 16, 2025 am 12:17 AM

Upgrade to Windows 11: Enhance Your PC Gaming Experience Windows 11 offers exciting new gaming features that significantly improve your PC gaming experience. This upgrade is worth considering for any PC gamer moving from Windows 10. Auto HDR: Eleva

Mozilla Thunderbird 136 Is Here, Switching to Monthly Updates by DefaultMozilla Thunderbird 136 Is Here, Switching to Monthly Updates by DefaultMar 07, 2025 am 01:19 AM

Firefox 136 and Thunderbird 136: Enhanced Security and Performance The latest releases of Firefox and Thunderbird bring significant improvements in video playback smoothness, browsing security, and overall user experience. Let's delve into the key u

How to Create a Dynamic Table of Contents in ExcelHow to Create a Dynamic Table of Contents in ExcelMar 24, 2025 am 08:01 AM

A table of contents is a total game-changer when working with large files – it keeps everything organized and easy to navigate. Unfortunately, unlike Word, Microsoft Excel doesn’t have a simple “Table of Contents” button that adds t

The Best Monitor Light Bars of 2025The Best Monitor Light Bars of 2025Mar 08, 2025 am 03:02 AM

Reduce eye strain and brighten your workspace with a monitor light bar! These handy gadgets adjust brightness and color temperature, some even offering auto-dimming. This updated review (03/04/2025) highlights top picks across various needs. BenQ

This Wild Ultra-Wide Alienware Monitor is $300 Off TodayThis Wild Ultra-Wide Alienware Monitor is $300 Off TodayMar 13, 2025 pm 12:21 PM

Alienware AW3225QF: The best curved 4K display, is it worth buying? The Alienware AW3225QF is known as the best curved 4K display, and its powerful performance is unquestionable. The fast response time, stunning HDR effects and unlimited contrast, coupled with excellent color performance, are the advantages of this monitor. Although it is mainly aimed at gamers, if you can accept the shortcomings of OLED, it is also suitable for office workers who pursue high efficiency. Widescreen monitors are not only loved by gamers, but also favored by users who value productivity improvement. They are great for work and enhance anyone’s desktop experience. This Alienware monitor is usually expensive, but is currently enjoying it

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment