Thursday 3 November 2011

Elevating UAC via Batchfile & running Powershell script

RunAs http://www.computerhope.com/runas.htm http://www.softtreetech.com/24x7/archive/53.htm Running batch file on Win7 to open powershell with elevated permissions Using runas to elevate runas /user:AISCT\administrator "powershell.exe Set-Executionpolicy Unrestricted"

No comments:

Post a Comment