Posted On March 29, 2019

How to Restart Domino Services without Reboot

kimconnect 0 comments
blog.KimConnect.com >> Codes , Windows >> 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 *

Related Post

Basic CSS: Add Borders Around Your Elements

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css"><style>.red-text {color: red;}h2 {font-family: Lobster, monospace;}p {font-size: 16px;font-family: monospace;}.smaller-image {width: 100px;}</style><h2 class="red-text">CatPhotoApp</h2><main><p…

Hyper-V: Cloning a Virtual Machine

Update 11/25/2021: There's anther variation of this function at: https://blog.kimconnect.com/powershell-create-hyper-v-guest-vm-from-virtual-disk-vhdx/This function will dynamically detect source…

Install and Remove Choco Applications As Well As Application Wizard Programs

# installChocoApps.ps1 [string[]]$computers=@( 'SERVER01', 'SERVER02', 'SERVER03' ) [string]$chocoAppName='pgadmin4' [version]$minVersion='6.0' function installChocoApp{ param( [string[]]$computers=$env:computername, [string]$chocoAppName='Firefox', [version]$minVersion='7.0'…