How to use psexec to start installation or other task that requires UAC interaction?

Posted by Miguel Ventura on Server Fault See other posts from Server Fault or by Miguel Ventura
Published on 2009-10-08T14:38:20Z Indexed on 2010/04/09 20:13 UTC
Read the original article Hit count: 494

Filed under:
|
|

I'm trying to remotely start installations and I'd like not to disable UAC. If I start the processes remotely using psexec, the installer will just get stalled waiting for the UAC prompt. Other tasks such as temporary files cleaning, services restarting, etc, will get me Access Denied errors. Is there anyway psexec can walk around UAC such as logging in with Administrator but with the TrustedInstaller privileges or something like that?

By the way, I'm targeting Windows 2008 R2, but I think this question applies to Vista, 2008 and Windows 7 as well.

© Server Fault or respective owner

Related posts about psexec

Related posts about windows-server-2008