RunAsSpc Details and examples

Pass a password to runas with command RunAsSpc

RunAsSpc can be used like the runas command, but additionally with a password parameter.

RunAsSpc.exe /program:"path\yourApp.exe" /user:"anyAccount" /password:"accountPassword"
As example:
RunAsSpc.exe /program:"c:\windows\system32\regedt32.exe" /user:"admin" /password:"pw"

There is no security check and the password is in clear text.

If you want to hide the login credentials you can configure an encrypted file

either by RunAsSpc.exe on command line or by the graphical user interface RunAsSpcAdmin.exe.
Take a look below on >> Build encrypted files <<.

Then you can call this encrypted file with RunAsSpc.exe as follows:
A) If the name of the encrypted file is >> crypt.spc << , you can start it by a double-click on RunAsSpc.exe.in the same directory.
B) Drag your encrypted file and drop it onto RunAsSpc.exe
C) On command line >>RunAsSpc.exe /cryptfile:"path\NameOfCryptfile" <<
D) Create a shortcut or link like >> c:\path\runasspc.exe /cryptfile:"path\NameOfCryptfile" <<
E)  Link the file extension (open with) *.spc on your system to RunAsSpc.exe, to run the encrypted file by double-click.
You can also use your own file extension.


Build encrypted files:

1.
With command RunAsSpc.exe
>> runasspc.exe /cryptfile:"crypt.spc" /program:"prog.exe" /domain:"localhost" /user:"admin" /password:"pass" <<
You find examples in the file readme.txt or call >> runasspc.exe -h << on command line to get help

2.
With graphical user interface RunAsSpcAdmin.exe.
See screenshots below with a lot of example configurations or take a look to the video example.

Start registry editor under the local user account localadmin.

Open the Excel document molecularWheigtCalculation.xls under domainaccount departmentuser.

Install msi file acdSee 4.0.msi over the domain account installaccount.

Call a msc file like the computerconsole

To run a vbs script

Insert a registry entry

To start a batchfile like *.bat or *.cmd

To install Java with parameters /S /V /qn

To run a Batchfile with some options like optionA optionB optionC

To use environment variables

Call with rundll32 the >>>Add / Remove programs applet<<<


Contact:

For any suggestions, errors, questions, specific requirements or adjustments please contact:
runas@robotronic.net


Licence:

RunAsSpc is only free for private use.
For companies and other organisations we deliver a licensed version, registered to the organisation name.
Order RunasSpc >>>
Download RunasSpc >>>


Date: 2022-01-14
Data protection
Imprint