Windows 10 Compatibility Mode | Registry Key -


i'm packaging application run in compatibility mode. found location registry keys created in hklm (for users) or hkcu (for logged on user).

the problem is; don't know if it's problem, can set registry key in hklm\software\microsoft\windows nt\currentversion\appcompatflags\layers. create reg_sz name of key being path.

e.g.: c:\program files (x86)\myapplicationdirectory\myapp.exe

the value of key ~win7rtm

the problem this, when install application , create registry key path. can click on shortcut properties , go compatibility tab , noticed not appear it's set run in compatibility mode in windows 7.

i know created correct registry key because created shortcut through compatibility tab , clicked "change settings users" , set run in windows 7 there. if set compatibility mode within shortcut, can see checked. (highlighted in yellow)

enter image description here

but if try set compatibility mode via registry key , go properties of exe or shortcut, box not checked.

  1. if set registry key, how verify application running in compatibility mode?
  2. is there way can set registry key , sure it's running in compatibility mode?

never mind folks. did stare , compare on registry keys created. did not add space between ~ , win7rtm. once added white space, worked fine.

before: ~win7rtm (not correct)

after: ~ win7rtm (correct)

overlooked it.


Comments