Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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@000.000.00.00/Golf Quest.qvw"
echo License active for the next 30 days.
exit
You could use the runas-feature with them you could run a batch with another user and with the parameter savecred you could store the credentials: https://www.google.de/search?q=batch+runas+savecred
- Marcus
I see two possible problems with this strategy:
Best,
Peter