RunElevated execute a process with elevated privileges
You need RunElevated on a system with an active UAC (user access control)
for applications which don't request elevated rights but you want to start it with elevated permissions
like the command line prompt cmd.exe, a file manager, a script or a single command like net.exe.
You can drag and drop the application onto RunElevated.exe
or you can create a shortcut or batchfile with call:
>> RunElevated.exe yourApplication.exe <<
1) Launch command prompt with elevated privileges from an administrator account.
>> RunElevated.exe %windir%\system32\cmd.exe <<
2) Call command net.exe with elevated permissions to add an useraccount.
>> RunElevated.exe NET USER username "password" /ADD <<
3) Launch command prompt from a non administrator account with administrator rights and elevated privileges.
You need RunasSpc.
>> runasspc.exe /program:"c:\path\elevate.exe" /param:"%windir%\system32\cmd.exe" /user:"administrator" /password:"pass" <<
4) Launch command prompt from a non administrator account with administrator rights and elevated privileges
over an encrypted file configured by RunasSpcAdmin like screenshot below.
>> RunasSpc.exe /cryptfile:"c:\temp\ElevateCmdCryptfile.spc" <<
For any suggestions, errors or questions