Training
Module
Create and run scripts by using Windows PowerShell - Training
This module explains how to create and run scripts.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
By Mark Russinovich and Jon Schwartz
Published: October 12, 2021
Download ShellRunas (90 KB)
The command-line Runas utility is handy for launching programs under different accounts, but it’s not convenient if you’re a heavy Explorer user. ShellRunas provides functionality similar to that of Runas to launch programs as a different user via a convenient shell context-menu entry.
Screenshot
Usage:
shellrunas /reg [/quiet]
shellrunas /regnetonly [/quiet]
shellrunas /unreg [/quiet]
shellrunas [/netonly] <program> [arguments]
Parameter | Description |
---|---|
/reg | Registers ShellRunas shell context-menu entry |
/regnetonly | Registers Shell /netonly context-menu entry Note: a command prompt will flash when the program starts |
/unreg | Unregisters ShellRunas shell context-menu entry |
/quiet | Register or unregisters ShellRunas shell context-menu entry without result dialog |
/netonly | Use if specified credentials are for remote access only |
<program> | Runs program with specified credentials and parameters |
Download ShellRunas (90 KB)
Runs on:
If you have problems or questions, please visit the Sysinternals Forum.
Training
Module
Create and run scripts by using Windows PowerShell - Training
This module explains how to create and run scripts.
Documentation
View and control services.
Terminate local or remote processes.
Show information about processes and threads.