Microsoft App Compat Toolkit 5.6-Compatibility Manager Issue

Dennis390

New member
Local time
9:43 AM
Messages
9
I will be using Compatibility Manager to fix some corporate apps that currently run in Windows XP, but will not run in Windows 7 x64 on the client machines. Sooooo, I thought I would try a test with a personal 32-bit exe that will not launch (similar to our corporate apps that will not install).

Manually clicking on a Setup.exe file for a 32-bit app pops the following error message, "The version of this file is not compatibile with the version of Windows you're running. Check your computer's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.

Perfect, I'm ready to try my first shim ....

First time using Compat Mgr - I watch some videos on how to do this, launch the 32-bit Compat Mgr, create a custom database and then try to create a fix, but when I browse (or manually input) the 32-bit exe, it tries to launch the exe (as opposed to the videos that let the user simply click the "Next" button) and a Compatibility Manager error pops up noting, "This version of the Compatibility Administrator only supports applying compatibility fixes to 32-bit applications. Please use the Compatibility Administrator (64-bit) tool to apply this fix to your 64-bit applications."

OK, I thought the 32-bit Compat Mgr was for working on 32-bit apps, but I try the same thing with the 64-bit Compat Mgr ... I then get a similar error, "This version of the Compatibility Administrator only supports applying compatibility fixes to 64-bit applications. Please use the Compatibility Administrator (32-bit) tool to apply this fix to your 32-bit applications."

I want to apply the WinXPSP2Lie fix, but I never get the chance. What am I doing wrong ?? Thanks for the help !!
 

My Computer My Computer

OS
Windows 7 Pro x64
Thanks !!

Thanks for the Mod that moved my post into Software - and without any chastisement either (Better than I deserved) ... Sorry for the newb move putting it under General Discussion ... I appreciate the help !! :geek:
 

My Computer My Computer

OS
Windows 7 Pro x64
Unusual ??

I take it from the lack of response on this that this is an unusual situation. Has anyone else run into the problem where the Compatibility Manager fails to even allow a shim to be applied to an exe?

Are there any workaround suggestions? Perhaps there is another tool that someone could recommend for applying compatibility fixes or another mechanism to fool older apps? Thanks for any ideas !!
 

My Computer My Computer

OS
Windows 7 Pro x64
Same Issue Again

OK, I tried to apply a fix to an executable on our network drive that I do need to get to work. When I try to run in on a Windows 7 Pro x64 machine, it coughs up the error, "The version of this file is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need to x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher."

When I'm in Compatibility Manager and click "Fix" and browse to the "Program File Location" I get the same errors that I previously described from Compat Mgr ... Help !!
 

My Computer My Computer

OS
Windows 7 Pro x64
Different Forum ??

My search in this forum for Compatibility Manager showed very old threads that never received a response and having not received even a single response I fear that my post could suffer the same fate. Perhaps I'm not in an appropriate forum to discuss details of Microsoft's Compatibility Manager utility.

Could someone offer a suggestion for a forum that is more dedicated to this utility where I could research my issue and post for a response, depending on what I find? I mean nothing disrespectful, but am simply trying to find the proper venue for my situation. Thanks in advance for your help !!
 

My Computer My Computer

OS
Windows 7 Pro x64
No Answer

I am not familiar with your problem. Have you looked into running in XP Mode?

Do a search for Win 7 XP mode.
 

My Computer My Computer

Computer Manufacturer/Model Number
BGC (Bob's Garage Crew)
OS
win 7 X64 Ultimate SP1
CPU
I3770K
Motherboard
Asus P8Z77-V Deluxe
Memory
G Skill F3-14900CL9-4GBXL x 4
Graphics Card(s)
NVIDIA GeForce GTX670 + Intel 4000
Sound Card
Realtek HD 5.1 (MOB)
Monitor(s) Displays
Asus VW224T (1)
Screen Resolution
1920 x 1080
Hard Drives
SATA Corsair Force GT 2.5" 180GB (System) Sata 3
OCZ Vertex3 120GB
OCZ Vertex 2 120GB 2.5" SATA II
ST31000524AS 1000.2GB
WD15EARS (External)
PSU
CoolerMaster 1000 Watt
Case
CoolerMaster HAF X
Cooling
CPU -- CoolerMaster 520N
Keyboard
MS Wireless 3000 V2
Mouse
MS Wireless 3000 V2
Internet Speed
Cable
Antivirus
Norton Internet Security
Browser
IE9
Other Info
AMI Bios 1805
OC'd 3%
Thanks !!

HammerHead - Thanks for the response !! I've tried the built-in compatibility troubleshooter with no luck (apps don't even launch after applying numerous fixes). If you mean the virtualization XP Mode, which involves running XP virtualized on the Windows 7 machine, then you end up with a solution that requires you to patch and protect two operating systems. I'm not saying that I won't go that route, but applying some simple shims to fool the app into running would be a much better option.

