MiniRunAs - A minimalist "run as" for Windows

MiniRunAs is used to run a program with a different Windows user. It is an alternative to the Windows runas command.

Features

Usage

miniRunAs <user> <password> <commandline>

Examples

miniRunAs administrator sesame ping localhost
miniRunAs administrator sesame "%SystemRoot%\system32\cmd.exe" /T:4F
miniRunAs administrator sesame cmd.exe /c dir /p C:\
miniRunAs username@domain sesame notepad.exe

Download

Binary (EXE): miniRunAsExe.zip
Source code: miniRunAs.cpp
Full package:  miniRunAs.zip

Author: Christian d'Heureuse (www.source-code.biz, www.inventec.ch/chdh)
Index