How to use the Compatibility Administrator utility in Windows
How to obtain the Compatibility Administrator toolThe Compatibility Administrator utility is included in latest Application Compatibility Toolkit. To install the latest Application Compatibility Toolkit, follow these steps:
- Open a Web browser window, and then visit the following Microsoft Web site:
- Locate and then click the Download ACT 5.0 link.
- Click Download, and then click Save to save the Application Compatibility Toolkit.msi file to your computer.
- Click Close when the file is downloaded successfully.
- Double-click the Application Compatibility Toolkit.msi file to start the Application Compatibility Toolkit installation wizard.
Note You must have Microsoft .Net Framework 1.1 or later versions installed on the system to install the Application Compatibility Toolkit.
- Click Next, and then follow the instructions to install the Application Compatibility Toolkit.
Overview of the Compatibility Administrator toolYou can use the Compatibility Administrator tool to quickly apply various program fixes (AppFixes, also known as "shims") to a program to determine their effectiveness. Compatibility Administrator reads the %SystemRoot%\AppPatch\Sysmain.sdb database file to produce a list of available fixes. When you select an AppFix, you can start the program executable (.exe) file, and the AppFix is applied. If a suitable AppFix is found, the tool eventually helps you generate and test matching file information.
By default, the Compatibility Administrator utility is stored in the following location:
- The System Database\Applications node contains the programs to which you want to apply the fix.
- The System Database\Compatibility Fixes node contains the individual fixes that you want to apply to programs.
- The System Database\Compatibility Modes node contains the following supported compatibility modes for programs:256 Color
LUA (Limited User Account)
Example of how to use the Compatibility Administrator tool
- Start Notepad, and then click About Notepad on the Help menu.
Note On Windows Server 2003-based computers and on Windows Vista-based computers, the version is 5.2. On Windows XP SP2-based computers, the version is 5.1.
- Click OK, and then close Notepad.
- Start Compatibility Administrator. To do this, Click Start, point to Programs, point to Microsoft Application Compatibility Toolkit 5.0, and then click Compatibility Administrator.
- In the Compatibility Administrator window, click New.
- On the Database menu, point to Create New, and then click Application Fix.
- In the Name of the program to be fixed box, type Notepad.
- In the Name of the vendor for this program box, type Microsoft.
- In the Program file location box, type the location of the Notepad.exe file.
Note Click Browse to search the Notepad.exe file if you do not know the location. The default path of Notepad.exe is %Systemroot%\System32\Notepad.exe.
- Click Next.
- Under Operating System Modes, click Microsoft Windows 95, and then click Next.
- On the Compatibility Fixes page, click Next.
- Click Auto-Generate to automatically select the files the Compatibility Administrator recommends to represent the program, and then click Finish. The Compatibility Administrator adds your compatibility modes, fixes, and matching information to your custom database, and the information appears in the details pane.
- In the navigation pane, click Notepad, click Run from the toolbar, and then click OK.
- On the Help menu, click About Notepad.
Note You will see that the version is 4.0.
- Click the newly created database, and then click Save.
- In the Database Name box, type Notepad as the database name, and then click OK.
- In the Save in drop-down list, locate and open the %SystemRoot%\AppPatch folder.
- In the File name box, type Notepad, and then click Save. You will see that a new database named Notepad.sdb is created.
- On the File menu, click Exit to close Compatibility Administrator.
For more information about Application Compatibility, visit the following Microsoft Web site:
Article ID: 317510 - Last Review: 12/03/2007 04:30:16 - Revision: 7.2
- kbwebservices kbappservices kbhowtomaster KB317510