<?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: Server 2012 R2 data reload problem through Task scheduler in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922689#M988638</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case, someone finds this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) A colleague found an option that should be set on the Qlikview scheduled task, on Windows 2012:&lt;/P&gt;&lt;OL class="sbody-num_list" style="color: #000000; font-family: 'Segoe UI', 'Segoe UI Web', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;"&gt;&lt;LI&gt;click the &lt;SPAN class="uiterm" style="font-weight: bold;"&gt;Conditions&lt;/SPAN&gt; tab.&lt;/LI&gt;&lt;LI&gt;Check the &lt;SPAN class="uiterm" style="font-weight: bold;"&gt;Wake the computer to run this task&lt;/SPAN&gt; check box.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Always insert a valid path in the "Start in" option of the scheduled task, even if you don't need it. &lt;SPAN style="font-size: 13.3333px;"&gt;The task owner should have write permission on it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Also, this thread &lt;A href="https://community.qlik.com/message/739008"&gt;Re: Server 2012 R2 Desktop reload problem&lt;/A&gt; gives another solution. I could make my scheduled task run by copying the whole &lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif; font-size: 13.3333px;"&gt;C:\Users\&amp;lt;myuser&amp;gt;\&lt;/SPAN&gt;Appdata\Roaming\Qlikview directory into the &lt;STRONG&gt;Default\&lt;/STRONG&gt;AppData\Roaming directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;copy the Qlikview licensed user AppData\Local\QlikTech directory into the &lt;STRONG&gt;Default&lt;/STRONG&gt; corresponding directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;5) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;Create C:\Users\&lt;STRONG&gt;Default\Documents&lt;/STRONG&gt;\QlikTech\QlikView and add write permissions for your Qlikview user.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 15:05:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-01-20T15:05:08Z</dc:date>
    <item>
      <title>Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922685#M988634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've apparently same exact problem as &lt;A href="https://community.qlik.com/qlik-users/110447"&gt;ShaneMichelon&lt;/A&gt; had here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/155256"&gt;Server 2012 R2 Desktop reload problem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scheduled task appears hung on running, with 0x41301 Windows state ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm seeing many other threads with same issue on Windows Server scheduled task, but in my case Qlik 11 engine doesn't &lt;SPAN style="font-size: 13.3333330154419px;"&gt;update the &lt;/SPAN&gt;log file (i.e. refreshing "data.qvw" file I don't have "data.qvw.log" file updated/regenerated). If I run it manually from Task Scheduler while I'm logged in everything's fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Shane suggested, I've modified Settings.ini file in Default folder so that it contains also the elements from the same file located in user folder, but with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks, best regards.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Marco Pikiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2015 16:16:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922685#M988634</guid>
      <dc:creator />
      <dc:date>2015-07-30T16:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922686#M988635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Welcome in the same boat. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the same problem. My findings are the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;The scheduled task is executed by a user who uses Qlikview interactively i.e. he opens QV and work on it. The license is installed for this user.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px; line-height: 1.5em;"&gt;When the user is &lt;STRONG&gt;not&lt;/STRONG&gt; logged in the server, QV is started but it does nothing. It doesn't update the data.qvw file and does not generate a log.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px; line-height: 1.5em;"&gt;The taskmanager displays qv.exe but it takes no CPU (usage=00) and a small amount of RAM (a few Mbytes only). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;The scheduled task is frozen in this state.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;As we don't have a log, we are left blind &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;Note: playing with all task scheduler &lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;option &lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;"run with maximum privileges", &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;"run even if user didn't open a session" ...etc changes nothing at all.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;Now the strange part:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;If I open a RDS session with the licensed user and leave it alone (I don't use it) and I execute the scheduled task on the Console session (i.e. not from the RDS session), it runs perfectly. Process "qv.exe" uses CPU and RAM. A process "qvconnect32.exe" and QVW files are generated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;I suspect the fact that QV opens the &lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;"Script Execution Progress" &lt;/SPAN&gt;window to display the reloading status is the blocking factor here. Windows 2012 may block the process because the scheduled task runs inside a non-interactive mode where the GUI cannot be opened.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;I asked to the Qlik support who replied "it's not a problem in Qlikview. Please ask the community."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: arial, verdana, sans-serif; font-size: 13px;"&gt;This is a bad answer as the above tests are 100% reproducible and shows perfectly the scheduled task is correctly created. There is some interaction between the fact that QV displays a GUI and how scheduled tasks are executed in Windows 2012.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wish there was a "/nogui" command line argument for QV &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Dec 2015 15:29:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922686#M988635</guid>
      <dc:creator />
      <dc:date>2015-12-21T15:29:04Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922687#M988636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Philippe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I apologize for delay, I've totally forgotten to close this post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some weeks ago (i.e. some months after my request), I've solved by myself following this procedure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Open the Windows group policy editor (Start --&amp;gt; Run --&amp;gt; gpedit.msc).&lt;/P&gt;&lt;P&gt;2) Go under Computer Configuration --&amp;gt; Administrative Templates --&amp;gt; System --&amp;gt; UserProfiles.&lt;/P&gt;&lt;P&gt;3) Search for "Do not forcefully unload the user registry at user logoff" setting: c&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;hange it from “Not Configured” to “Enabled”.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Hope this could help you too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Regards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;--&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Marco Pikiri&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Dec 2015 15:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922687#M988636</guid>
      <dc:creator />
      <dc:date>2015-12-22T15:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922688#M988637</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;Thanks for the hint.&lt;/P&gt;&lt;P&gt;It does not seem to have any effect here but I'll keep on trying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:03:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922688#M988637</guid>
      <dc:creator />
      <dc:date>2015-12-23T14:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922689#M988638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case, someone finds this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) A colleague found an option that should be set on the Qlikview scheduled task, on Windows 2012:&lt;/P&gt;&lt;OL class="sbody-num_list" style="color: #000000; font-family: 'Segoe UI', 'Segoe UI Web', 'Segoe UI Symbol', 'Helvetica Neue', 'BBAlpha Sans', 'S60 Sans', Arial, sans-serif;"&gt;&lt;LI&gt;click the &lt;SPAN class="uiterm" style="font-weight: bold;"&gt;Conditions&lt;/SPAN&gt; tab.&lt;/LI&gt;&lt;LI&gt;Check the &lt;SPAN class="uiterm" style="font-weight: bold;"&gt;Wake the computer to run this task&lt;/SPAN&gt; check box.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Always insert a valid path in the "Start in" option of the scheduled task, even if you don't need it. &lt;SPAN style="font-size: 13.3333px;"&gt;The task owner should have write permission on it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Also, this thread &lt;A href="https://community.qlik.com/message/739008"&gt;Re: Server 2012 R2 Desktop reload problem&lt;/A&gt; gives another solution. I could make my scheduled task run by copying the whole &lt;SPAN style="color: #3d3d3d; font-family: Helvetica, sans-serif; font-size: 13.3333px;"&gt;C:\Users\&amp;lt;myuser&amp;gt;\&lt;/SPAN&gt;Appdata\Roaming\Qlikview directory into the &lt;STRONG&gt;Default\&lt;/STRONG&gt;AppData\Roaming directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;4) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;copy the Qlikview licensed user AppData\Local\QlikTech directory into the &lt;STRONG&gt;Default&lt;/STRONG&gt; corresponding directory.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;5) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; background: white; font-size: 10.0pt; font-family: 'Helvetica',sans-serif;"&gt;Create C:\Users\&lt;STRONG&gt;Default\Documents&lt;/STRONG&gt;\QlikTech\QlikView and add write permissions for your Qlikview user.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:05:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922689#M988638</guid>
      <dc:creator />
      <dc:date>2016-01-20T15:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922690#M988639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my case I solved using the method I wrote on december 22nd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should point out that at present I am not able to verify your solution, but no problem to mark your solution as the helpful one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Marco Pikiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 16:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922690#M988639</guid>
      <dc:creator />
      <dc:date>2016-01-20T16:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Server 2012 R2 data reload problem through Task scheduler</title>
      <link>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922691#M988640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much for this Philippe ... I had been tearing my hair out on this one ..... for the benefit of others we had several tasks set up and most were working fine when the user was logged off. Two however were not. The two that were hanging as described above were both reloading documents via a unc path (all the working ones were loading documents local to the server). Selecting the option to wake the computer as suggested has resolved both of these now and they both now run fine when the user is logged off. Thanks Again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2016 20:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Server-2012-R2-data-reload-problem-through-Task-scheduler/m-p/922691#M988640</guid>
      <dc:creator>canoebi99</dc:creator>
      <dc:date>2016-10-04T20:14:49Z</dc:date>
    </item>
  </channel>
</rss>

