37
Windows 7 Deployment Deep Dive Windows 7 Deployment Deep Dive How to Resolve (Nearly) Every How to Resolve (Nearly) Every Application Incompatibility Application Incompatibility Greg Shields, MVP, vExpert Greg Shields, MVP, vExpert Concentrated Technology www.ConcentratedTech.com

TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Embed Size (px)

DESCRIPTION

You’ve been wanting to deploy Windows 7 since the date it came out. Far more secure and manageable than Windows XP and far less cranky than Windows Vista, getting on Windows 7 is what you need to make your job easier. What’s holding you up? It might be your applications. Some apps just don’t work atop Windows 7. Others need a little extra care to get them functioning. Microsoft recognizes this need and provides a suite of application compatibility tools like the Application Compatibility Toolkit and the Microsoft Assessment and Planning Toolkit that solve this problem. Yet both of these tools can be hard to use without help. Get that help with a jump start from Microsoft MVP and deployment expert Greg Shields. You’ll leave this session with everything you need to inventory your apps, determine the fixes they need, and remove all the hurdles to your Windows 7 migration.

Citation preview

Page 1: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Windows 7 Deployment Deep DiveWindows 7 Deployment Deep Dive

How to Resolve (Nearly) Every How to Resolve (Nearly) Every Application IncompatibilityApplication Incompatibility

Greg Shields, MVP, vExpertGreg Shields, MVP, vExpertConcentrated Technologywww.ConcentratedTech.com

Page 2: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

You Aren’t Going to Like what You Aren’t Going to Like what You’re About to LearnYou’re About to Learn

Page 3: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

You Aren’t Going to Like what You Aren’t Going to Like what You’re About to LearnYou’re About to Learn

This. Ain’t. Easy.

Page 4: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

You Aren’t Going to Like what You Aren’t Going to Like what You’re About to LearnYou’re About to Learn

This. Ain’t. Easy.

Well, that’s not entirely true.– Most applications run just fine atop Windows 7.– Those that don’t were coded poorly, use inappropriate

shortcuts, or leverage Windows XP work-arounds that no longer exist.

Page 5: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

You Aren’t Going to Like what You Aren’t Going to Like what You’re About to LearnYou’re About to Learn

This. Ain’t. Easy.

Well, that’s not entirely true.– Most applications run just fine atop Windows 7.– Those that don’t were coded poorly, use inappropriate

shortcuts, or leverage Windows XP work-arounds that no longer exist.

For all the other apps, solutions exist that can “shim” them into functionality.– These shims will fix many of the remaining applications.– …though not all…

Page 6: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Two Needs, Two Tools.Two Needs, Two Tools.

Need #1:“I need to inventory the applications and drivers that are currently on my network.”– The Microsoft Assessment and Planning Toolkit, or MAP,

assists with resolving this need.– Easy to use. Reports are moderately useful.

Page 7: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Two Needs, Two Tools.Two Needs, Two Tools.

Need #1:“I need to inventory the applications and drivers that are currently on my network.”– The Microsoft Assessment and Planning Toolkit, or MAP,

assists with resolving this need.– Easy to use. Reports are moderately useful.

Need #2:“I need to resolve application incompatibilities with Windows 7.”– The Application Compatibility Toolkit, or ACT, assists with

resolving this need.– More difficult to use. Provides more than just reports.

Page 8: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

Page 9: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

The MAP is a simple tool that…– …collects a list of applications on your network.– …collects a list of installed drivers on your network.

With its data, you can identify the applications you currently have installed and the drivers you’ll need.– Use application data to determine which require packaging.– Use driver data to determine which go into your driver

store.

Start with the MAP first, then move to the ACT.– MAP’s inventorying functions are easier to invoke.

Page 10: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

Install the MAP to a desktop Windows 7 instance.– Requires Office 2007 SP2 or greater.– Requires the .NET Framework– Will install a copy of SQL Server Express during its

installation.

Page 11: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

The MAP is intended for greater things than just application and driver inventory.

Page 12: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

Multiple options for discovering computers.

Page 13: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

MAPping Your InventoryMAPping Your Inventory

Multiple credentials (I particularly like this).

Page 14: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

DEMO: MAP !DEMO: MAP !

Page 15: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Determining Compatibility, the Not-Determining Compatibility, the Not-Terrifically-Smart WayTerrifically-Smart Way

Cross-referencing MAP’s reports with the Windows 7 Compatibility Center– http://www.microsoft.com/windows/compatibility/

windows-7

Page 16: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

ACTing on What you KnowACTing on What you KnowHar! I Love These Acronyms!Har! I Love These Acronyms!

If the MAP is simple, the ACT…well…ain’t.– The ACT is a robust solution for charting applications

against their Clearinghouse rating for compatibility.– It also supports the location and application of compatible

fixes.

Page 17: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

ACTing on What you KnowACTing on What you KnowHar! I Love These Acronyms!Har! I Love These Acronyms!

If the MAP is simple, the ACT…well…ain’t.– The ACT is a robust solution for charting applications against

their Clearinghouse rating for compatibility.– It also supports the location and application of compatible

fixes.

The ACT just isn’t as simple as the MAP.– You can’t just install it and immediately run an inventory.– Rather than using remote WMI to query computers, it

requires the installation and execution of an agent.– That agent must be deployed through some external

solution, such as Group Policy Software Installation, logon scripts, or ConfigMgr.

– However, by being locally installed, that agent is more powerful.

Page 18: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Installing the ACTInstalling the ACT

Install the ACT to a Windows 7 or 2008 R2 computer.– Using a server here is common, as the ACT tends to have a

