Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Nicolás_Hip
Contributor
Contributor

Automatically run a model that has a password (with Windows Task Scheduler)

Hi,

I use a .bat file to run a QV model, and I need to automate that process using Windows task scheduler.

My problem is that the model requires a user/password, so the task scheduler can't run it.

What can I do to solve this?

Thanks a lot.

2 Replies
Brett_Bleess
Former Employee
Former Employee

Take a look through the following Help link, this will show you all options for Section Access, if you have a client license, you can use that, otherwise things may be a bit tricky here, been a while since I have messed with this type of setup.  

http://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Security.htm

Publisher does have the ability to specify credentials, but given what you are doing, I am guessing you do not have Publisher, so that is not an option.  

Here is another link I found as well that is more specific regarding 'batch' piece and section access:

http://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/BatchExecutio...

Hopefully this is enough to get you where you need to be.

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
NZFei
Partner - Specialist
Partner - Specialist

Have you try this?

"C:\program files\QlikView\qv.exe" /r /NoSecurity "\\QlikViewPath\QVDocument.qvw"