Bohack

Check In and Tune Out!
 
 
« Allowing Non-Administrators To Install Fonts In Windows 7
Change The Label For CD or DVD Drives Under My Computer »

How To Create A MicroStation V8i Preference Seed File



Recently I had to work with Bentley Microstation V8i from a network admin aspect. I needed to adjust certain preferences of the software. Microstation is a CAD application for 2D and 3D work, so this is not a normal blog post for me.

I work for a school that requires all users that start Microstation up for the first time to have the same preferences. Coupled with a Mandatory profile; all students have a “first run” experience and class goes easier. So when I called into Bentley I found out that everything is classified into “Configuration” and “Preferences”. Configuration can be changed, but preferences are a lot tougher.

In short: anything in the GUI is a preference and therefore cannot be set in the configuration files call UCF files of CFG files. The preferences are stored in a UPF file that is created in “AppData\Local” on a Windows 7 (Local Settings on Windows XP). This file is created from an installer that Microstation runs upon first run by the user. To make it worse the folder is created with a unique string that is different every time and the UPF is not text editable like the CFG files.

However you can make all users receive a seed of preferences, so that you can achieve the desired effect.

To make all first time users receive the same preferences you can:

Part 1 – Create the preference file

  1. Delete your %userprofile%\AppData\Local\Bentley. Make sure you do not have Microstation running.
  2. Start Microstation and create a brand new file using the seed file you want to change preferences for.
  3. Make all of the GUI changes in the menus. My users wanted “enable fence create” and a few others.
  4. Close Microstation.

Part 2 – Set the preference file as the seed

  1. Go to “%userprofile%\AppData\Local\Bentley\MicroStation\8.11\y5211223adfsdasfsafa\prefs and copy the untitled.upf to C:\ProgramData\Bentley Multi-Install\MicroStation\WorkSpace\Standards\seed”
  2. Rename the file to “default.spf”
  3. Go to “C:\ProgramData\Bentley Multi-Install\MicroStation\WorkSpace\Standards” basically up a directory and open the “standards.cfg” file in notepad.
  4. Put this line into the file under the MS_SYMBRSRC line “MS_USERPREFSEED = $(_USTN_SITE)seed/default.spf”
  5. Save it and test.

The next user that logs on without a “Bentley” folder in AppData\Local will inherit all preferences from the default.spf file since the standards.cfg file is now pointing to it. It is all possible to point that variable of MS_USERPREFSEED to a network share, so all new users pull the preferences from a network location; so that global changes are easier. I have not tested that, so please comment if it works.

Tags: CAD, Windows 7

This entry was posted on Friday, July 1st, 2011 at 10:34 am and is filed under Software.
You can follow any responses to this entry through the RSS 2.0 feed.
Both comments and pings are currently closed.

Comments are closed.

  • Channels

    • Beer (2)
    • Blog (1)
    • Exchange (2)
    • Ham Radio (1)
    • Homebrew (3)
    • Linux / Unix (4)
    • Misc (1)
    • Mods (4)
    • Networking (1)
    • Programming (4)
    • Recipes (2)
    • Scripts (7)
    • Security (1)
    • Software (2)
    • Spam (1)
    • Telco (7)
    • Virtual PC (1)
    • VMware (3)
    • VOIP (3)
    • Windows (16)
    • Windows 2008 (4)
    • Windows 7 (5)
  • Archives

    • September 2012
    • April 2012
    • March 2012
    • February 2012
    • January 2012
    • November 2011
    • September 2011
    • July 2011
    • April 2011
    • February 2011
    • January 2011
    • October 2010
    • August 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • June 2009
    • May 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • Links

    • Blogarama Blogarama – The Blog Directory
    • BlogHub Blog Directory
    • Blogrankings Technology Blogs – Blog Rankings
    • Blogville.us blogville.us
    • Buzzerhut free directory | buzzerhut.com
    • Ontoplist Online Marketing
    • Primechoiceautoparts Discount Auto Parts
    • PTC My Employer
 

  Copyright - Bohack 2025 ©