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

  • 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...
  • Advanced Crash Dump Analysis - Stack Trashes
    Stack overrun or stack trashing typically results from a buffer overrun or underrun or when a driver passes a buffer address located on the ...
  • 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...
  • Why were parallel databases a limited success?
    As with any new technology, time is needed for development and experience in tuning for good performance and acceptable stability. Recall, a...
  • Why Does Windows Crash?
    Windows crashes (stops execution and displays the blue screen) for many possible reasons. A common source is a reference to a memory address...
  • Windows 7 Entertainment
    A few odds and ends in the entertainment department are worth noting. Though this is not the full list, these are the notables: • Media Cent...
  • Windows Malware Defense-in-Depth
    Defense-in-depth is a proven technique of layered protection that reduces the exposure of vulnerabilities. For example, you might design a n...
  • Enterprise Voice Benefits
    Perhaps some of the most tangible, new, and exciting benefits of Lync Server are those related to the Enterprise Voice set of features. With...
  • 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...
  • Windows 7 Hardware Requirements
    Let’s start with the basics. The principal (and minimal) hardware requirements for running Windows 7 are as follows: With Windows 7, Microso...

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