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

Windows 8 定時自動關機與取消指令:shutdown 參數完整教學

編輯:Win8 系統基礎知識

設定定時關機

  1. Win+R 開啟「執行」。
  2. 輸入:shutdown -s -t 秒數(例:3 小時 = 10800 秒)。
  3. 確定 → 托盤區顯示倒計時通知。

取消已排程關機

  1. 再次開啟「執行」。
  2. 輸入:shutdown -a → 確定。
  3. 托盤區提示「已取消排程關機」。

進階參數補充

  • -c "訊息":自訂關機提示訊息(最長 127 字元)。
  • at 時間 shutdown -s:配合 at 指令定時(例:at 24:00 shutdown -s)。
  • shutdown -i:開啟圖形化遠端關機對話框。

⚠ 注意事項

排程關機前請確認存檔重要資料。若中途有變,務必執行 shutdown -a 取消,避免資料遺失。

Copyright © Windows教程網 All Rights Reserved