Enabling Lock Pages In Memory Under Windows 7 and Vista


  
 Applies To 
  
 Product(s):MicroStation
 Version(s):V8i
 Environment: Windows 7-10, Vista
 Area: N/A
 Subarea: N/A
 Original Author:Keith Bentley, Bentley Software Group
  

MicroStation can use more than 4GB of physical memory on computers running Windows x64. See MicroStation Memory Management for details. Due to the enhanced security model of Windows 7 through 10 and Vista, MicroStation is prohibited from enabling the "Lock Pages In Memory" privilege unless user access control is disabled or MicroStation is run with administrator privilege.

The simplest workaround is for the user to disable user access control, but it is likely some users and/or system managers will find that unacceptable.

Another workaround is to run MicroStation with administrator privilege.
To do that, the user must have administrator privilege and must request that MicroStation run with administrator privilege. A user with administrator privilege can start MicroStation with administrator privileges using one of two approaches.

When the user starts MicroStation with one of these approaches and the User Account Control: Behavior of the elevation prompt.. is not set to Elevate without prompting, Windows will go through the standard process of asking the user if it is okay to allow the program to run.
To turn off the elevation prompt, change the User Account Control: Behavior of the ele... value in the Local Security Policy dialog. You can get to this dialog from Control Panel (Classic View) > Administrator Tools or by running SECPOL.MSC.

Once you are in the dialog, you can get to the item from Security Settings > Local Policies > Security Options.

There are a number of ways to enable/disable User Access Control. The simplest is to open the control panel and enter UAC in the search panel. That causes the Control Panel to display a link you can use for controlling UAC. This approach does not work when the Control Panel is in Classic View.