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?
Of course I wouldn't want to store any credentials in plaintext. I meant some "legit" way to do it. ie, Windows storing them internally to be used when I require elevation. – Diego Pazos – 2019-05-16T17:18:18.023
Then my answer remains correct. There is not a secure way to store the credentials for one account in such a way that they are programmatically accessible in another account. – music2myear – 2019-05-16T17:31:46.190
They'd be only accessible in the account that stored them in the first place. AFAICT there's no security breach created. – Diego Pazos – 2019-05-16T18:04:28.003
But they'd be stored within an account that is used more broadly (regular user account) and for that reason has more restricted permissions. What you would be doing is, essentially, allowing processes normally restricted to the limited to the restricted scope of the regular user account a way to gain access to the much greater permissions of the administrator account. – music2myear – 2019-05-16T18:59:38.937