網頁

2022年5月12日 星期四

Windows Server 關機按鈕關閉

避免誤按關閉按鈕造成主機關機。

方式一:gpedit.msc 將關機按鈕從清單內直接移除

User Configuration > Administrative Templates > Start Menu and Taskbar. > Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands


方式二:cmd > logoff or shutdown -l

 

相關連結: