<?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 Help With 'SAS Error Event: hzoscsidl:' Error When Submitting In Batch on Windows Server 2012R2 in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Help-With-SAS-Error-Event-hzoscsidl-Error-When-Submitting-In/m-p/405531#M10748</link>
    <description>&lt;P&gt;Looking for assistance with an error code&amp;nbsp;running SAS 9.4 on Windows Server 2012R2.&amp;nbsp; Any help appreciated - details below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp;task in the Task Scheduler program that&amp;nbsp;runs a simple&amp;nbsp;.bat file that creates a timestamp and submits a&amp;nbsp;SAS command line to launch a program and redirect .lst/.log files to time stamped files in a specific folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple important points:&lt;/P&gt;&lt;P&gt;1- The task runs&amp;nbsp;successfully&amp;nbsp;when I&amp;nbsp;run the batch manually under my ID&lt;/P&gt;&lt;P&gt;2- The task runs&amp;nbsp;successfully&amp;nbsp;when I am logged into the server and initiate it manually through Task Scheduler&lt;/P&gt;&lt;P&gt;3- The&amp;nbsp;task runs successfully when under the login of my system admin when he is logged in and initiates it manually&lt;/P&gt;&lt;P&gt;4- The&amp;nbsp;task runs successfully when under the login of my system admin when he is not logged in and it lunches on schedule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the issue...&lt;/P&gt;&lt;P&gt;5- The&amp;nbsp;scheduled task runs under my ID when I am not logged in but but returns the following cryptic error to the server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;SAS Error Event: hzoscsidl: Unknown error for KNOWNFOLDERID FOLDERID_Documents Return code from system -2147024891&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea what this error means?&amp;nbsp; I am over my head here - I&amp;nbsp;understand it relates to the KNOWNFODERID and the settings on the 'Documents' Environment.SpecialFolder, but I have no idea why the sams script run by the same users in different conditions would trigger this error or where to get additional information.&amp;nbsp; Hoping the community can help...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Software Version: &lt;/STRONG&gt;SAS 9.4 TS Level 1M2&amp;nbsp;X64_SRV12 platform&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System:&amp;nbsp;&lt;/STRONG&gt; Windows Server 2012R2 Standard&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Oct 2017 13:40:50 GMT</pubDate>
    <dc:creator>brian_roseberry</dc:creator>
    <dc:date>2017-10-19T13:40:50Z</dc:date>
    <item>
      <title>Help With 'SAS Error Event: hzoscsidl:' Error When Submitting In Batch on Windows Server 2012R2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Help-With-SAS-Error-Event-hzoscsidl-Error-When-Submitting-In/m-p/405531#M10748</link>
      <description>&lt;P&gt;Looking for assistance with an error code&amp;nbsp;running SAS 9.4 on Windows Server 2012R2.&amp;nbsp; Any help appreciated - details below:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a&amp;nbsp;task in the Task Scheduler program that&amp;nbsp;runs a simple&amp;nbsp;.bat file that creates a timestamp and submits a&amp;nbsp;SAS command line to launch a program and redirect .lst/.log files to time stamped files in a specific folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A couple important points:&lt;/P&gt;&lt;P&gt;1- The task runs&amp;nbsp;successfully&amp;nbsp;when I&amp;nbsp;run the batch manually under my ID&lt;/P&gt;&lt;P&gt;2- The task runs&amp;nbsp;successfully&amp;nbsp;when I am logged into the server and initiate it manually through Task Scheduler&lt;/P&gt;&lt;P&gt;3- The&amp;nbsp;task runs successfully when under the login of my system admin when he is logged in and initiates it manually&lt;/P&gt;&lt;P&gt;4- The&amp;nbsp;task runs successfully when under the login of my system admin when he is not logged in and it lunches on schedule&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the issue...&lt;/P&gt;&lt;P&gt;5- The&amp;nbsp;scheduled task runs under my ID when I am not logged in but but returns the following cryptic error to the server:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;SAS Error Event: hzoscsidl: Unknown error for KNOWNFOLDERID FOLDERID_Documents Return code from system -2147024891&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any idea what this error means?&amp;nbsp; I am over my head here - I&amp;nbsp;understand it relates to the KNOWNFODERID and the settings on the 'Documents' Environment.SpecialFolder, but I have no idea why the sams script run by the same users in different conditions would trigger this error or where to get additional information.&amp;nbsp; Hoping the community can help...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SAS Software Version: &lt;/STRONG&gt;SAS 9.4 TS Level 1M2&amp;nbsp;X64_SRV12 platform&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Operating System:&amp;nbsp;&lt;/STRONG&gt; Windows Server 2012R2 Standard&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:40:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Help-With-SAS-Error-Event-hzoscsidl-Error-When-Submitting-In/m-p/405531#M10748</guid>
      <dc:creator>brian_roseberry</dc:creator>
      <dc:date>2017-10-19T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help With 'SAS Error Event: hzoscsidl:' Error When Submitting In Batch on Windows Server 2012R2</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Help-With-SAS-Error-Event-hzoscsidl-Error-When-Submitting-In/m-p/405535#M10749</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/89525"&gt;@brian_roseberry&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;that is most probably because your account is not included in some Local or Group Security Policy.Not sure about which one at this moment. It could be "run as a service" or "log on as batch job".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I were you I would ask one of your Windows admins, they should know the answer and if you can actually set the Security policy for your account.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 13:51:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Help-With-SAS-Error-Event-hzoscsidl-Error-When-Submitting-In/m-p/405535#M10749</guid>
      <dc:creator>JuanS_OCS</dc:creator>
      <dc:date>2017-10-19T13:51:51Z</dc:date>
    </item>
  </channel>
</rss>

