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

  • Windows 7 Shortcut Keys
    Longtime users of Windows have probably grown accustomed to navigating around the Windows user interface using the keyboard. This especially...
  • Windows on Mac: Virtualization Solutions
    If you’d prefer to join the ever-increasing ranks of Mac switchers—you traitor, you—you can still run Windows and, more important, Windows a...
  • Customizing Library Folders in Windows 7
    In your library folders, you can customize view options based on the contents. In the toolbar of the Pictures and Music library folders, Win...
  • 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...
  • Using Windows 7’s Performance Options
    While all the performance tools are available individually throughout the system, Windows 7 introduces a nice list of available tools, if yo...
  • Windows 7 - Installing and Configuring a Printer
    If your printer is already installed and operational at this point, you can skip this section and skim ahead for others that may be of inter...
  • Considering Centralized versus Group Sharing
    One of the most important preparation steps for your server is determining how to store the data you create. The two common methods are cent...
  • Berkeley Motes
    The Berkeley motes are a family of embedded sensor nodes sharing roughly the same architecture. Let us take the MICA mote as an example. The...
  • Using Windows 7 Ease of Access Tools
    If you have difficulty using a mouse or typing, have slightly impaired vision, or are deaf or hard of hearing, you can adjust the appearance...
  • Troubleshooting Boot and Startup Problems - Driver Loading in Safe Mode
    How does Windows know which device drivers and services are part of standard and networking-enabled safe mode? The answer lies in the HKLM\S...

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