Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

CPAU.exe Run Program As Admin on Normal User Login

Technical documentation
2016-03-02

CPAU.exe -u <username> -p <password> -ex <command ที่จะรัน> เช่น

CPAU.exe -u domain\admin -p password -ex notepad.exe

http://www.joeware.net/freetools/tools/cpau/index.htm

from cmd prompt:
cd <path to cpau> -d
cpau.exe /u domain\username /p 123456 /ex "c:\Program Files (x86)\Internet Explorer\iexplore.exe" /lwp

from powershell script:
cd <path to cpau> -d
invoke-expression "cpau.exe /u 'domain\username' /p '123456' /ex 'c:\Program Files (x86)\Internet Explorer\iexplore.exe' /lwp"

/lwp means to Load With Profile, and can be replaced with /lwop Load Without Profile

Files