Check for a single running service

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.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #8754
    dibbler
    Participant

    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

    #9967
    dorianborovina
    Participant

    Hi Dibbler,

    Is this what are you looking for?

    Right click on the host

    Services / Processes

    Check if process is running

    Best regards,

    Dorian Borovina

    #9968
    dibbler
    Participant

    Thanks 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

    #9969
    dorianborovina
    Participant

    Hi 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

    #9970
    dibbler
    Participant

    Thanks. That has just saved hours of work.

    #9972
    dorianborovina
    Participant

    Hi Dibbler,

    I’m glad it helped!

    Best regards,

    Dorian Borovina

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.