How to bypass the elevation prompt for programs?

Good afternoon.
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?
April 7th 20 at 15:24
3 answers
April 7th 20 at 15:26
To make a separate shortcut with the run under another user with the necessary rights from him: only to install updates.
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. - Gerry57 commented on April 7th 20 at 15:29
@Stephon.Rober, properties, advanced, and there the Daw and ACC introduce. No runas. - Brandyn.Strac commented on April 7th 20 at 15:32
April 7th 20 at 15:28
To give rights to the folder or move the program to where it is not tedious admin rights.
Actually have recently been sensible article on habré: https://habr.com/ru/company/pc-administrator/blog/...
April 7th 20 at 15:30
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.

Find more questions by tags System administrationWindows