VirtualStore – Windows Vista, Windows 7 and Windows 8

VirtualStore is a User Account Control (UAC) feature included in Windows Vista, Windows 7 and Windows 8. With the Virtual Store enabled (which it is by default) any data files that an application attempts to write to the Program Files (or Program Files (x86)) directory are automatically and silently redirected to save in the following location: C:\Users\CurrentUser\AppData\Local\VirtualStore\Program Files\ProgramName

How this Effects BrainTrain Software

In the case of the Test Battery II, files that would normally be stored at:

C:\Program Files\BrainTrain\Test Battery II\Database
are actually being saved at:

C:\Users\CurrentUsername\AppData\Local\VirtualStore\Program Files\BrainTrain\Test Battery II\Database

In addition, the programs registry keys are also redirected from their default location in

HKEY Local Machine\Software\



This should occur without problem, and seems to do so in testing on US English versions of Windows. When redirected to the Virtual store, the application runs like normal.  I have noticed on occasion where data files may be stored in that Virtual Store directory, but no problems were occurring.However, we do seem to have some issues with non-US versions of Windows. For those users, once the application data and registry keys are redirected, the program cannot locate either the registry keys that hold the registrations nor the database. I assume that the redirect is breaking down due to some formatting issue or difference in how the VirtualStore works on those particular Regional versions of Windows, but that’s just a guess.

This results in “lost” licenses so that a program that was registered previously now runs in Trial mode and “lost” data wherein either the database cannot be located at all (may get a message such as “Database Could Not be Decrypted“) or the database opens but it is empty.

There are two ways to “disable” the Virtual Store. 1) You can setup individual applications to “Run As Administrator.” This disables the Virtual Store on a program by program basis or 2) You can completely disable User Account Control through the Control Panel which turns off the Virtual Store for ALL applications.

My preference would be for option #1 as it allows you to disable the security feature on a program by program basis.

What you’ll need to do:

1)  Setup the software to “Run As Administrator.”
You do this by right-clicking on the Test Battery II icon and then choosing “Properties.”  When the “Properties” window appears, click on the “Compatibility” tab and select the option for “Run this Program as Administrator.”  You may also want to choose the item at the bottom of the screen for “Change settings for all Users” and make the same changes under that screen if you have different users using the software.

2)  Re-register the software.   (Maybe)
If the software shows as unregistered or running in trial mode after changing it to Run as Administration, the software will need to be registered again.  Contact BrainTrain Support by Submitting a Ticket for assistance.

3)  With IVA+Plus/AE, you commonly will also see a System or Database Error when starting the program.  For the System error, consult the following article.

4)  Double check that your previously tested database records are still visible within your IVA+Plus and/or IVA-AE database.  If not, they are probably stored in the VirtualStore directory located at C:\Users\CurrentUsername\AppData\Local\VirtualStore\Program Files\BrainTrain\Test Battery II\Database

The records can easily be “Merged” back into your working database.  Consult the following articles for guidance on merging databases together:

BrainTrain Support has written 133 articles