Make exe or bat require admin privileges UAC

Posted by petebob796 on Super User See other posts from Super User or by petebob796
Published on 2010-03-18T02:40:28Z Indexed on 2010/03/18 2:41 UTC
Read the original article Hit count: 534

Filed under:
|
|

I am trying to create an install CD to install multiple windows updates and hotfixes in one. The Autorun.inf launching a .bat (or .exe) running each update in turn. Currently if I run this .bat each update brings up a UAC prompt individually which can be annoying.

However if I run the .bat as administrator it can launch and install each update with just one prompt.

Is there a way to force the bat (or .exe) to need admin priviledges no matter who runs it.

© Super User or respective owner

Related posts about Windows

Related posts about uac