As part of the script deployment, I need to add the "run as admin" flag for some application. I found where it is configured in the registry, but I see that this is not enough. For example, I have procexp64.exein C:\; I am adding a string value C:\procexp64.exewith ~ RUNASADMINregistry data in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. After that, I see the "Run as administrator" checkbox in the exe properties, but in fact the application does not work as admin!

, , . . procmon , dllhost - . dllhosts , - . ?
, , reg...
, . Win Srv 2012 R2.