Elevated Commands

email me

How to launch an elevated command using sanur

C:\Windows\SysWOW64\runas /u:%computername%\USERNAME “cmd /c C:\setup\java\jre-7u55-windows-i586.exe” | c:\setup\java\sanur PASSWORD

 

Using cpau

cpau -u USERNAME -p PASSWORD-ex “cmd /c C:\setup\java\jre-7u55-windows-i586.exe” -lwop

 

Using lsrunas

lsrunas /user:USERNAME /password:PASSWORD /domain: /command:notepad.exe /runpath:c:\