1.    27 May 2016 #1
    Join Date : May 2016
    Posts : 2
    Windows 7 Pro

    Differences between Compatibility Troubleshooter and registry key set

    Hi all,
    according to this tutorial
    Compatibility Mode Settings for Apps - Change in Windows 10
    compatibility settings could be done in several ways.

    However, I'm experiencing a different behaviour if I set compatibility through registry key or through Program Compatibility Troubleshooter and I need some help about it.

    I have a little application, written very long ago on a XP system, that uses an API for setting sound volume on mixer.
    This API was no longer used in Windows 7, but running the program in compatibility mode was enough to make it work.
    I made a script to set key in registry at
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    and all went well.

    Recently I went up with W10 and did the same. Executed the script and all done.
    At this point I realized that memory limits were exceeded and resolved myself to recompile that program with updated API.
    I went to regedit, deleted the key and retried to check memory (expecting the mixer call won't work).
    Here my first surprise: it worked! and memory usage was still high!
    It was as app was launched in compatibility mode, even if nothing was setted so. No key in Layers folder and no checkbox in Properties/compatibility Tab.

    I then tried to use Compatibility Troubleshooter to see what it would have suggested; clicked on reccomended settings and it suggested no compatibility, tested app and BAM!
    Second surprise, it doesn't work and low memory usage. Retried to launch it manually and same.

    I tried several times and always the same effect applies.
    It's like deleting keys in registry isn't enough to return to previous no-compatibility settings.

    Does the Compatibility Troubleshooter set something different?
    Or there's some key I'm missing?
    Anyone else has experienced this?

    Sorry for long post. I wanted to explain from the beginning, cause I'm still confused myself.

      My System SpecsSystem Spec

  2.    27 May 2016 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 5,801
    Win 10 Pro (1607)

    Hi, just wondering why you need to delve into the registry for this? You can set the compatibility mode manually via the GUI. (Besides using the troubleshooter).
      My System SpecsSystem Spec

  3.    30 May 2016 #3
    Join Date : May 2016
    Posts : 2
    Windows 7 Pro

    Hi Dalchina,
    I used to set registry key as a part of a setup script that set compatibility mode for some processes and a bunch of other stuff (the mixer process is only a part of a small suite that I distribute as gadget to some friends).
    Anyway I want to avoid a user to have to manually check on compatibility checkboxes for every application I eentually develop in the future..

    Anyway, I tried to reset compaatibility via the GUI but the effect is the same than removing registry key.

    Troubleshooter makes something different and was wondering what it is.

    I don't like very much this self-decided action from Windows, I'm worried it could hide something else.
      My System SpecsSystem Spec

  4.    30 May 2016 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 5,801
    Win 10 Pro (1607)

    Thanks for the explanation- maybe you can explain what difference you experience setting the compatibility (to the same setting?) those two ways. Hopefully someone might know more...
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Print Troubleshooter Fails with Error Code: 0x803c010b
I have a Brother HL-5040 with a USB connection to a Windows 10 Pro machine. I have a second Windows 10 Pro machine that prints remotely to the printer. I have a third Windows 10 Home machine that fails to print with the status "Error - Printing"....
Network and Sharing
Hardware and Devices Troubleshooter Results/Loop
While my question involves BSODs, I'm more befuddled by the results from Hardware and Devices Troubleshooter, thus my post in this forum. Please excuse me if I posted in the wrong section... I've had a few BSODs recently with...
Drivers and Hardware
Solved Ethernet plugged in, not working, troubleshooter detected no hardware
Hello, I am having trouble getting my internet connection to work with an ethernet cord. I have no problem using wifi, but i get disconnected on wifi pretty frequently. I have two ethernet cords in my possession, one of them is new, and neither...
Network and Sharing
Anyone found any differences.
I might have asked this question before if so excuse me asking it again. Has any forum member installed Win10 on both a system runing Win7&Win8.1 and if so have you found any major differences?
General Support
GW10 Troubleshooter says I'm not eligible!
Hi, here's an odd one. I'm using Win7 64bit Professional SP1, with all updates, but haven't got the GW10 icon. Tried using the FixGWX program, that didn't fix it. I ran the Windows Troubleshooter, it says I'm not eligible (screenshots below). It...
Installation and Setup
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 02:46.
Find Us
Twitter Facebook Google+

Windows 10 Forums