0

I run a non-admin user account in Windows 10. Also, I have some administrator domain credentials I'm free to use. When Windows needs to run an app elevated, I get a prompt for user/password.

Is there any way to automate the credentials entry so that I just get a yes/no prompt?

1 Answers1

0

Theoretically you could store the admin credentials in a script (VERY UNWISE, DON'T DO THIS) that starts the program using them.

But no, there's not a way to do this that maintains correct security (not storing admin credentials in plain text, for instance). Think about it: If this was a simple thing to do, it would be done by virus and malware writers all over the place. Raising the level of an application's run state is a specific and intentional process on purpose and by design.

Here's another question asking about the same thing which has answers which come to the same conclusion, more or less: Is it possible to elevate the permission of a program in Windows without using "Run as Administrator"?

music2myear
  • 49,799