Stop Dependent Application Services

BatchPatch Forums Home Forums BatchPatch Support Forum Stop Dependent Application Services

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11450
    doug
    Moderator

    Hi Paolo –

    To do what you are wanting to do, you’ll need to use the BatchPatch Multi-Row Queue Sequence. You’ll probably use the advanced option, but depending on your needs you might also just use the basic option. Tutorials for this feature are at the following links:

    Basic Multi-Row Queue Sequence Tutorial

    Advanced Multi-Row Queue Sequence Tutorial 1

    Advanced Multi-Row Queue Sequence Tutorial 2

    For stopping and starting services inside of a multi-row queue sequence, you would probably use remote process/command actions that look like this:

    NET STOP "DisplayNameOfService"
    NET STOP "DNS Client"

    NET START "DisplayNameOfService"
    NET START "DNS Client"

    OR

    WMIC SERVICE where caption='DisplayNameOfService' CALL stopservice
    WMIC SERVICE where caption='DNS Client' CALL stopservice

    WMIC SERVICE where caption='DisplayNameOfService' CALL startservice
    WMIC SERVICE where caption='DNS Client' CALL startservice

    -Doug

    #11451
    Paolo
    Participant

    Thanks Doug. I’ll test that out.

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