M
M
Maxim2020-05-15 02:24:41
System administration
Maxim, 2020-05-15 02:24:41

How can I bypass the elevation prompt for a program?

There is software that unpacks updates to the temp folder (C:\User\User\AppData\Local\Temp\ folder_name_with_update_always_different.tmp
The update is launched via Setup.exe, which needs admin rights. How to make Setup.exe run with administrator rights without prompting for elevation
It will not work to register the RunAsInvoker parameter for this .exe in the registry, since the name of the folder where the update is unpacked is always different . admin).

5ebdd30be262a439685491.png

5ebdd31acf91a983084613.png

5ebdd2fd81c6b290507399.png

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
maaGames, 2020-05-15
@maaGames

Disable UAC (no).

D
Dmitry Pavlov, 2020-05-15
@Stalker31

Maybe enable developer mode in windows

K
ky0, 2020-05-15
@ky0

It will not work to register the RunAsInvoker parameter for this .exe in the registry, since the name of the folder where the update is unpacked is always different.

Rename the directory or move.

K
Konstantin Tsvetkov, 2020-05-15
@tsklab

- Many installation packages (you have setup.exe) can be unpacked without running the archiver.
- You can copy the temporary folder so that it is not deleted. And run setup.exeas administrator.
- Run the file, which is unpacked into a temporary folder, as an administrator.
- A file that is decompressed to a temporary folder may have a parameter specifying the decompression folder.

C
CityCat4, 2020-05-16
@CityCat4

No way, because this thing was invented specifically against smart people who are trying to quietly slip crap like a keylogger on an accounting computer :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question