You get a bonus - 1 coin for daily activity. Now you have 1 coin

Where to find virtual files from the Program Files folder in Windows Vista/7/2008 with UAC enabled?

Practice



When working in Windows Vista and above with User Access Control (UAC) enabled, modified files in Program Files (and possibly in some other locations) are stored somewhere in a virtual location. Where can this location be found, and how can this be dealt with?


Why

The point is that when users work not under the local administrator account, all files changed by the user on the computer in important locations are saved not in the actual directory (for example, not in C:\Program Files), but in a certain virtual location. In this way, a user who has messed something up on their own computer in important files does not cause a system failure - another user logging on to the computer simply will not see these changes.

It looks as if you really did change something in C:\Program Files. In fact, as long as UAC is enabled, the clever Windows is merely projecting a virtual file onto the place of the real one.


Where

\Users\%username%\AppData\Local\VirtualStore\


How to avoid this and what to do

Run Explorer, Far, or Total Commander under the local administrator account (i.e., right-click and "Run as administrator"). Then the user will be changing the actual files, rather than files dynamically created in VirtualStore and projected onto the real locations.

Comments

To leave a comment

If you have any suggestion, idea, thanks or comment, feel free to write. We really value feedback and are glad to hear your opinion.
To reply

Lectures and tutorial on "Operating Systems and System Programming"

Terms: Operating Systems and System Programming