There is a software which install the updates need administrator rights.To run and all daily work with the program administrator rights are not needed. When comes the update for the program, it is downloaded to the temp folder, but the file name .tmp to the end setup.exe the file is always different. Therefore, to register in the registry value: RunAsInvoker for .exe update file does not work (or rather useless, since the file path is always different). The path to the update file like this: C:\User\Имя_пользователя\AppData\Local\Temp\_st67771.tmp\Setup.exe
File name: _st67771.tmp when you download the new updates are always changing.
How to make so that when you run the update file (_st_имя_меняется!!!!.tmp\Setup.exe) no request for elevation?
At the root of the C drive in a folder named "Triasoft" are two programs "A" and "b". If .exe program file "And" create a shortcut with the parameter: runas.exe /user:domain\loginpresenter "path to file", the program runs perfectly. With the program "In" is not laminate, create a shortcut runas.exe /user:domain\loginpresenter "path to file" when you run a label request for a password to run .exe file appears, enter the password, then the message "trying to start .exe" file and that's it, the process does not start. Did under win7 and win10.