Virtual Store

G

Guest

What is this thing that automatically redirects my program called the Virtual
Store?

I have a program that has its database saved in the Program Files folder.
However, whenever my program makes a change to the database, it is NOT
changed in the Program Files folder, but Vista has created a miror copy of
the database in its Virtual Store folder and the changes are made there.

My program preferences says the database is in the Program Files folder, but
changes are made to the one Vista has created in its Virtual Stores folder.


What is the virtual stores folder? Where can I read more about it? How can
I turn it off?

Thanks

Bob
 
J

Jimmy Brush

Hello,

The VirtualStore exists to work around programs that are not Vista
compatable. Your program is attempting to modify data stored inside of
Program Files, which is unacceptable - only installers or administrative
tools are intended to have write access to program files. Your program is
supposed to store data inside of your user profile directory, which is where
Vista moves a copy of the file to so your program will work correctly
instead of crashing.

The best solution is to have the program save its file to a new location -
preferably inside your user profile directory. If you need to be able to
access this same data file from any user account, you will need to change
the permissions on its data file (or containing folder) to give all user
full control using the security tab of its properties screen.

This feature is called "Virtualization" - you can find more information
about the new security enhancements in Vista, including virtualization,
here:

http://www.microsoft.com/technet/windowsvista/security/uacppr.mspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top