Tactical Advice

Windows 7 Compatibility

Use these tips to make sure your older programs will work with Microsoft's latest OS.
This story appears in the July 2009 issue of BizTech Magazine.
Windows 7 Compatibility

One of the major obstacles that organizations face when refreshing their client operating system is application compatibility. If you migrate your client computers from Windows XP to Windows 7, will all your applications still work? Applications developed for older versions of Windows can fail on Windows 7 for a variety of reasons. For instance, they might not run properly because of User Account Control (UAC), a set of technologies on Windows Vista that makes it possible for end users to log on as standard users instead of privileged administrators. Many programs written for Windows XP and earlier were designed for users who log on as local administrators, which was the default on those platforms.

Such programs may not work on Windows 7, although many will because Windows 7 includes a large number of shims (small pieces of application compatibility code) for popular older programs. You might think that if you disable UAC in Windows 7 you will increase the chances of your older apps working properly. Don’t do it: Disabling UAC actually prevents the included shims from being applied, which means you're more likely to increase your compatibility issues than decrease them if you disable UAC.

Another reason that an older program might not work in Windows 7 is if the program's developer hard-coded paths to known folders such as My Documents and My Pictures. Windows 7 includes a number of directory junctions that can automatically mitigate many of these issues, but some hard-coded paths can cause an older application to fail.

What do you do when you discover that one of your critical line-of-business applications won't run properly on Windows 7? If it’s a manufacturer-supplied app, you should contact the manufacturer to ask for an updated version that meets the requirements of the Windows 7 Logo Program. If they don't have one, you'll have to either find a different app that can replace the one you were using or use a mitigation tool that will let you keep using the program in Windows 7. If the problem app was developed in-house, then you have another option: Get your developers to recode the app so it runs on Windows 7.

Compatibility Mitigation Tools in Windows 7

If your independent software vendor doesn't have an updated version of its program designed for Windows 7 (or you don't have the in-house expertise to recode your custom app) but your business can't live without it, you'll need to mitigate the compatibility issue. Windows 7 includes two inbox tools for doing this, and there are other tools available as free downloads from Microsoft. Let's first examine the inbox compatibility mitigation tools available in Windows 7. These tools are mainly designed to help end users resolve compatibility issues themselves, or for support staff to resolve compatibility issues on a one-off basis.

The Program Compatibility Troubleshooter is one of the new built-in troubleshooting tools found in Windows 7. These tools are built upon the Windows Troubleshooting Platform (WTP), which leverages Windows PowerShell 2.0 for troubleshooting hardware and software issues locally or remotely. The Program Compatibility Troubleshooter can be launched manually from the Troubleshooting item in Control Panel, but it can also be invoked automatically. For example, if you try to install an older program that is incompatible with Windows 7, the Program Compatibility Troubleshooter might display a dialog telling you what you will need to do in order to make the program work (Figure 1).


Figure 1: The Program Compatibility Troubleshooter can advise you on how to resolve compatibility issues.

The other way end users (with or without the aid of support staff) can try to resolve compatibility issues is called Compatibility Mode, which has been around since Windows XP.  To use this method, right-click on the program’s executable in Windows Explorer, select Properties, and select the Compatibility tab. Select the compatibility mode you want to run the program under, and optionally apply other compatibility fixes such as disabling themes or running the program as an administrator (Figure 2).


Figure 2: Running an older program in compatibility mode.

Other Compatibility Mitigation Tools Available for Windows 7

If neither of the above tools help and your deployment is small, you can try using Windows Virtual PC with Windows XP mode. Windows Virtual PC is a runtime engine that provides a virtual Windows environment integrated into the shell of Windows 7. Windows XP mode is basically a virtual hard drive with Windows XP SP3 installed that can run within Windows Virtual PC. By installing and running your problem apps in Windows XP mode, you can run them within a virtual environment on your Windows 7 computer. From the end user's perspective, the app can be launched from the Start menu just like any other program on the computer, and it runs within its own window, not within a separate virtual desktop. The only downside is that the end user's computer must support hardware virtualization (either AMD-V or Intel VT), although older computers can't use this approach. For more information on Windows Virtual PC, go to microsoft.com.

