Many legacy applications write data (such as configuration information) to areas that are ordinarily inaccessible to standard accounts . This behavior presented few problems in Windows XP because most users ran with administrative privileges. In Windows 7 (as in Windows Vista), the User Account Control (UAC) feature means that all users, even those with administrator accounts, run with a standard user token in ordinary operation . To prevent
That's because in all of these junctions, the Everyone group has a Deny access control entry (ACE) preventing users from listing folder contents . This Deny ACE might seem drastic, but it's Windows' way of telling you to keep your hands off the compatibility infrastructure.
In every case, there's a proper path to the folder you're really looking for; you just need to unlearn the Windows XP structure.
The Deny ACE does not prevent you from deleting a junction, but you should never perform such a deletion unless you absolutely know what you are doing. Although a junction looks like an ordinary shortcut in Windows Explorer, it's not what it appears to be. Deleting a shortcut deletes a pointer, leaving the pointee unchanged . Deleting a junction has the same effect as deleting the location to which it points . Trust us: you don't want to discover this the hard way.
compatibility problems, UAC redirects problematic file and registry writes (and subsequent reads) to per-user virtualized locations . (For more details about UAC, see "Preventing Unsafe Actions with User Account Control" on page 531 .)
So, for example, if an application, running in your security context, attempts to write to a location within %ProgramFiles%, the write will be redirected to a comparable location within %LocalAppData%\VirtualStore . When the application subsequently reads what it has written, the read request is redirected to the same virtualized location . As far as the application is concerned, everything is perfectly normal, and the operating system has prevented standard-user access to the %ProgramFiles% folder.
If you open a folder in which a virtualized write has occurred, a Compatibility Files link will appear on the Windows Explorer toolbar, as in this example from a program that insisted on writing a configuration file to the Windows folder:
If you disable UAC, file and registry virtualization are disabled as well . If you log on using an account in the Administrators group with UAC disabled, any program you run can write directly to locations in the file system and the registry that would otherwise be protected by UAC.
Clicking Compatibility Files will take you to the VirtualStore location where the data is actually written .
A similar form of virtualization protects sensitive areas of the registry. Programmatic access to HKLM\Software is redirected to HKLM\Software\Classes\VirtualStore .
Note the following about virtualization:
• Virtualization does not affect administrative access to files or registry keys .
• Virtualization does not affect 64-bit processes.
• Virtualized data does not move with roaming profiles .
• Virtualization is provided for the sake of compatibility with current legacy programs; Microsoft does not promise to include it with future versions of Windows .
Was this article helpful?
Read how to maintain and repair any desktop and laptop computer. This Ebook has articles with photos and videos that show detailed step by step pc repair and maintenance procedures. There are many links to online videos that explain how you can build, maintain, speed up, clean, and repair your computer yourself. Put the money that you were going to pay the PC Tech in your own pocket.