I recently found that some of the Compatibility fix methods (such as the OS fix) add the Compatibility layers in the registry key: HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers\[app path] so perhaps there is a way to use the registry directly rather than the Compatibility Manager tool. Don't get me wrong, I'd rather use the tool, but if I can't get it to work for several executables ...

FYI - I was able to get past this error when I chose Notepad as a test and having looked at many tutorials I don't think that I'm doing anything wrong with my process. I'll have to read more about applying the database to new machines to apply any fixes that I'm able to create, but I can't even get a fix created with this issue. I'm happy to test out any theories for getting past this problem if anyone has any suggestions ... Thanks in advance for any and all replies !!!
 

My Computer My Computer

OS
Windows 7 Pro x64
Still Tryin'

When you set the built-in Win7 compatibility configurations for an executable, it gets written to:
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

If you want this applied to the machine, you can create a string key and manually edit it to apply the settings in this location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers

You can script changes directly using something along the lines of this example:
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\temp\compatmodel\iconsext.exe" /t REG_SZ /d "WINXPSP3 RUNASADMIN" /f

I understand that this fixes UAC issues, but not my problem ...
With this appearing to be a fairly simple app that I'm trying to get to work, I copied the app from the network location to my C: drive (so I don't screw up the network exe), edited PATH.CNF (Just a list of paths for the app) to point to the app now on my C: drive and tried to open it with Compatibility Administrator (32-bit) and (64-bit) and both say to use the other bit version ... same issue.

I did create a key for the exe on my C: drive and put it in the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers folder, and added the # WINXPSP2 RUNASADMIN values under the C:\PTWIN\PTWIN.EXE key, but no joy ...
 

My Computer My Computer

OS
Windows 7 Pro x64
I wonder if these are 16-bit applications that run on a 32-bit system. That may explain the errors you are getting. If so, you will need a virtual environment with a 32-bit OS installed, or you can dual boot with a 32-bit OS. If you buy a second Windows 7 retail license, you can use Windows 7 32-bit to dual boot and see if it will work. If you already have a 32-bit version of Windows 7 as part of your retail discs, you could try it first and make sure it will work first. You will get a 30 day trial period to test before deciding to buy a second license.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Pavilion e9110t
OS
Windows 7 Home Premium 64 Bit
CPU
Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
Motherboard
Pegatron IPIEL-LA3
Memory
6.00 GB Hundai HMT125U6BFR8C-H9
Graphics Card(s)
ATI Radeon HD 4850
Sound Card
Realtek High Definition Audio/ATI High Definition Audio
Monitor(s) Displays
Acer AL2216W
Screen Resolution
1680x1050
Hard Drives
Hitachi HDP725050GLA360 ATA Device 500 GB
PSU
Unknown/installed by HP
Case
HP generic case
Cooling
Intel Stock Cooling
Keyboard
HP Keyboard
Mouse
HP Mouse
Internet Speed
Download: 19.15 Mbps Upload: 1.67 Mbps
Other Info
Network Adapter Realtek RTL8168D/8111D Family PCI-E Gigabit Ethernet NIC (NDIS 6.20)
Network Adapter 802.11n Wireless PCI Express Card LAN Adapter
Good thought - Thanks !!

Writhziden - That's an interesting thought as the app that I'm trying to get to work is one of our older applications without a "robust" network installation shall we say .... Hmmmmmm

Yep, that would fail to work in Windows 7 altogether. I've reached out to the vendor about getting an updated version and when they respond, I'll ask them specifically about our current version to see if it's 16-bit. I would be a bit surprised, but it wouldn't be the first time ... Thanks for the feedback !! :D

Hold the fort - I think we have a winner !! I did a quick Google search and found that 16-bit apps in WinXP don't have a Version tab. Soooo, I got on my WinXP PC and checked the executable and, sure enough, it doesn't have a Version tab. I pulled up Office 2007's Winword.exe just to have a comparison and it does have a Version tab. Wow, 16-bit "network" app ... Who'd a thunk it ?? Guess we'll have to get an update from the vendor. It's just so nice to understand why I kept getting errors from the Compat Admin 32-bit and 64-bit software !! Nice find, man !!!
 
Last edited:

My Computer My Computer

OS
Windows 7 Pro x64
Back
Top