1

When I've already started an application with a normal user account, at some point I may face that the program actually requires an elevated privilege for some operation.

Closing and restarting the program, depending on its design and the operation state, is not always convenient and in some situations it could mean data loss.

Is there a way to grant elevated privileges for an already running program (one that does not have a self-elevating feature built-in) during its run time?

edit note that my user is an Administrator.

n611x007
  • 6,566
  • 15
  • 67
  • 91

1 Answers1

4

There is no way to elevate a program that started un-elevated. The security token the program has is set at program start and can not change. Programs that "appear" to change while running are either starting a hidden background process to do the work or restarting the main process and picking up where the un-elevated one left off.

If you want to always want to run the program elevated you can do like it was said in the comments

right-click on the exe file -> Properties -> Compatibility tab -> Check "run this program as an admin"