To launch a .exe on Windows startup with administrator privileges, I know that:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Runmethod is not good, because it will always display a prompt on each startup "Are you sure to ...",
the TaskScheduler method works,
- what about adding a shortcut to the .exe in
Startup folderof the Start menu?
I've tried it, but it silently fails - the .exe doesn't start.
I also tried to edit the properties of the shortcut: Compatibility tab > Run as admin, and also Settings for all users button, then Run as admin.
Idem: it silently fails to start.
Question 1: How to make a .exe with elevated privilege start on Windows startup with a shortcut in
Question 2: Will this show a UAC prompt on each startup?