Deploy only if a process is not in memory

Comments

2 comments

  • Shane Corellian

    Hi Len,

    Use a Command step in your PDQ Package. Have the only Success Code be a 1. (remove the 0) 

    %WINDIR%\System32\tasklist /FI "IMAGENAME eq winword.exe" | find /I /N "winword.exe"

    Check if process is running.png

     

    Make sure you have your option on Step 1 to "Stop Deployment if this Step fails"

    PDQ Deploy Package Options.png

    0
    Comment actions Permalink
  • Lcristino

    Shane,

    That worked beautifully. I was doing it in a roundabout way with scripts, this is much cleaner. Thanks and we really love your product!

    Len

    0
    Comment actions Permalink

Please sign in to leave a comment.