If you're planning a large-scale migration to Windows 7, however, the tool you will most likely need to use is the Application Compatibility Toolkit (ACT) 5.5, which is available from the Microsoft Download Center. ACT is a set of tools and accompanying documentation that let you inventory the applications in your organization, identify which of them will or won't work with Windows 7, and allow you to apply compatibility fixes (shims) and take other steps to mitigate the issues identified (Figure 3).


Figure 3: the Application Compatibility Toolkit can help address issues.

Finally, if you are a Software Assurance (SA) customer, you can access the Microsoft Desktop Optimization Pack (MDOP), which includes Microsoft Enterprise Desktop Virtualization (MED-V) and Application Virtualization (App-V), both of which can be used to mitigate compatibility issues using virtualization technologies. For more information about App-V and MED-V, download my free e-book, Understanding Microsoft Virtualization Solutions: From the Desktop to the Datacenter from Microsoft Press.

The most important thing to remember concerning application compatibility is this: Don't procrastinate! The earlier in your client OS refresh cycle that you investigate possible compatibility issues, the more successful your migration or deployment is likely to be. For more guidance about how to mitigate compatibility issues in Windows 7, see Part 2, Deployment in the Windows 7 Resource Kit from Microsoft Press. Also see the Windows 7 Resource Kit Unofficial Support Site.

Mitch Tulloch is a Microsoft Most Valuable Professional (MVP) and lead author of the Windows 7 Resource Kit from Microsoft Press. You can contact him through his website.

About the Author

Mitch Tulloch

Mitch Tulloch

Desktop Deployment and Management

Mitch Tulloch is a Microsoft Most Valuable Professional and lead author of the Windows 7 Resource Kit from Microsoft Press. You can follow him on Twitter at @MitchTulloch or friend him on Facebook at http://www.facebook.com/mitchtulloch.

Security

A History of Encryption Thro... |
Passwords and information security have come a long way.
Symantec: Flashback Trojan A... |
The antimalware company digs through the code to find the motives of the Mac OS X...
Hackers Have Their Eye On Sm... |
No organization is too small to go unnoticed by hackers and malware proprietors.

Storage

The Value of Storage Virtual... |
Nondisruptive data migration, improved utilization and fewer points of management are...
GIS Data: A Storage Puzzle |
The exponential growth of big data from geospatial technology is forcing businesses to be...
Big Data Needs Push Firm to... |
With millions of acres of timberland in its care, a unique investment management firm...

Infrastructure Optimization

Why an Uneventful E-Mail Mig... |
A company achieved just what it was looking for when it moved its e-mail to the cloud: no...
Must-Read IT Blogger Q&A... |
Virtualization and cloud technologies have captured the imaginations of this industry-...
Mozilla Moves to New $3 Mill... |
The Internet leader built its new data center with open collaboration and community...

Networking

The Value of In-Person Meeti... |
Putting in face time with coworkers, clients and business partners really makes a...
How to Optimize the WAN for... |
Use these tips to maximize the performance of company WANs.
WAN Optimization: Addressing... |
Using WAN optimization actually bolsters disaster recovery and security efforts for IT...

Mobile & Wireless

The Case for Joining the Wor... |
Telework and a four-day work week make a lot of sense when you look at the numbers.
Smartphones Are Making Every... |
Pew survey finds that smartphones are turning users into real-time problem solvers.
How to Repel Notebook Thieve... |
Theft-prevention technologies not only guard against mobile devices being stolen, but...

Hardware & Software

Why an Uneventful E-Mail Mig... |
A company achieved just what it was looking for when it moved its e-mail to the cloud: no...
How the Tampa Bay Lightning... |
More businesses are using digital displays to increase engagement and bump up the...
Windows XP Maintains Its Hol... |
With official support for Windows XP ending in 2014, organizations should plan to upgrade...