How can I set the compatibility mode for an executable even in all folders?












0















suppose my app to run in compatibility mode is locate on



c:catsapp.exe



If I manually set the app.exe in compatibility mode (for example WinVistaSP2) with the properties etc.. Windows execute it in compatibility mode WinVistaSP2 only the app.exe locate in c:cats



But if I move the app.exe in another folder, for example y:dogsapp.exe the compatibility don't acts in that folder.



So I wonder: is there an app or a tool or a way that keep always and in any folders my preset app.exe in compatibility mode?










share|improve this question

























  • Some reading....superuser.com/questions/133746/…

    – Moab
    Feb 11 at 20:38
















0















suppose my app to run in compatibility mode is locate on



c:catsapp.exe



If I manually set the app.exe in compatibility mode (for example WinVistaSP2) with the properties etc.. Windows execute it in compatibility mode WinVistaSP2 only the app.exe locate in c:cats



But if I move the app.exe in another folder, for example y:dogsapp.exe the compatibility don't acts in that folder.



So I wonder: is there an app or a tool or a way that keep always and in any folders my preset app.exe in compatibility mode?










share|improve this question

























  • Some reading....superuser.com/questions/133746/…

    – Moab
    Feb 11 at 20:38














0












0








0








suppose my app to run in compatibility mode is locate on



c:catsapp.exe



If I manually set the app.exe in compatibility mode (for example WinVistaSP2) with the properties etc.. Windows execute it in compatibility mode WinVistaSP2 only the app.exe locate in c:cats



But if I move the app.exe in another folder, for example y:dogsapp.exe the compatibility don't acts in that folder.



So I wonder: is there an app or a tool or a way that keep always and in any folders my preset app.exe in compatibility mode?










share|improve this question
















suppose my app to run in compatibility mode is locate on



c:catsapp.exe



If I manually set the app.exe in compatibility mode (for example WinVistaSP2) with the properties etc.. Windows execute it in compatibility mode WinVistaSP2 only the app.exe locate in c:cats



But if I move the app.exe in another folder, for example y:dogsapp.exe the compatibility don't acts in that folder.



So I wonder: is there an app or a tool or a way that keep always and in any folders my preset app.exe in compatibility mode?







windows-10 compatibility






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 11 at 11:12









harrymc

261k14271577




261k14271577










asked Feb 11 at 10:46









Camillo GattoCamillo Gatto

6




6













  • Some reading....superuser.com/questions/133746/…

    – Moab
    Feb 11 at 20:38



















  • Some reading....superuser.com/questions/133746/…

    – Moab
    Feb 11 at 20:38

















Some reading....superuser.com/questions/133746/…

– Moab
Feb 11 at 20:38





Some reading....superuser.com/questions/133746/…

– Moab
Feb 11 at 20:38










1 Answer
1






active

oldest

votes


















2














The simple answer is : You cannot.



The compatibility mode is not kept with the file, but rather kept
in the registry under the key
HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers.



The application would have an entry of type REG_SZ and named
y:dogsapp.exe, having as value all the compatibility flags separated
by a blank. For Vista compatibility you would have ~ VISTARTM
(note the blank after the ~).



In addition, these registry entries are never deleted, so the file might be moved
away or replaced, but a file with the same name and in the same folder will always
have these compatibility modes. Not a very sophisticated mechanism, but that's life.



Currently, I don't know of any program that moves the registry entry
when the program is moved, not even Microsoft's file utilities.
You would need to update the registry manually, or write a script that
does the move of the file and also updates the registry.
Windows does not do that.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404390%2fhow-can-i-set-the-compatibility-mode-for-an-executable-even-in-all-folders%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    The simple answer is : You cannot.



    The compatibility mode is not kept with the file, but rather kept
    in the registry under the key
    HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers.



    The application would have an entry of type REG_SZ and named
    y:dogsapp.exe, having as value all the compatibility flags separated
    by a blank. For Vista compatibility you would have ~ VISTARTM
    (note the blank after the ~).



    In addition, these registry entries are never deleted, so the file might be moved
    away or replaced, but a file with the same name and in the same folder will always
    have these compatibility modes. Not a very sophisticated mechanism, but that's life.



    Currently, I don't know of any program that moves the registry entry
    when the program is moved, not even Microsoft's file utilities.
    You would need to update the registry manually, or write a script that
    does the move of the file and also updates the registry.
    Windows does not do that.






    share|improve this answer




























      2














      The simple answer is : You cannot.



      The compatibility mode is not kept with the file, but rather kept
      in the registry under the key
      HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers.



      The application would have an entry of type REG_SZ and named
      y:dogsapp.exe, having as value all the compatibility flags separated
      by a blank. For Vista compatibility you would have ~ VISTARTM
      (note the blank after the ~).



      In addition, these registry entries are never deleted, so the file might be moved
      away or replaced, but a file with the same name and in the same folder will always
      have these compatibility modes. Not a very sophisticated mechanism, but that's life.



      Currently, I don't know of any program that moves the registry entry
      when the program is moved, not even Microsoft's file utilities.
      You would need to update the registry manually, or write a script that
      does the move of the file and also updates the registry.
      Windows does not do that.






      share|improve this answer


























        2












        2








        2







        The simple answer is : You cannot.



        The compatibility mode is not kept with the file, but rather kept
        in the registry under the key
        HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers.



        The application would have an entry of type REG_SZ and named
        y:dogsapp.exe, having as value all the compatibility flags separated
        by a blank. For Vista compatibility you would have ~ VISTARTM
        (note the blank after the ~).



        In addition, these registry entries are never deleted, so the file might be moved
        away or replaced, but a file with the same name and in the same folder will always
        have these compatibility modes. Not a very sophisticated mechanism, but that's life.



        Currently, I don't know of any program that moves the registry entry
        when the program is moved, not even Microsoft's file utilities.
        You would need to update the registry manually, or write a script that
        does the move of the file and also updates the registry.
        Windows does not do that.






        share|improve this answer













        The simple answer is : You cannot.



        The compatibility mode is not kept with the file, but rather kept
        in the registry under the key
        HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionAppCompatFlagsLayers.



        The application would have an entry of type REG_SZ and named
        y:dogsapp.exe, having as value all the compatibility flags separated
        by a blank. For Vista compatibility you would have ~ VISTARTM
        (note the blank after the ~).



        In addition, these registry entries are never deleted, so the file might be moved
        away or replaced, but a file with the same name and in the same folder will always
        have these compatibility modes. Not a very sophisticated mechanism, but that's life.



        Currently, I don't know of any program that moves the registry entry
        when the program is moved, not even Microsoft's file utilities.
        You would need to update the registry manually, or write a script that
        does the move of the file and also updates the registry.
        Windows does not do that.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 11 at 11:24









        harrymcharrymc

        261k14271577




        261k14271577






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1404390%2fhow-can-i-set-the-compatibility-mode-for-an-executable-even-in-all-folders%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Aardman Animations

            Are they similar matrix

            “minimization” problem in Euclidean space related to orthonormal basis