Top "Runas" questions

runas is a Windows command which allows a user to run a specific program under the credentials of another user.

Verb RunAs in a Start-Process Powershell command causes an error

If I run the following command in a Poweshell script file ($cmd refers to some executable): Start-Process -FilePath $cmd -Verb …

powershell runas
SQL Server Management Studio 2008 Runas user on different domain over VPN

I am currently trying to run SQL Server Management Studio 2008 as a user who is on a different domain. I …

sql sql-server-2008 dns runas windows-authentication
Automatically respond to runas from batch file

I'm trying to get a batch file to automatically enter the password into the "runas" program, but I can't get …

windows batch-file runas
RunAs Command Failing With Error 299

I have tried using the "runas" command from Windows to run a program with lowered credentials than those of the …

runas
How to prompt to run EXE as different user in powershell

How would I go about running an EXE as a different user? How could I prompt for credentials or atleast …

powershell uac elevated-privileges runas
start batch file from within vb.net as admin

In my application, I need to run a batch file as admin for it to function. I'm using this so …

vb.net runas
Visual Studio Run as administrator shortcut

how do I create a shortcut that runs Visual Studio with Administrator rights? Actually I have to navigate to the …

visual-studio-2010 visual-studio visual-studio-2008 administrator runas
Runas in another Windows terminal session

For simplicity, let's say the user Administrator is logged in in terminal session 2. Another user Boda is logged in terminal …

windows terminal-services runas
Runas Password in Batchfile

i want to run a batchfile with a runas command in it. Is it possible to link the password in …

batch-file runas
Win7 runas command: How to capture output of command that is run?

I'm trying (under Windows 7) to use the runas command to stop then restart a service. (Win7 requires admin privs to …

runas