Windows 去除關機選項

去除關機選項

gpedit.msc
User Configuration(用戶配置)
Administrative Templates(管理模板)
Start Menu and Taskbar(“開始”菜單和任務欄)
Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands
Not Configured --> Enable

這樣操作之後,“關機”、“重啓”等命令全沒有了,我們想要的結果是保留“重啓”


命令重啓

shutdown -r -t 5
-r: restart
-t: time, seconds
shutdown -s -t 0
-s: shutdown



REMOVE SHUTDOWN OPTIONS FROM WINDOWS 7 START MENU



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章