目錄
解決方案1:刪除關機按鈕
解決方案 2:停用電源按鈕
選項 1:使用群組原則編輯器阻止 Windows 10 關機
選項 2:使用登錄編輯程式阻止 Windows 10 關機
Solution 3: Disable Command Prompt
Solution 4: Prevent Third-party Software
Solution 5: Prevent Selected Users
首頁 系統教程 Windows系列 如何防止 Windows 10 關閉

如何防止 Windows 10 關閉

Aug 02, 2024 am 10:32 AM

出於某種原因,您打算讓 Windows 10 PC 運行一段時間,並且您不希望 Windows 10 PC 被其他人意外關閉,因為事情可能會失控。如果您正在尋找停用關閉選項的方法,請閱讀以下有關如何防止 Windows 10 關閉的指南

  • 解決方案1:刪除關機按鈕
  • 解決方案 2:停用電源按鈕
  • 解決方案 3:停用命令提示字元
  • 解決方案 4:阻止第三方軟體
  • 解決方案 5:封鎖選定的使用者

解決方案1:刪除關機按鈕

這種方式直接幫你隱藏關機按鈕

步驟 1:按鍵盤上的 Win + S 開啟 Windows 搜尋框,然後在框中輸入 regedit。當您看到最佳匹配時,請點擊註冊表編輯器

How to Prevent Windows 10 from Shutting down

步驟 2:在登錄編輯器視窗中,導覽至以下路徑:ComputerHKEY_LOCAL_MACHINESOFTWAREMicrosoftPolicyManagerdefaultStartHideShutDown.

How to Prevent Windows 10 from Shutting down

第 2 步:雙擊右側窗格中名為 value 的鍵,並將值資料重設為 1.

How to Prevent Windows 10 from Shutting down

然後關機按鈕將從開始功能表中刪除。只有睡眠按鈕和重啟按鈕。

How to Prevent Windows 10 from Shutting down

解決方案 2:停用電源按鈕

此解決方案將使使用者無法存取電源按鈕。您可以透過群組原則編輯器和登錄編輯器來達到目標。

在所有 Windows 10 版本中,群組原則編輯器和登錄編輯程式均在專業版、企業版和教育版中提供。但Windows 10 Home僅支援登錄編輯程式。因此,如果您使用的是 Windows 10 Home,請選擇下面的選項 2 來停用電源按鈕。

  • 選項 1:使用群組原則編輯器阻止 Windows 10 關機
  • 選項 2:使用登錄編輯程式阻止 Windows 10 關機

選項 1:使用群組原則編輯器阻止 Windows 10 關機

第 1 步:找到「在此輸入搜尋」框。

第2步:將群組原則複製到搜尋框中,然後按一下最佳比對編輯群組原則

How to Prevent Windows 10 from Shutting down

步驟3:彈出本機群組原則編輯器後,前往路徑:使用者設定>管理範本>開始功能表和工作列。找到並雙擊右側窗格中的「刪除對關機、重新啟動、睡眠和休眠命令的存取權選項。

How to Prevent Windows 10 from Shutting down

步驟 4:在下列對話方塊中,選擇啟用選項以防止 Windows 10 關閉。按一下應用並確定以確認設定。

How to Prevent Windows 10 from Shutting down

然後你會發現電源按鈕不可用。

How to Prevent Windows 10 from Shutting down

選項 2:使用登錄編輯程式阻止 Windows 10 關機

步驟1:在Windows搜尋框中輸入regedit,然後按Enter開啟註冊表編輯器.

步驟2:出現登錄編輯程式後,請依照路徑:ComputerHKEY_CURRENT_USERSOFTWAREMicrosoftWindowsCurrentVersionPolicies

步驟3:右鍵點擊政策,然後按一下新建>金鑰。 新密鑰應以“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

以上是如何防止 Windows 10 關閉的詳細內容。更多資訊請關注PHP中文網其他相關文章!

本網站聲明
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

記事本++7.3.1

記事本++7.3.1

好用且免費的程式碼編輯器

SublimeText3漢化版

SublimeText3漢化版

中文版,非常好用

禪工作室 13.0.1

禪工作室 13.0.1

強大的PHP整合開發環境

Dreamweaver CS6

Dreamweaver CS6

視覺化網頁開發工具

SublimeText3 Mac版

