1 / 16

Application Compatibility Remediation: The Dark Magic of Fixing Broken Applications

Application Compatibility Remediation: The Dark Magic of Fixing Broken Applications. Aaron Margosis Principal Consultant Microsoft Session Code: CLI405. Some Available Techniques. Get rid of the app! Let Windows handle it File/registry virtualization

taipa
Télécharger la présentation

Application Compatibility Remediation: The Dark Magic of Fixing Broken Applications

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Application Compatibility Remediation: The Dark Magic of Fixing Broken Applications Aaron Margosis Principal Consultant Microsoft Session Code: CLI405

  2. Some Available Techniques • Get rid of the app! • Let Windows handle it • File/registry virtualization • Limitations on file/registry virtualization • Update the application • Acquire new version from vendor • Fix compatibility bugs in the source code • Apply shims • Pre-install required files, registry keys • Employ application or machine virtualization

  3. When to Use Shims • Define standards for when to use this technique: • Vendor no longer in business • Internal applications • Support negotiable • Shimming applications can be outsourced

  4. How Shims Work Application Windows Import Function Import Function Export Function Shim DLL

  5. When Shims Are Used Windows loads app. Checks AppCompat DB(s). Match found: Selected API calls intercepted and modified. AppY.exe v 2.3.4.5 AppY.exe v 2.3.4.5 • Windows APIs • Kernel32 • User32 • Advapi32 • OleAut32 • …

  6. Some Useful Shims

  7. Detailed Shim Information • Install App Compat Toolkit and look in act.chm • Also on technet.microsoft.com • Chris Jackson’s blog (blogs.msdn.com/cjacks)

  8. demo Show me the shims

  9. How do I know what's wrong?

  10. Testing environment • Have multiple configurations available • Be able to reimage quickly • Virtual machines (snapshots, undo disks) • MDT deployment (e.g., PXE boot) • Apply security policies to local Group Policy rather than domain • LGPO utilities: blogs.technet.com/fdcc

  11. Tools for identifying specific issues • Sysinternals Process Monitor • Standard User Analyzer (App Compat Toolkit) • LUA Buglight • v2.1 just released • Includes support for Windows 7 and x64 • http://blogs.msdn.com/aaron_margosis/pages/LuaBuglight.aspx

  12. demo LUA Buglight, Process Monitor, SUA

  13. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources • www.microsoft.com/teched Sessions On-Demand & Community • www.microsoft.com/learning • Microsoft Certification & Training Resources • http://microsoft.com/technet • Resources for IT Professionals • http://microsoft.com/msdn Resources for Developers

  14. Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

  15. Required Slide © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related