A question for hexeditor gurus

Discussion in 'Windows 10' started by T-S, Sep 6, 2016.

  1. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    Something that has always puzzled me is why MS purposely blocks most of the exe to run on the previous windows version(s).

    Say you can't run win8's notepad on win7, or w10's one on win8.1

    I assume there isn't any real missing requirement or dependency, especially for a simple one like the notepad.

    There must be just a minimal version check somewhere in the exe header, that I guess should be pretty easy to hexedit.

    So my question is, what should we change?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Yen

    Yen Admin
    Staff Member

    May 6, 2007
    10,967
    10,539
    340
    I only know that system exe have got a readable XML part inside...ATM I don't have a hexeditor handy...
    Best would be to post the error message additionally....

    Some exe require a particular DLL and version of it anyway.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    3,500
    3,676
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. pisthai

    pisthai Imperfect Human

    Jul 29, 2009
    6,722
    1,952
    210
    AFAIK, some apps in any Windows version, older and latest, are Kernel bound and checking at every start, that the right Kernel is in use!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. 100

    100 MDL Expert

    May 17, 2011
    1,346
    1,540
    60
    #6 100, Sep 6, 2016
    Last edited by a moderator: Apr 20, 2017
  7. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    To me seems like killing a patient affected by a cancer to prevent any further metastasis... It works but... :biggrin:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ofernandofilo

    ofernandofilo MDL Member

    Sep 26, 2015
    211
    128
    10
    #9 ofernandofilo, Sep 6, 2016
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. ofernandofilo

    ofernandofilo MDL Member

    Sep 26, 2015
    211
    128
    10
    The chance of such a program work on earlier systems is extremely low, it is expected that this type of program is strongly linked to the core functions of the system, including many new features that every new version of Windows usually adds. However, a program such as Notepad or some games that are somehow loosely connected to the system, will be much easier to port.

    But I also believe that you already knew.


    cheers
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. T-S

    T-S MDL Guru

    Dec 14, 2012
    3,988
    1,313
    120
    #12 T-S, Sep 6, 2016
    Last edited: Sep 6, 2016
    (OP)

    Well I think that if any normal exe works across an huge number of versions, most of the system exes should work as well.

    That check looks like more as an artificial barrier rather than something meant to prevent real technical problems.

    I think there are more possible problems running older exes on newer OSes, and they aren't blocked. Say chkdsk from w7 could be dangerous on a deduplicated system, or explorer.exe from w8.1 may mess something on W10 10393 with the long path support enabled.

    It's really more complicate than that because exes are relying on dlls, and an older exe can do the right thing because the newer dll it's going to use.

    Anyway You got my point ,I think.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. dobbelina

    dobbelina MDL Senior Member

    Apr 2, 2009
    425
    508
    10
  13. ofernandofilo

    ofernandofilo MDL Member

    Sep 26, 2015
    211
    128
    10
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Carlos Detweiller

    Carlos Detweiller MDL Spinning Tortoise

    Dec 21, 2012
    2,273
    1,857
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...