Top "Runas" questions

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

Running PowerShell as another user, and launching a script

I won't get into all the details of why I need this, but users must be able to launch PowerShell …

powershell runas
Batch Script to Run as Administrator

I'm writing a client/server checking program but it needs to run as Administrator. I want this to run silently …

batch-file administrator runas
How to complete the RUNAS command in one line

This Stack Overflow question suggests a command which looks as if it should work, but it doesn't (that answer is …

cmd command-prompt runas
What precisely does 'Run as administrator' do?

On Windows 7, I have a command-line program that fails due to file write permission errors, and popping up annoying UAC …

windows windows-7 privileges administrator runas
How do I 'run as' 'Network Service'?

I am trying to run a process as another account. I have the command: runas "/user:WIN-CLR8YU96CL5\network …

command-line permissions runas network-service
Run process as administrator from a non-admin application

From an application that is not being run as administrator, I have the following code: ProcessStartInfo proc = new ProcessStartInfo(); proc.…

c# uac runas processstartinfo
Run Java file as Administrator with full privileges

I have made a Java Application and I tested it in my pc and my coined pc, so far so …

java windows batch-file administrator runas
How to set "Run this program as an administrator" programmatically

I'm having a problem with good ol' bdeadmin.exe in Vista. First, let's get the predictable responses out of the …

windows properties compatibility admin runas
Powershell start notepad.exe and a command windows starts and disappears

I have a script to start another ps1 script as aspecific user that does a simple dir on a directory …

windows powershell credentials runas
runas /savecred... don't accept cmdkey /add (credentials)

I have a problem with runas /savecred ... and cmdkey /add.... I have a batch file contains this line: runas /profile /…

batch-file windows-7-x64 credentials runas