Computer Technos

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 7 December 2009

Windows 7 Compatibility and Virtualization

Posted on 11:39 by Unknown
In previous versions of Windows, applications could store files inside the \Program Files and \Windows folders, and they often took advantage of this to store common data that was shared among all users. The same was true for the Registry, a database of user and setup information— programs frequently stored information in the HKEY_LOCAL_MACHINE Registry section. To make Windows more secure, user programs are no longer allowed to store files or Registry data in these areas unless their setup programs explicitly change Registry security settings to permit it. (And this has to happen while the program is being installed under elevated privileges.)

Most of the applications that ship with Windows are subject to these restrictions. Try it yourself— open Notepad, type a few words, and try to save a file in \Program Files. You can’t. Any application that Windows deems as “modern” or “should know better” is entirely blocked from saving information in these protected areas. (Technically, the presence of a manifest file in the program’s folder or inside the program file itself is what tells Windows that the program is “modern.”) Older programs, however, expect to write in these privileged directories and Registry areas, and to maintain compatibility Windows 7 gives them an assist called file and Registry virtualization. What happens is that if an older program attempts to create a file in one of the protected folders or Registry areas and access is blocked, and the program is not running with elevated permissions and the file doesn’t have a manifest file, Windows stores the file or Registry data in an alternate, safer location. Whenever an older program tries to read a file or Registry data from a protected location, Windows first checks the alternate location to see whether it had been shunted there earlier and, if so, returns the data from that location. Thus, the application doesn’t actually store information in the secure locations but thinks it has. Why are we explaining this to you? There are two reasons:

• One consequence of virtualization is that programs that try to share data between users can’t. Each user will see only his or her private copy of the files that should have been stored in a common place. For example, in the “high score” list in a game, each user may see only his or her own name and scores. This may also cause problems with programs that track licensing or registration.

• If you go searching for files in Windows Explorer or the command- line prompt, you won’t see the files that got virtualized where you expected them to be because explorer.exe and cmd.exe have manifests—they don’t get the virtualization treatment, so they see only the files stored in their intended locations.

The first problem can’t be helped; the older programs just have to be redesigned and replaced. Knowing that virtualization occurs, you can work around the second problem by knowing where to look. Files intended for \Windows or \Program Files (or any of
their subfolders) will be placed into \Users\username\AppData\Local\VirtualStore\Windows or …\Program Files, respectively. Registry data intended for HKEY_LOCAL_MACHINE will be
shunted to HKEY_CURRENT_USER\Software\Classes\ VirtualStore\Machine. There is no quick-view button in the Registry editor, so to find this data, you have to browse to it.


If you view a folder in \Windows or \Program Files in Windows Explorer, a button named Compatibility Files appears in the window’s taskbar If you click this button, Explorer displays the corresponding subfolder in your VirtualStore folder. This is an easy way to examine your virtualized files.


Some Registry keys are not virtualized in any case. For example, most keys under HKEY_LOCAL_MACHINE\Software\Microsoft\Windows will not be virtualized; attempts to write data in this key or most of its subkeys will simply fail. This prevents rogue applications from creating startup program Run entries.

Source of Information : QUE Microsoft Windows in Depth (09-2009)
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Windows 7 | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Wireless Metropolitan Area Networks
    Wireless MANs refer to a set of wireless data networks that provide wireless data access in a metropolitan area. The principal advantage of ...
  • Windows 7 Data Security Enhancements
    Maintaining data integrity on the PC is a constant job for IT people. Independent businesspeople without the aid of an IT professional worry...
  • Windows 7 BitLocker Drive Encryption
    In Windows Vista, you had the BitLocker Drive Encryption feature that allowed you to encrypt the content of entire volumes. In Windows 7, Mi...
  • Configuring Complete Memory Dump Files
    A complete memory dump file, sometimes referred to as a full dump file, contains everything that was in physical memory when the Stop error ...
  • Using Desktop Gadgets in Windows 7
    Windows 7 gives you quick access to gadgets—such as news headlines and updates, slide shows, weather information, traffic maps, Internet rad...
  • How to Manually Initiate a Stop Error and Create a Dump File
    To be absolutely certain that a dump file will be created when a Stop error occurs, you can manually initiate a Stop error by creating a reg...
  • Deploying Failover Clusters
    The Windows Server 2008 R2 Failover Clustering feature is not installed on a system by default and must be installed before failover cluster...
  • Why IM
    Online chat, also called instant messaging (IM for short), is a very simple concept. You open a chat program, choose a person you want to co...
  • Determining the Correct Clustering Technology
    For either of the Windows Server 2008 R2 fault-tolerant clustering technologies to be most effective, administrators must carefully choose w...
  • Windows Performance Monitor
    The Performance Monitor in Windows Server 2008 R2, has been modified since Windows Server 2008 as it no longer includes the Reliability Moni...

