Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows XP 內建定時關機全攻略:Shutdown.exe 參數完整解析

編輯:XP 常見問題解答

無需第三方軟體,XP (含 Win2000 複製 Shutdown.exe 至 System32) 即可實現定時關機。核心程式 %windir%\System32\Shutdown.exe。

常用指令範例

  • 指定時間關機:at 22:00 Shutdown -s(22:00 跳出 30 秒倒數對話框)
  • 倒數關機:Shutdown.exe -s -t 3600(3600 秒 = 60 分鐘後關機)
  • 取消關機:shutdown -a
  • 圖形化設定介面:shutdown -i

主要參數對照表

善用 at 排程配合 Shutdown.exe,輕鬆實現無人值守定時關機。

Copyright © Windows教程網 All Rights Reserved
參數功能
-s關閉本機
-a取消關機
-f強制關閉應用程式
-m \\電腦名控制遠端電腦
-i顯示 GUI(必須為第一參數)
-l登出目前使用者
-r關機並重啟
-t 秒數設定倒數秒數
-c "訊息"關機對話框顯示訊息 (最長 127 字元)