SublimeText3 Mac版

神級程式碼編輯軟體(SublimeText3)

熱門話題

Java教學
1677
14
CakePHP 教程
1431
52
Laravel 教程
1334
25
PHP教程
1280
29
C# 教程
1257
24
Nanoleaf想要改變您的技術收費 Nanoleaf想要改變您的技術收費 Apr 17, 2025 am 01:03 AM

Nanoleaf的Pegboard Desk Dock:時尚且功能型的桌子組織者 厭倦了相同的舊充電設置? NanoLeaf的新Pegboard Desk Dock提供了一種時尚且功能性的替代方案。 這款多功能桌配件擁有32個全彩RGB

華碩' Rog Zephyrus G14 OLED遊戲筆記本電腦$ 300折扣 華碩' Rog Zephyrus G14 OLED遊戲筆記本電腦$ 300折扣 Apr 16, 2025 am 03:01 AM

ASUS ROG Zephyrus G14 電競筆記本電腦特惠! 現在購買ASUS ROG Zephyrus G14 電競筆記本電腦,即可享受300美元的優惠!原價1999美元,現價僅需1699美元!隨時隨地暢享沉浸式遊戲體驗,或將其作為可靠的便攜式工作站。 Best Buy目前提供這款2024款14英寸ASUS ROG Zephyrus G14電競筆記本電腦的優惠活動。其強大的配置和性能令人印象深刻。 這款ASUS ROG Zephyrus G14電競筆記本電腦在Best Buy的售價為16

您應該使用的5個隱藏窗口功能 您應該使用的5個隱藏窗口功能 Apr 16, 2025 am 12:57 AM

解鎖隱藏的Windows功能,以獲得更流暢的體驗! 發現令人驚訝的有用的Windows功能,可以顯著增強您的計算體驗。甚至經驗豐富的Windows用戶也可能在這裡找到一些新技巧。 動態鎖:自動

您的鍵盤需要一個大的OL'音量旋鈕 您的鍵盤需要一個大的OL'音量旋鈕 Apr 18, 2025 am 03:04 AM

在當今的觸摸屏世界中,身體控制的令人滿意的觸覺反饋是一個可喜的變化。 這就是為什麼具有較大音量旋鈕的鍵盤令人驚訝地吸引人的原因。我最近親身經歷了這是一個啟示。 為了

如何用沒有鼠標右鍵單擊 如何用沒有鼠標右鍵單擊 Apr 18, 2025 pm 12:03 PM

鼠標是在PC上完成工作的重要組成部分。但是,當您陷入錯誤的鼠標時,您可能會遇到一些問題,包括無法右鍵單擊。但是好消息是,肯定有一些方法

這款Acer桌面PC具有筆記本電腦規格,出於某種原因 這款Acer桌面PC具有筆記本電腦規格,出於某種原因 Apr 17, 2025 am 06:03 AM

Acer最新遊戲筆記本電腦系列令人驚艷,但該公司還推出了一款台式電腦,這款電腦在Acer的產品線中位置尷尬,與其他小型台式電腦相比,它也有其自身的優缺點。 Acer今日在其廣受歡迎的Nitro遊戲系列中增加了四款新筆記本電腦和一款重新設計的緊湊型台式電腦。不過,讓我們先談談台式電腦,因為它最獨特。它的獨特之處在於它使用了筆記本電腦規格。 Nitro 20 N20-100採用AMD Ryzen AI 9 365處理器,或者也可以選擇Intel Core i5-13420H台式機處理器。顯卡最高可配備

RTX 5060家族在這裡,但跳過8GB型號 RTX 5060家族在這裡,但跳過8GB型號 Apr 16, 2025 pm 09:01 PM

RTX 50系GPU:增量升級,競爭性價格(主要是) RTX 50系列代表了GPU技術的革命性飛躍,代表了一個測得的進化。 雖然性能提高是適中的,但AI增強功能是關鍵功能。

Logitech正在悄悄地提高價格 Logitech正在悄悄地提高價格 Apr 23, 2025 am 03:02 AM

Logitech悄悄地提高了許多產品的價格,理由沒有具體的原因。 觀察者註意到,各種物品的價格最多上漲了25%,這強烈表明,正在進行的美國關稅對從中國進口的商品的影響,Logitech的主要製造商

See all articles