Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

遠端桌面連線中重啟 Windows XP:shutdown 指令一鍵搞定

編輯:關於 Windows

Windows XP 遠端桌面(mstsc)介面無「重新開機」選項,僅能登出。實際上系統內建 shutdown.exe 支援遠端重啟,指令極簡單。

操作方法

  1. 遠端桌面連線中,Win+R → 輸入:
shutdown -r -t 0
  • -r:重新開機
  • -t 0:倒數 0 秒(立即執行)

常用參數擴充

參數說明
-s關機
-r重新開機
-l登出
-t xxx倒數秒數(預設 30 秒)
-c "msg"顯示訊息於倒數對話框
-a中止已排程的關機/重開機
-m \\computer遠端電腦名稱(需權限)

遠端管理進階

  • 搭配 shutdown -m \\TargetPC -r -t 0 可在本機直接重啟遠端電腦(需同網域/工作群組、具備管理員權限、防火牆開放 RPC)
  • 圖形化替代:shutdown -i 開啟圖形介面遠端關機對話框

一行指令,解決遠端無法重啟的困境。

Copyright © Windows教程網 All Rights Reserved