Solved

Call an executable in the context of a different user

Posted on 2011-02-23
3
232 Views
Last Modified: 2012-05-11
How do I call an executable in the context of a user other than the current login?
0
Comment
Question by:jdana
3 Comments
 
LVL 3

Accepted Solution

by:
OrenRozen earned 125 total points
ID: 34961057
you can use the 'runas' command.
from the command line type runas /? for more information

for example, the following command will open the notepad with user ben:
runas /user:ben@mydomain.com notepad
0
 
LVL 3

Assisted Solution

by:Dave4125
Dave4125 earned 125 total points
ID: 34961065
You can also right-click on the item or a shortcut to the item while holding the [Shift] key and choose Run as from there.
0
 

Author Closing Comment

by:jdana
ID: 35045823
Perfect.  Thanks!
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Being a system administrator some time we require to do things remotely, one of them is installing software. Here I am going to tell you how to install software through wmic (Windows management instrument console). I am not at all saying that this i…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
The viewer will learn how to count occurrences of each item in an array.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now