Blaster/Sasser 等蠕蟲呼叫 shutdown.exe (位於 %WinDir%\System32\) 強制重開機。在倒數視窗彈出時,執行 shutdown.exe -a 即可中止。
shutdown.exe -a (注意 -a 前有空格) → Enter。| 參數 | 功能 |
|---|---|
-a | 中止關機 |
-f | 強制關閉應用程式 |
-m \\ComputerName | 遠端控制指定電腦 |
-i | 顯示圖形介面 (必須為第一個參數) |
-l | 登出目前使用者 |
-r | 關機並重新開機 |
-t 秒數 | 設定關機倒數秒數 |
-c "訊息" | 關機對話框顯示訊息 (最多 127 字元) |
at 23:00 shutdown -s (23:00 關機,預設 30 秒倒數)。shutdown.exe -s -t 3600 (60 分鐘後關機)。shutdown -a。shutdown -i。%WinDir%\System32\shutdown.exe 複製至 Win2k 同目錄。shutdown.exe 即可像 XP 一樣使用所有參數。Win2k 原生調用 Shell32.dll (如 rundll32.exe Shell32.dll,SHExitWindowsEx 8),但移植 shutdown.exe 更方便統一管理。