echo ============================================================================= > E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo %DATE% Restart all EV Services >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo ============================================================================= >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo %TIME% Stopping EV services... >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo ----------------------------------- >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log NET STOP "Enterprise Vault Task Controller Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET STOP "Enterprise Vault Storage Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log /y REM TIMEOUT /T 120 /NOBREAK PING -n 121 127.0.0.1>nul NET STOP "Enterprise Vault Shopping Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET STOP "Enterprise Vault Indexing Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log /y REM TIMEOUT /T 120 /NOBREAK PING -n 31 127.0.0.1>nul NET STOP "Enterprise Vault Directory Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET STOP "Enterprise Vault Admin Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log /y REM TIMEOUT /T 120 /NOBREAK PING -n 31 127.0.0.1>nul echo ----------------------------------------------------------------------------- >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo %TIME% Starting EV services... >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo ----------------------------------- >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log NET START "Enterprise Vault Admin Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET START "Enterprise Vault Directory Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET START "Enterprise Vault Indexing Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET START "Enterprise Vault Shopping Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET START "Enterprise Vault Storage Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul NET START "Enterprise Vault Task Controller Service" >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log PING -n 31 127.0.0.1>nul echo ----------------------------------------------------------------------------- >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo %TIME% Emailing log... >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log call E:\RestartEVServices\RestartAdmin232\AutoEmailSend.vbs REM cscript E:\RestartEVServices\RestartAdmin232\AutoEmailSend.vbs echo %TIME% log emailed to group >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo %TIME% Script Complete >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log echo ************************** >> E:\RestartEVServices\RestartAdmin232\RestartAdmin.log exit 0