#75 Patch for running elevated program on Windows Vista and after
open
nobody
Patch
2022-05-17
2014-10-30
No
Permit to automatically run a program compiled in C::B in elevated mode on Windows
Patch update (formatting, ...)
This patch is not needed for 99.999% of users and if a user needs to run the resulting app with elevated privileges then they IMHO should run C::B with elevated privileges instead of running elevated automatically.
This will stop noobs running programs that could be harmful to their PC and then blame C::B.
This ticket has been outstanding since 2014 and has gone no where, so this ticket could be closed and if people want it then it can be re-opened, but if it is then a config option needs to added for the option to try to run with elevated privileges so noobs do not ham their PC.
Yes, this old proposal is a patch for specific purpose (use case was a specific degrafmenter).
So, yes, it's very infrequently needed. It didn't start program elevated in any case, but only in case program fail to launch with specific error "need elevation" (::GetLastError()==740), so it will trigger only on exectuable with a manifest requiring this elevation (or force by properties)
Running whole C::B elevated has some adverse effects (at this time, under Seven or Vista didn't remebr exactly), including mess with PATH, loss of user configuration.
But, not a problem to close it ;-)