<?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: Windows users home drives in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861551#M26131</link>
    <description>More information on the ?FOLDERID_Documents variable can be found in the link below. Generally it means to ask windows what the user's Documents directory is and use that, so it sounds like for the users experiencing the behavior, their Windows machine still thinks their home directory is in H:.&lt;BR /&gt;&lt;BR /&gt;Usage Note 50713: The SASUSER default location has changed in the SAS® 9.4 sasv9.cfg file for Windows operating environments&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/50/713.html" target="_blank"&gt;https://support.sas.com/kb/50/713.html&lt;/A&gt;</description>
    <pubDate>Tue, 28 Feb 2023 19:00:44 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2023-02-28T19:00:44Z</dc:date>
    <item>
      <title>Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861467#M26130</link>
      <description>&lt;P&gt;SAS 9.4M7 on Windows Server 2012R2 and EG 8.3 on Windows 10&lt;/P&gt;
&lt;P&gt;Up until recently, all users in our organisation had an H: home drive mapped onto Windows shared drives. We have now replaced these with OneDrive as part of our MS365 rollout. Unfortunately, when the infrastructure folk were removing the H: drive folders they found that some were being recreated with a "My SAS Files" subfolder. I suspected that this was due to SAS assigning SASUSER to this location. The sasv9.cfg had the following lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;-SET MYSASFILES "?FOLDERID_Documents\My SAS Files\9.4"
-SASUSER "?FOLDERID_Documents\My SAS Files\9.4"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I don't quite understand what sort of reference "?FOLDERID_Documents" is but I guessed it was possibly pointing users to the UNC path of their old home drives. So I changed these lines to refer to locations in the users' profiles:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;-SET MYSASFILES "%APPDATA%\My SAS Files\9.4"
-SASUSER "%APPDATA%\My SAS Files\9.4"&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, we are still seeing some of the old home drive locations being recreated. Does anyone have any ideas how this is happening? There are no other references to anything which could be&amp;nbsp; the old home drives in the sasv9.cfg file or the various autoexec files used by Workspace Servers.&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 16:00:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861467#M26130</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2023-02-28T16:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861551#M26131</link>
      <description>More information on the ?FOLDERID_Documents variable can be found in the link below. Generally it means to ask windows what the user's Documents directory is and use that, so it sounds like for the users experiencing the behavior, their Windows machine still thinks their home directory is in H:.&lt;BR /&gt;&lt;BR /&gt;Usage Note 50713: The SASUSER default location has changed in the SAS® 9.4 sasv9.cfg file for Windows operating environments&lt;BR /&gt;&lt;A href="https://support.sas.com/kb/50/713.html" target="_blank"&gt;https://support.sas.com/kb/50/713.html&lt;/A&gt;</description>
      <pubDate>Tue, 28 Feb 2023 19:00:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861551#M26131</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-02-28T19:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861555#M26132</link>
      <description>&lt;P&gt;This documentation might be worth checking in your case&lt;/P&gt;&lt;P&gt;&lt;A href="https://support.sas.com/kb/50/713.html" target="_self"&gt;https://support.sas.com/kb/50/713.html&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;Also, if you use SAS Studio, check if you have specified any custom home directory in the option webdms.studioDataParentDirectory= inside ..\SASConfig\&amp;lt;Levn&amp;gt;\Web\WebAppServer\SASServerm_n\sas_webapps\sas.sasstudio.war\config\config.properties&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 19:04:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861555#M26132</guid>
      <dc:creator>sangavis37</dc:creator>
      <dc:date>2023-02-28T19:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861698#M26141</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78975"&gt;@gwootton&lt;/a&gt;&amp;nbsp;. I reckoned maybe ?FOLDERID_Documents did something like that. But I have replaced it with %appdata% in the sasv9.cfg file so it shouldn't be an issue anymore. We're still seeing the folders being recreated in a few cases.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually I have a suspicion that it's nothing to do with SAS itself, but a hang-over in their Windows account profiles. One of them doesn't ever use SAS (might have done in the past though).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 10:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861698#M26141</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2023-03-01T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861823#M26147</link>
      <description>I agree this sounds like a Windows issue.&lt;BR /&gt;&lt;BR /&gt;I would expect %APPDATA% would similarly resolve to the user's home directory, but point to the "AppData" folder there instead of "Documents".</description>
      <pubDate>Wed, 01 Mar 2023 19:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861823#M26147</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2023-03-01T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861838#M26149</link>
      <description>&lt;P&gt;You can easily run SAS code to see where those Windows settings are pointing.&lt;/P&gt;
&lt;P&gt;For example make a FILEREF and ask SAS what location it ended up using.&lt;/P&gt;
&lt;PRE&gt;3127  filename where '%APPDATA%' ;
3128  %put %sysfunc(pathname(where));
C:\Users\xxxx\AppData\Roaming
3129  filename where '?FOLDERID_Documents' ;
3130  %put %sysfunc(pathname(where));
C:\Users\xxxx\OneDrive - YYYY\Documents
&lt;/PRE&gt;
&lt;P&gt;Don't rule out that the users are doing something to create the directories/files.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 19:58:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861838#M26149</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-03-01T19:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Windows users home drives</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861922#M26152</link>
      <description>&lt;P&gt;OK, I think I've got to the bottom of it, and it looks like it's the Office Add-In rather than SAS itself. There's an AMO setting "SAS results files location" which looks like it's set by default to a user's home drive. Where AMO was installed before the move to OneDrive that would be the UNC to their H: drive. So any time they opened Word, Excel or Powerpoint it tried to recreate that if it didn't exist.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2023 12:05:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Windows-users-home-drives/m-p/861922#M26152</guid>
      <dc:creator>Nigel_Pain</dc:creator>
      <dc:date>2023-03-02T12:05:49Z</dc:date>
    </item>
  </channel>
</rss>

