<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>user pref file</title><link>https://communities.bentley.com/products/building/building_analysis___design/f/aecosim-speedikon-forum/177764/user-pref-file</link><description>Hi, 
 how to make my personal.ucf is written in the same directory as my personal...UPF (on the network) 
 I&amp;#39;ve created: 
 _USTN_HOMEROOT = $(_USTN_ORGANIZATION)USERS/$(USERNAME)/$(computername)/ 
 _USTN_LocalUserAppDataPath = $(_USTN_HOMEROOT)/ 
 
 but</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/520202?ContentTypeID=1</link><pubDate>Mon, 06 May 2019 05:09:00 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cd1a961c-b577-4bc8-84e9-3c1a06c84aae</guid><dc:creator>Bear</dc:creator><description>&lt;p&gt;Interesting enough, I tried similar this morning as I&amp;#39;m working on a CE build for a firm. I tried to undefine the variable in one of my Organisation cfg files and got the same error. Changed the undefine to the appl cfg and it worked fine.&lt;/p&gt;
&lt;p&gt;Sounds like this needs more investigation and changing if it&amp;#39;s true.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/520150?ContentTypeID=1</link><pubDate>Sun, 05 May 2019 23:45:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:affeebc9-11ae-46ae-819e-259bb7af9bcd</guid><dc:creator>Tuan Le</dc:creator><description>&lt;p&gt;Hi Bob,&lt;/p&gt;
&lt;p&gt;unless you actually used &lt;strong&gt;%undefine&amp;nbsp;&lt;/strong&gt;in your cfg file, which should have been&amp;nbsp;&lt;strong&gt;%undef&lt;/strong&gt;, I don&amp;#39;t think I can provide any help.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/520019?ContentTypeID=1</link><pubDate>Fri, 03 May 2019 16:53:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:1e81e7ce-77c7-4544-a71c-0b08d802b2d6</guid><dc:creator>Bob Waller</dc:creator><description>&lt;p&gt;Hi Mark,&lt;/p&gt;
&lt;p&gt;I am currently working through changing all our Bentley software to the CONNECT version, and I have come up against the above .ucf file problem while working on OpenBuildings Designer Update 5.&lt;/p&gt;
&lt;p&gt;I have tried the fix you suggest of undefining _USTN_USERCFG but all I get is an error and the program halts.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The error message is:&lt;/p&gt;
&lt;p&gt;Exiting, not found, [C:\Program Files\Bentley\OpenBuildings CONNECT Edition\OpenBuildingsDesigner\Config\msconfig.cfg],&lt;/p&gt;
&lt;p&gt;line 291&lt;/p&gt;
&lt;p&gt;This is the line in mcconfig.cfg&amp;nbsp; &amp;quot;%&amp;nbsp; error Exiting, $(_USTN_USERCFG) not found&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tracked the cause of the problem to the new line %undefine _USTN_USERCFG in the WorkSpaceSetup.cfg file.&lt;/p&gt;
&lt;p&gt;Everything is normal again when I comment this line out.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have more CONNECT programs coming into the office and quite a few client CAD builds to work through, but I need to get this one sorted first.&lt;/p&gt;
&lt;p&gt;Do you have any further suggestions, or am I doing something wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/519254?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2019 09:44:42 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:3bcf35da-b10f-45b5-abc9-bdca0048e557</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Sean, I&amp;#39;m completely with you on this.&lt;/p&gt;
&lt;p&gt;The previous situation was that this config could be redefined by modifying mslocal.cfg or other files in the system folders. This required good understanding of the configuration syntax and often complex use of that syntax. A large portion of our user base lacks that understanding or has not interest in learning it so we are working towards user-friendly solutions while doing our best to ensure that the more complex environments and knowledgeable people like you are still able to tune and protect their systems.&lt;/p&gt;
&lt;p&gt;One of the objectives of the CE configuration changes is to have a clear distinction between what is installed with the application which should be left alone and the user&amp;#39;s configuration that can be customised as required and protected appropriately. In terms of your approach essentially what has changed is the point at which your hta files start to take effect.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/519068?ContentTypeID=1</link><pubDate>Sat, 27 Apr 2019 14:18:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fbb0f541-ad0e-4946-bcc6-678408d856c9</guid><dc:creator>Bear</dc:creator><description>&lt;p&gt;Marc, in the past the ucf location was set, but we could always change it at other levels. I agree that there are issues with what a user can change, but IMO this one is the least of the problems and one more the domain of the admins. Now the config is locked, not ideal, but at least it can be undefined.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The whole reason I use the cascaded cfg&amp;#39;s is to keep users from being able to make changes. I can set variables at any level (company, site, project.client) and then lock them before the users can do any damage.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/518999?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 15:16:28 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:29a332fc-97fd-4b9d-8df0-41ded6966cc4</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Thanks, that&amp;#39;s useful to understand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/518998?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 15:16:06 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:fbda8d2d-d4ad-484f-9c84-e8f07ac342f8</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Sean,&lt;/p&gt;
&lt;p&gt;The configuration sequence is such that &lt;em&gt;_USTN_USERCFG&lt;/em&gt; is defined early on in the system configuration files. We have been maximising the separation between system and user editable CFGs so that all user configuration takes place after &amp;quot;C:\ProgramData\Bentley\OpenBuildings CONNECT Edition\Configuration\ConfigurationSetup.cfg&amp;quot;, this is why the %undef is required.&lt;/p&gt;
&lt;p&gt;There are ongoing discussions on this topic but I doubt if we will see significant change in the immediate future. Any changes that we make to the initial start up system CFGs, msconfig.cfg for instance, have to work with all of the other applications based on the (MicroStation) Power Platform so cannot be made lightly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/518859?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 00:54:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:769c0a15-5758-46f4-9f3a-821893ed51d9</guid><dc:creator>Bear</dc:creator><description>&lt;p&gt;Marc,&lt;/p&gt;
&lt;p&gt;I have seen the same issue and no longer store user files on the network. This has been seen even on quicker networks.&lt;/p&gt;
&lt;p&gt;What we prefer to do is have all users files in a single custom location.&lt;/p&gt;
&lt;p&gt;C:\Apps\Users\$(username)&lt;/p&gt;
&lt;p&gt;We also use the location to install all software packages. The reason for this is that IT lock down the Program Files (etc) location and we need to copy a text file into the Appl directory.&lt;/p&gt;
&lt;p&gt;What we then do is each time the hta application we use is closed, it copies the user files to the network. If a user swaps machines and they already have existing user files then they are copied down to the machines. If they are a new user, then they get a fresh copy of all files.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/518856?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2019 00:36:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:65019ab3-645d-4592-8019-74f350df82f6</guid><dc:creator>Bear</dc:creator><description>&lt;p&gt;Marc, will we get back to a stage where we can just redefine the variable rather than having to undefine it first? All we asked for during the beta testing, when this was first raised, was that we have this changed back to what we had before.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/517707?ContentTypeID=1</link><pubDate>Fri, 19 Apr 2019 08:41:21 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a8077180-9d14-4f77-bd4e-ef614bbb8f60</guid><dc:creator>Duncan Gammie</dc:creator><description>&lt;p&gt;I can confirm this works, I have stored prefs and workspaces on google drive and OneDrive for the last few years. You may find the odd file sync issue but generally nothing to worry about.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/517630?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 21:18:20 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:033b3a6f-6fa9-4587-b983-e05344494783</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Rik,&lt;/p&gt;
&lt;p&gt;It looks like OneDrive has potential to be a solution for roaming user prefs, this works in my initial teat at least, needs some more research to check for unforeseen consequences before firming up on it though:&lt;/p&gt;
&lt;p&gt;_USTN_HOMEROOT = $(OneDriveCommercial)/OBD_User/&lt;/p&gt;
&lt;p&gt;OneDriveCommercial is a Windows environment variable that points to the OneDrive for Business root folder; OneDriveConsumer points to the consumer root folder.&lt;/p&gt;
&lt;p&gt;There may be a &amp;#39;gotcha&amp;#39; if OneDrive file sync clashes with MicroStation file locking so slightly wary of this at the moment.&lt;/p&gt;
&lt;p&gt;Credit to &lt;span class="user-name"&gt;Kevin van Haaren for pointing out these variables over in the &lt;a href="/products/administration/f/product-administration-forum/178234/workspace-setup-on-microsoft-onedrive/517375#517375" rel="noopener noreferrer" target="_blank"&gt;Product Administration Forum&lt;/a&gt;.&lt;/span&gt;&lt;a class="internal-link view-post navigable" href="/products/administration/f/product-administration-forum/178234/workspace-setup-on-microsoft-onedrive/517375#517375"&gt;&lt;span class="ui-agodate ui-tip "&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/517628?ContentTypeID=1</link><pubDate>Thu, 18 Apr 2019 21:09:47 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a53e780b-5fc6-406c-922d-e9f4b953655a</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;HI Sean,&lt;/p&gt;
&lt;p&gt;Yes, I can confirm that. There is some concern internally that we may see problems caused by UPFs being messed up by slow networks or other causes hence our continuing recommendation.&lt;/p&gt;
&lt;p&gt;Please could you share more details about your solution with us?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/517000?ContentTypeID=1</link><pubDate>Tue, 16 Apr 2019 02:48:53 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:0eda10a4-e238-4189-afa4-c60b467b5936</guid><dc:creator>Bear</dc:creator><description>&lt;p&gt;Marc, can you confirm that the ability to set paths for all user files has been reinstated? This was an issue raised way back in beta testing. While we do run our files locally, we store them in a custom location that we have access to (don&amp;#39;t you love It groups). With the use of our hta files in the build, each time you close the hta files the users files are then copied to the network. Gives us access to them and still gives users the ability to have their user files follow them to different machines.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/516906?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 16:06:43 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:310f4f55-99d6-413e-b772-4fbfe8c42f47</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Hi Rik,&lt;/p&gt;
&lt;p&gt;To change the location of all user preferences files including the UCF try the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create prefs folder in desired location containing a .UCF file, it can be empty or pre-populated. For example: &lt;br /&gt;&amp;quot;D:\OBD_User\prefs\personal.ucf&amp;quot;&lt;/li&gt;
&lt;li&gt;Add the following configuration statements to WorkSpaceSetup.cfg:&lt;br /&gt;&lt;br /&gt; &lt;em&gt;%undef _USTN_USERCFG&lt;/em&gt;&lt;br /&gt;&lt;em&gt; _USTN_USERCFG = $(_USTN_HOMEPREFS)/Personal.ucf&lt;/em&gt;&lt;br /&gt;&lt;em&gt; _USTN_HOMEROOT = D:/OBD_User/&lt;/em&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The reason for using WorkSpaceSetup.cfg is that file is in the Custom Configuration so Bentley&amp;#39;s system files are not modified. The %undef _USTN_USERCFG statement is essential to clear the default value.&lt;/p&gt;
&lt;p&gt;Obviously choose your own paths.&lt;/p&gt;
&lt;p&gt;As previously mentioned we strongly recommend that user preferences are stored on the local drive and that relocation of preferences files is carried out with the support of IT systems that synchronize the local instance with a server copy, Windows Virtual Profiles for instance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/516820?ContentTypeID=1</link><pubDate>Mon, 15 Apr 2019 08:47:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:28b56129-8021-4900-b05f-3af700631ebc</guid><dc:creator>RikR</dc:creator><description>&lt;p&gt;so..... it would be nice to haven control about the personal.ucf&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/515796?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 13:34:13 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ace74923-27e2-4dae-88e3-e590e0bfe373</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;Hi Rik,&lt;/p&gt;
&lt;p&gt;Thanks for the additional information. That is a familiar scenario, well managed and with good network speeds it should work happily.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/515545?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2019 12:51:14 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5c5f56ee-a443-4e1c-9c61-5af7585cec33</guid><dc:creator>RikR</dc:creator><description>&lt;p&gt;Hi, Marc&lt;/p&gt;
&lt;p&gt;We in the company all store the preferences on the server, as we use different machines for drawing it is interesting to store the settings in one directory on the server. So if we change machine, we can save a copy of the preference directory. It is important to have a separate directory per machine because versions or preferences can be different from one machine to an other.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/515293?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 15:55:11 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a6831fb1-cdc5-4807-af41-2c78b02b73c5</guid><dc:creator>Marc Thomas</dc:creator><description>&lt;p&gt;You should find that it is possible to relocate the UCF in Update 5 (this was a platform change first available in MicroStation). I have not checked this in OpenBuildings Designer yet but will do so soon. Previously every file other than the UCF could be relocated.&lt;/p&gt;
&lt;p&gt;Note that we continue to recommend that user preferences are always stored on the local drive, using IT system functions to enable roaming.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: user pref file</title><link>https://communities.bentley.com/thread/515277?ContentTypeID=1</link><pubDate>Fri, 05 Apr 2019 14:46:40 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ca8c3d40-80c8-444b-ae77-202cea93f07f</guid><dc:creator>Duncan Gammie</dc:creator><description>&lt;p&gt;Currently, you can&amp;#39;t. this is restricted. Even setting&amp;nbsp;the&amp;nbsp;_USTN_USERCFG = variable has no effect. It&amp;#39;s annopying&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>