@ECHO Restarting Services... @ECHO OFF REM Restart.bat REM 2009.05.03, HONDA, CREATE. 將以下指令以taskschd.msc設定即可. c:\WINDOWS\system32\shutdown.exe /f /r /t 00 REM net stop "Apache2.2" /y REM net stop "Virtual Server" /y REM net stop "Subversion Server" /y REM @ECHO Stopping Exchange Services... REM net stop "Microsoft Exchange Information Store" /y REM net stop "Microsoft Exchange MTA Stacks" /y REM net stop "Microsoft Exchange System Attendant" /y REM net stop "Microsoft Exchange IMAP4" /y REM net stop "Microsoft Exchange Routing Engine" /y REM net stop "Microsoft Exchange POP3" /y REM net stop "Microsoft Exchange Management" /y REM rem phaseout REM rem net stop "microsoft exchange internet mail service" /y REM rem net stop "microsoft exchange message transfer agent" /y REM rem net stop "microsoft exchange directory" /y REM net stop "SQL Server (MSSQLSERVER)" /y REM net stop "SQL Server (SQLEXPRESS)" /y REM net stop "modem sharing service" /y REM net stop "microsoft winsock proxy service" /y REM net stop "microsoft proxy server administration" /y REM net stop "microsoft fax service" /y REM net stop "microsoft dhcp server" /y REM net stop "computer browser" /y REM net stop "net logon" /y REM net stop "alerter" /y REM net stop "messenger" /y REM net stop "server" /y REM c:\WINDOWS\system32\shutdown.exe /f /r /t 00