搜尋
首頁系統教程Windows系列如何防止 Windows 10 關閉

出於某種原因,您打算讓 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
win11激活密鑰永久2025win11激活密鑰永久2025Mar 18, 2025 pm 05:57 PM

文章討論了永久性Windows 11密鑰的資源,直到2025年,法律問題以及使用非官方密鑰的風險。建議謹慎和合法性。

win11激活密鑰永久2024win11激活密鑰永久2024Mar 18, 2025 pm 05:56 PM

文章討論了2024年永久性Windows 11激活鍵的可靠來源,第三方密鑰的法律含義以及使用非官方密鑰的風險。

Acer PD163Q雙便攜式監視器評論:我真的很想喜歡這個Acer PD163Q雙便攜式監視器評論:我真的很想喜歡這個Mar 18, 2025 am 03:04 AM

ACER PD163Q雙便攜式顯示器:連通性噩夢 我對Acer PD163Q寄予厚望。雙重便攜式顯示器的概念是通過單個電纜方便地連接的,非常吸引人。 不幸的是,這個誘人的想法quic

前3個Windows 11的遊戲功能,使Windows 10超過Windows 10前3個Windows 11的遊戲功能,使Windows 10超過Windows 10Mar 16, 2025 am 12:17 AM

升級到Windows 11:增強您的PC遊戲體驗 Windows 11提供令人興奮的新遊戲功能,可顯著改善您的PC遊戲體驗。 對於從Windows 10移動的任何PC遊戲玩家來說,此升級值得考慮。 自動HDR:Eleva

這款狂野的超寬型alienware監視器今天可享受300美元的折扣這款狂野的超寬型alienware監視器今天可享受300美元的折扣Mar 13, 2025 pm 12:21 PM

Alienware AW3225QF:最佳曲面4K顯示器,值得入手嗎? Alienware AW3225QF被譽為最佳曲面4K顯示器,其強大的性能毋庸置疑。極速響應時間、驚豔的HDR效果和無限對比度,再加上出色的色彩表現,都是這款顯示器的優勢所在。雖然主要面向遊戲玩家,但如果能接受OLED的不足,它也同樣適合追求高效率的辦公人士。 寬屏顯示器不僅深受遊戲玩家喜愛,也受到重視生產力提升用戶的青睞。它們非常適合工作,並且能提升任何人的桌面體驗。這款Alienware顯示器價格通常較高,但目前正享受

如何在Excel中創建動態目錄如何在Excel中創建動態目錄Mar 24, 2025 am 08:01 AM

目錄在使用大型文件時,目錄是一個總體上改變遊戲的人 - 它可以使所有內容都井井有條且易於瀏覽。不幸的是,與Word不同,Microsoft Excel沒有一個簡單的“目錄”按鈕,它添加了T

ReactOS,開源窗口,剛剛得到更新ReactOS,開源窗口,剛剛得到更新Mar 25, 2025 am 03:02 AM

ReactOS 0.4.15包括新的存儲驅動程序,這應該有助於總體穩定性和UDB驅動器兼容性,以及用於網絡的新驅動因素。字體支持,桌面外殼,Windows API,主題和文件也有許多更新

購物新顯示器? 8個錯誤要避免購物新顯示器? 8個錯誤要避免Mar 18, 2025 am 03:01 AM

購買新顯示器並不是經常發生的。 這是一項長期投資,經常在計算機之間移動。但是,升級是不可避免的,最新的屏幕技術很誘人。 但是做出錯誤的選擇會讓您感到遺憾

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

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

AI Clothes Remover

AI Clothes Remover

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

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

AI Hentai Generator

AI Hentai Generator

免費產生 AI 無盡。

熱門文章

R.E.P.O.能量晶體解釋及其做什麼(黃色晶體)
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.最佳圖形設置
3 週前By尊渡假赌尊渡假赌尊渡假赌
R.E.P.O.如果您聽不到任何人,如何修復音頻
3 週前By尊渡假赌尊渡假赌尊渡假赌

熱工具

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

這個專案正在遷移到osdn.net/projects/mingw的過程中,你可以繼續在那裡關注我們。 MinGW:GNU編譯器集合(GCC)的本機Windows移植版本,可自由分發的導入函式庫和用於建置本機Windows應用程式的頭檔;包括對MSVC執行時間的擴展,以支援C99功能。 MinGW的所有軟體都可以在64位元Windows平台上運作。

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser是一個安全的瀏覽器環境,安全地進行線上考試。該軟體將任何電腦變成一個安全的工作站。它控制對任何實用工具的訪問,並防止學生使用未經授權的資源。

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

將Eclipse與SAP NetWeaver應用伺服器整合。

SublimeText3 英文版

SublimeText3 英文版

推薦:為Win版本,支援程式碼提示!

mPDF

mPDF

mPDF是一個PHP庫,可以從UTF-8編碼的HTML產生PDF檔案。原作者Ian Back編寫mPDF以從他的網站上「即時」輸出PDF文件,並處理不同的語言。與原始腳本如HTML2FPDF相比,它的速度較慢,並且在使用Unicode字體時產生的檔案較大,但支援CSS樣式等,並進行了大量增強。支援幾乎所有語言,包括RTL(阿拉伯語和希伯來語)和CJK(中日韓)。支援嵌套的區塊級元素(如P、DIV),