Windows – How to start process without UAC

uacwindows 7

How can I start a process without UAC in the following scenario?

Windows Vista or 7
UAC is enables
Standard user is logged in
Standard user knows admin credentials
Progrmm (running in the standard users context) starts process with the admin account.

How can I suppress the UAC? Is there any way? I imagine that this is exactly the scenario the UAC should "protect" the user from, but perhaps there is a solution

Best Answer

The transition from non elevated to elevated will always include a UAC prompt unless you have turned off UAC or turned the notification level way down on Windows 7.

Now if you have an elevated process, all the processes it launches will be elevated without another prompt. So for example if you start a command prompt by Right click, Run As Administrator, then everything you launch from that prompt (eg type Notepad and press Enter) will be elevated too.

Finally services are exempt from UAC, so if you have a service do what you want there will be no prompting, though of course you will need to elevate in order to install the service.

Related Question