https://github.com/darkcodersc/run-as
Simple RunAs program for Windows.
https://github.com/darkcodersc/run-as
delphi pascal runas
Last synced: 4 months ago
JSON representation
Simple RunAs program for Windows.
- Host: GitHub
- URL: https://github.com/darkcodersc/run-as
- Owner: DarkCoderSc
- Created: 2020-05-18T16:04:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-18T16:18:48.000Z (about 5 years ago)
- Last Synced: 2025-01-11T20:43:58.762Z (6 months ago)
- Topics: delphi, pascal, runas
- Language: Pascal
- Homepage:
- Size: 167 KB
- Stars: 31
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RunAs (Microsoft Windows) - 32bit / 64bit.

This program is an example about how to easily run any programs as any user.
## Usage
### Mandatory
* `-u ` : Launch program as defined username.
* `-p ` : Password associated to username account.
* `-e ` : Executable path (Ex: notepad.exe).### Optional
* `-d ` : Optional domain name (default %USERDOMAIN% environment variable value) for user authentication.
* `-a`` : Arguments to pass to executable.
* `-h` : Run program without showing window. (Hidden mode)## Notes
Target program must be accessible by target user otherwise you will receive an Access Denied Error(5).
It is recommended to place target program in a folder accessible by any users such as "C:\ProgramData".