Categories

  • Access 2010
  • BlackBerr
  • BlackBerry
  • Computer Science
  • Cyber Security
  • Exchange Server 2010
  • File Utilities
  • Foursquare
  • Google
  • Hardware
  • Internet
  • iPad
  • Linux
  • Lync Server
  • Microsoft Virtualization
  • Mobile Web
  • Networking
  • News
  • Security
  • Server Architectures
  • Smartphone
  • Ubuntu Linux
  • Windows
  • Windows 7
  • Windows Home Server
  • Windows Security
  • Windows Server 2008
  • Windows Server 2008 Hyper-V
  • Windows XP
  • Wireless

Blog Archive

  • ►  2012 (66)
    • ►  August (5)
    • ►  July (9)
    • ►  June (9)
    • ►  May (8)
    • ►  April (9)
    • ►  March (9)
    • ►  February (8)
    • ►  January (9)
  • ►  2011 (85)
    • ►  December (5)
    • ►  November (6)
    • ►  October (7)
    • ►  September (8)
    • ►  August (9)
    • ►  July (9)
    • ►  June (7)
    • ►  May (7)
    • ►  April (4)
    • ►  March (6)
    • ►  February (8)
    • ►  January (9)
  • ►  2010 (230)
    • ►  December (13)
    • ►  November (3)
    • ►  October (2)
    • ►  September (10)
    • ►  August (31)
    • ►  July (32)
    • ►  June (23)
    • ►  May (2)
    • ►  April (21)
    • ►  March (32)
    • ►  February (28)
    • ►  January (33)
  • ▼  2009 (119)
    • ▼  December (33)
      • Windows 7 The Legacy of WebView
      • What’s New in Windows 7 Windows Explorer
      • Windows 7 - Dealing with a Crashed Application or ...
      • Windows 7 Exiting Windows Gracefully
      • Windows 7 - The Taskbar, the Start Menu, and Other...
      • Windows 7 Shortcut Keys
      • Types of Malware
      • Windows 7 - Working with Objects in Folder View
      • Windows 7 - Properties and the Right-Click
      • Putting Items on the Windows 7 Desktop
      • Windows 7 - Configuring a Default User Profile
      • Windows communities
      • Windows 7 - Accessing the Real Administrator Account
      • Windows 7 - After You Forget Your Password
      • Windows 7 Software Compatibility
      • Windows 7 Hardware Compatibility
      • Understanding Windows 7 Compatibility Issues
      • Avoid Installing Windows 7 over Windows Vista
      • Windows on Mac: Virtualization Solutions
      • Windows 7 Dual Boot with Mac: Using Boot Camp
      • Installing Windows 7 on a Mac
      • Linking Online IDs with Windows Accounts in Windows 7
      • Using Credential Manager in Windows 7
      • About Windows CardSpace
      • Add the Built-in Administrator Account to the Logi...
      • Running Programs as Administrator
      • Windows 7 Compatibility and Virtualization
      • Taking the Virtual Machine Approach
      • Activating Windows 7
      • What’s that mysterious 100-MB partition in Windows...
      • It’s OK to share a partition in Windows 7
      • TROUBLESHOOTING - You can’t boot from the Windows ...
      • Saving, Sharing, and Playing Digital Media in Wind...
    • ►  November (31)
    • ►  October (35)
    • ►  September (20)
Powered by Blogger.

About Me

Unknown
View my complete profile