How to Restart Domino Services without Reboot

--------------Restart_Domino.bat------------------------------------------------------

net stop "Lotus Domino Server (LotusDominoData)"
c:\bats\pulist | findstr /I /C:"nadminp.exe" >c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"naldaemn.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"namgr.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ncalconn.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ncatalog.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nchronos.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ncollect.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ncompact.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nconvert.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ndesign.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ndrt.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ndsmgr.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nevent.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nfixup.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nhttp.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nhttpcgi.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nimap.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nimsgcnv.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nisesctl.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"niseshlr.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nldap.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nlivecs.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nlnotes.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nlogin.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nnntp.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nnsadmin.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nobject.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nomsgcnv.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nosesctl.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"noseshlr.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"notes.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"npop3c.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"npop3.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nreport.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nrouter.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nreplica.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nsapdmn.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nsmtpmta.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nstatlog.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nstats.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nsched.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nservice.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nserver.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"ntsvinst.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nupdate.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nupdall.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nwrdaemn.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nweb.exe" >>c:\bats\pid.lst
c:\bats\pulist | findstr /I /C:"nxpcdmn.exe" >>c:\bats\pid.lst
for /f "tokens=2" %%I in (c:\bats\pid.lst ) do c:\bats\kill -f %%I

---------------------------------------------------------------------------------------------------------

Leave a Reply

Your email address will not be published. Required fields are marked *