BatchPatch Forums Home › Forums › BatchPatch Support Forum › Check for a single running service
- This topic has 5 replies, 2 voices, and was last updated 6 years ago by dorianborovina.
-
AuthorPosts
-
November 30, 2018 at 12:17 pm #8754dibblerParticipant
Hi. I’m a new user and slowly getting to grips with how powerfull batchpatch is.
I have a list of a few hundred windows 7 pcs that are on a domain. I need to check that they have a certain process running.
I can see how you can check for all running processes but not to just check for 1.
Can somebody point out the obvious thing I’ve probably missed!!
Thanks
November 30, 2018 at 12:38 pm #9967dorianborovinaParticipantHi Dibbler,
Is this what are you looking for?
Right click on the host
Services / Processes
Check if process is running
Best regards,
Dorian Borovina
November 30, 2018 at 12:51 pm #9968dibblerParticipantThanks for the reply.
That’s nearly what i’m looking for. I’ve already tried that!
The thing i’m looking for is a service and not a process so dosent show up with the above command.
If I use
Services / Processes
List automatic Services
It shows up in the list of all the services.
DisplayName Name
ACEmessage Network Client ACEmessage Network Client
Windows Audio Endpoint Builder AudioEndpointBuilder
Windows Audio Audiosrv
Base Filtering Engine BFE
SMS Agent Host CcmExec
Certificate Propagation CertPropSvc
Microsoft .NET Framework NGEN v4.0.30319_X86
Group Policy Client gpsvc
GSL Share Memory GslShmSrvc
Google Update Service (gupdate) gupdate
Microsoft Monitoring Agent HealthService
HitmanPro.Alert service hmpalertsvc
HP Support Assistant Service HP Support Assistant Service
IKE and AuthIP IPsec Keying Modules IKEEXT
Intel(R) PROSet Monitoring Service Intel(R) PROSet Monitoring Service
IP Helper iphlpsvc
IviRegMgr IviRegMgr
Intel(R) Identity Protection Technology Host Interface Service jhi_service
It would make it easier if I could just see the one! i.e Microsoft Monitoring Agent HealthService
November 30, 2018 at 1:51 pm #9969dorianborovinaParticipantHi Dibbler,
Unfortunately, that function is not yet implemented.
Maybe Doug will implement it in near future. 🙂
This is the quick fix.
sc query wscsvc | find “STATE”
wscvs is the name of the service, not the display name.
Right click on host
Execute remote process/command
Create/modify remote commands
Title: (Name it as you wish)
Command: sc query service_name | find “STATE”
Best regards,
Dorian Borovina
November 30, 2018 at 1:58 pm #9970dibblerParticipantThanks. That has just saved hours of work.
December 3, 2018 at 8:49 am #9972dorianborovinaParticipantHi Dibbler,
I’m glad it helped!
Best regards,
Dorian Borovina
-
AuthorPosts
- You must be logged in to reply to this topic.