3 Replies Latest reply on Sep 27, 2016 10:10 AM by cwinning

    Deployment Template - custom actions - where do I put the .bat file

    gforsythe Rookie

      I am creating script to stop services before patching, then restart them after.  Step 4: Specify the command to Execute.  My question is, where should I put this file and how should I specify the path?  My default is to put them in a local directory to the specified server  Call my server. Server1, and I create a root folder called Scripts.  I put my bat file in this folder. Can I then use the following in Step 4?

       

      call \\server1\c$\scripts\service_stop.bat

       

      Assuming that the Shavlik serice account has root access to Server1.

       

      If this is not right, please make suggestion.  My bat file is calling a PS1 file which is executing a few stop services.