Solved

Call an executable in the context of a different user

Posted on 2011-02-23
3
231 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

747 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

10 Experts available now in Live!

Get 1:1 Help Now