longer lifespan and is used by more people than the MAP.

Special Note on Installation:– If you intend to install the ACT on the same computer as

MAP, one step is required prior to installation.– First, install the MAP.– Navigate to C:\SQLEXPRESS and double-click the

installation file you find. This launches the SQL Server Setup wizard.

– You’ll need to install a second SQL Server instance for ACT.– Click through the wizard screens and create a New | Named

Instance.

Page 19: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Installing the ACTInstalling the ACT

Database | Log Share | Service Account– Typical stuff, really.

Page 20: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Installing the ACTInstalling the ACT

Database | Log Share | Service Account– Typical stuff, really.

Secret Trick:When asked for a Share Path and Name, ensure

that the Domain Computers group has access.

Page 21: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Collect | Analyze | FixAnalyze | Fix

Data Collection Packages are software installations in pre-silenced MSI format.– Inside the package is the necessary logic for evaluating

computers, gathering data, and reporting back apps and compatibility info.

Page 22: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Collect | Analyze | FixAnalyze | Fix

Your first task is to create a Data Collection Package.

Notice that this package analyses the computer for an upgrade, runs immediately, and for ten minutes

only.

Page 23: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Collect | Analyze | FixAnalyze | Fix

Your first task is to create a Data Collection Package.

Your second task is to deploy the DCP to computers around your network.– You know how to do this now, because you took my earlier

class on automated software distribution.

Page 24: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

CollectCollect | Analyze | Analyze | Fix| Fix

Your first task is to create a Data Collection Package.

Your second task is to deploy the DCP to computers around your network.– You know how to do this now, because you took my earlier

class on automated software distribution.

Your third task is to wait, then analyze.– When data begins to appear in the ACT server’s \Processed

folder, you know that agents are starting to report back.– Take a look at the ACT’s Analyze view.– Then, when enough clients have reported in, click the Send

and Receive button.

Page 25: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

CollectCollect | Analyze | Analyze | Fix| Fix

Page 26: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

CollectCollect | Analyze | Analyze | Fix| Fix

The ACT is intended to serve as a central clearinghouse for intra-team compatibility reporting.– Think of the solution like a mini Help Desk application, but

written specifically to coordinate teams of app compat-ers.

Page 27: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Analyze Collect | Analyze | Fix| Fix

Analyzing and tracking applications is one thing. Actually fixing them is quite another.

ACT’s Compatibility Administrator is the solution for testing and applying fixes to apps.– Contains a catalog of over 6500 known “bad” apps and

their fixes.– Contains over 360 fixes (“shims”) for unknown apps.– Contains a few easy-to-start Compatibility Mode fixes for

automatically adjusting a bad app’s execution space.

Page 28: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Analyze Collect | Analyze | Fix| Fix

Over 6500 Known Bad Apps (with their Fixes!)

Page 29: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Analyze Collect | Analyze | Fix| Fix

Over 360 Fixes for Unknown Apps

Page 30: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Analyze Collect | Analyze | Fix| Fix

Here’s the general flow of how this works.– Do an inventory, and find the known-bad apps.– See if fixes are available, or upgrade those apps to newer

versions.– If the app isn’t in the Clearinghouse and no fixes are

available, being researching why the app fails.– Start by setting the Compatibility Mode to Windows XP.– Apply other fixes, guess-and-check, test, test, test.– Make sure you uninstall fixes before trying something new.

Mind the scientific method, natch.– When a fix works, add that fix to your centralized fix

database.

Page 31: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Collect | Analyze Collect | Analyze | Fix| Fix

Here’s the general flow of how this works.– Do an inventory, and find the known-bad apps.– See if fixes are available, or upgrade those apps to newer

versions.– If the app isn’t in the Clearinghouse and no fixes are

available, being researching why the app fails.– Start by setting the Compatibility Mode to Windows XP.– Apply other fixes, guess-and-check, test, test, test.– Make sure you uninstall fixes before trying something new.

Mind the scientific method, natch.– When a fix works, add that fix to your centralized fix

database.

Secret Trick: A single “fix” database can contain all fixes for all apps.– One package to fix them all…

Page 32: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

DEMO: ACT, AND DEMO: ACT, AND SPECIFICALLY “FIX”INGSPECIFICALLY “FIX”ING

Page 33: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

One Database to Fix them AllOne Database to Fix them AllMy My PreciousPrecious……

The resulting compatibility fix (.SDB) database can be used against every application at once.– Login script– ConfigMgr or Group Policy Software Installation– Task Sequence

– sdbinst.exe is in the default Windows 7 path.– sdbinst.exe -q \\server\share\MyFixes.SDB

Page 34: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

One Database to Fix them AllOne Database to Fix them AllMy My PreciousPrecious……

Task Sequence | Run Command Line– Do this before the Install Applications action.

Page 35: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

DEMO: APPLYING A FIX DEMO: APPLYING A FIX DATABASEDATABASE

Page 36: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Yes, Greg, but Yes, Greg, but WhichWhich Fix…? Fix…?

I told you this wouldn’t be easy, but…– http://technet.microsoft.com/en-us/library/cc722305(WS.10).aspx

Page 37: TechMentor Fall, 2011 - How to Resolve (Nearly) Every Windows 7 Application Incompatibility

Windows 7 Deployment Deep DiveWindows 7 Deployment Deep Dive

How to Resolve (Nearly) Every How to Resolve (Nearly) Every Application IncompatibilityApplication Incompatibility

Greg Shields, MVP, vExpertGreg Shields, MVP, vExpertConcentrated Technologywww.ConcentratedTech.com