37
9
I'm currently running a startup script in form of a bat file successfully in Windows 7 (I've inserted a new registry key entry with the bat file path as value in
Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run)
.
Now I need to run another bat file at startup, but with elevated rights (as administrator), and without manually confirming a prompt.
How can I achieve this, preferrably without external programs?
I'm confused. Isn't the ability to bypass the UAC prompt a huge security concern? Doesn't that defeat the purpose of the prompt even existing? – Kyle Delaney – 2018-05-02T20:07:12.027
Does this one have a solution? http://serverfault.com/questions/429364/how-to-run-a-command-as-administrator-on-windows7-from-a-command-line
– Radek – 2012-09-18T06:55:20.507