Can I get UAC prompt for user from batch file?
For example I need put some keys to registry under CurrentControlSet from batch file by
reg import path\to\my.reg
PS. runas is not a solution as my customers uses different Windows localisation and I can not guess which name used for Administrator account (this can be Администратор)…
And script don't know administrator password.
And UAC dialog box does not require password entering…
Best Answer
I really love this solution from Anders.
Should work flawlessly