2 Replies Latest reply: Apr 25, 2016 4:23 AM by Peter Cammaert RSS

    .bat file to automate license lease

    Trey Smithq

      Hi guys,


      I am trying to use a scheduled .bat file to reload an application on the server so I can lease a license each month. However, I need to use 'Alternate Identity' as the Authentication setting, so it prompts me for a password. This stops the


      Is there a way to pass the password in the command or a way to have my computer automatically type it?


      I tried creating a .vbs script which called the .bat file and then used .shell.sendkeys but since the password prompt pauses the .bat file, it did not work.


      I am open to any script that can automate this process. Though it would be awesome if you could explain the basics of what it is doing if it is not in batch.


      Current Script:

      @echo off

      echo Opening document on the server...


      "C:\Program Files\QlikView\Qv.exe" /r "qvp://username@ Quest.qvw"


      echo License active for the next 30 days.