Runas with password option, and much more

As a sysadmin you often need to run applications or scripts in other privileges. With the runas command there is no password option, you are always prompted for a pwd. Here comes RunassSPC to the rescue!

A stupid but useful example:

I needed to remotely shutdown a windows server 2008 machine. As you need remotely privileges for this action, runas wasn’t able to do this silently.


By launching runasspcadmin.exe you are able to create an encrypted file, with credentials and optional paramaters stored in the file.

Now it’s easy to launch this .spc file. Using a batch file or whatever you like:

Runasspc.exe /cryptfile:"filename.spc" /quiet

More info, downloads and a full manual: