Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Call an executable in the context of a different user

Posted on 2011-02-23
3
Medium Priority
?
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
OrenRozen earned 500 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 500 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

730 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