quinta-feira, 2 de fevereiro de 2017

Comandos .BAT

Abaixo, alguns exemplos de comandos .bat para reinício de serviços agendados no windows.

Start Service
net start .license2014
net start 03.Protheus11_MASTER
net start 02.Totvs_DBAccess64
net start 04.Protheus11_balance1
net start 05.Protheus11_Balance2
net start 05.Protheus11_Balance3
;net start 06.Protheus11_TSS
net start 07.Protheus11_SCH
net start 08.Protheus11_WKF
net start 11.Protheus11_TESTE_MASTER

Kill Service
net stop 13.Protheus11_TESTE_WKF
net stop 12.Protheus11_TESTE_TSS
net stop 11.Protheus11_TESTE_MASTER
net stop 09.Protheus11_PAINEIS
net stop 08.Protheus11_WKF
net stop 07.Protheus11_SCH
net stop 06.Protheus11_TSS
net stop 05.Protheus11_Balance3
net stop 05.Protheus11_Balance2
net stop 04.Protheus11_balance1
net stop 03.Protheus11_MASTER
net stop 02.Totvs_DBAccess64
net stop .license2014

TASKKILL /F /IM AppServer.exe
TASKKILL /F /IM DBAccess64.exe