<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Running password protected qvw file through batch file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330672#M121766</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work again. Let me check with you something: Do I have to use Windows NT name inside the excel table Section Access is referring to? Presently, qvw has an admin user who has admin rights and this ID is not the same with Windows NT username. Could this be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, serial number I obtained from our QV SBE is 16 digits number only (separated in groups of 4 digits followed by a space like: 1234 1234 1234 1234). I tried with and without space, still cannot use. Once qvw document is reloaded, I cannot open it anymore - it does not even ask for UserID and Password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I could incorporate qvw's UserID and Password into the batch script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your time and effort assisting my matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 05:51:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-01T05:51:15Z</dc:date>
    <item>
      <title>Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330668#M121762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope all is well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple enquiry and would like to seek your help. I have a password protected qvw file and would like to reload it automatically at given times using windows task scheduler. I crafted a simple batch script for "non-password protected" qvw file and it works perfect as intended. However, I could not solve the puzzle for running a password protected qvw through batch file. Any suggestions or recommendations will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me share with you the script I crafted (this is working for non-password protected qvw):&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;"C:\Program Files (x86)\QlikView\qv.exe"&amp;nbsp; /r&amp;nbsp; E:\Stats\Stats.qvw&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the password protected qvw I would like to run through batch has access control in the script as per following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;SECTION Access;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;LOAD [USERID], &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PASSWORD], &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [ACCESS], &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP_GROUP&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;Users_20110921.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Main);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;LOAD EMP_GROUP, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFINEDREGION,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;Users_20110921.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Zones);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;SECTION Application;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;STAR is All;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;LOAD EMP_GROUP, &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFINEDREGION,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;Users_20110921.xlsx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG&gt;(ooxml, embedded labels, table is Zones);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that UserID:admin and Password : 1234&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 00:30:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330668#M121762</guid>
      <dc:creator />
      <dc:date>2012-08-01T00:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330669#M121763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add one more field in Section Access - SERIAL - and the value of this filed will be the the serial number of your license.&amp;nbsp; Reload.&amp;nbsp; After this, it doesn't need userid/password on your machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 00:53:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330669#M121763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T00:53:56Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330670#M121764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your prompt reply. I added SERIAL column into the excel sheet and inserted in the serial number to this column. Additionally, I inserted the field [SERIAL] into the section access in the script as well. However, my document is locked after reload. It does not even prompt for userid and password anymore as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did I miss anything? What are your thoughts?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 01:17:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330670#M121764</guid>
      <dc:creator />
      <dc:date>2012-08-01T01:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330671#M121765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably you didn't miss anything - but you could mistype the serial value.&amp;nbsp; Besides, when load into Section Access from Excel (or a database), use uppper() function:&lt;/P&gt;&lt;P&gt;upper(USERID) as USERID,&lt;/P&gt;&lt;P&gt;upper(SERIAL) as SERIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 02:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330671#M121765</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T02:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330672#M121766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It did not work again. Let me check with you something: Do I have to use Windows NT name inside the excel table Section Access is referring to? Presently, qvw has an admin user who has admin rights and this ID is not the same with Windows NT username. Could this be the problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, serial number I obtained from our QV SBE is 16 digits number only (separated in groups of 4 digits followed by a space like: 1234 1234 1234 1234). I tried with and without space, still cannot use. Once qvw document is reloaded, I cannot open it anymore - it does not even ask for UserID and Password.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I could incorporate qvw's UserID and Password into the batch script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much for your time and effort assisting my matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;piroglu1907&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 05:51:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330672#M121766</guid>
      <dc:creator />
      <dc:date>2012-08-01T05:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330673#M121767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try doing the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13438057861889839" jivemacro_uid="_13438057861889839"&gt;&lt;P&gt;SECTION Access;&lt;/P&gt;&lt;P&gt;LOAD USERID, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PASSWORD, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESS, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EMP_GROUP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '*' as NTNAME&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[New Microsoft Office Excel Worksheet (2).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Main);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concatenate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD USERID, PASSWORD, ACCESS, EMP_GROUP, upper(OSUser()) as NTNAME INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERID, PASSWORD, ACCESS, EMP_GROUP&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *, *, ADMIN, *&lt;/P&gt;&lt;P&gt;]; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SECTION Application;&lt;/P&gt;&lt;P&gt;LOAD EMP_GROUP, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEFINEDREGION, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FILTER&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[New Microsoft Office Excel Worksheet (2).xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Zones);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially, this adds the machine the reload is being performed from (presumably admin server) to the list of users, identifiable by the domain username. A few caveats:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You must open and reload the QVW on the admin machine manually at least once. This way it adds the admin user to the QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Choose your admin machine as you will have to stick to it for this solution to work. Meaning, this will not work on any other machine unless manually reloaded first, again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. admin user: admin&amp;nbsp;&amp;nbsp;&amp;nbsp; password: 1234&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 07:27:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330673#M121767</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T07:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Running password protected qvw file through batch file</title>
      <link>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330674#M121768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Section Access with SERIAL works only if it is the Serial number of your QV Desktop license.&amp;nbsp; Serial from QV Server can't be used here.&lt;/P&gt;&lt;P&gt;But, if you have server, there is no need to use batch for reload - use QVS reload, where you can enter user id and password in the settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 10:24:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Running-password-protected-qvw-file-through-batch-file/m-p/330674#M121768</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T10:24:21Z</dc:date>
    </item>
  </channel>
</rss>

