Shortcut to automatically run this program as another user?


  1. Posts : 1
    windows 7 professional x64 bit
       #1

    Shortcut to automatically run this program as another user?


    that's awesome that I found this. I've been struggling with this for about 30 mins now. but the real question is, how to automate this task of running this program as another user? Put another way, can I make a shortcut to automatically run this program as another user, that I can just click at any time?
      My Computer


  2. Posts : 1,814
    XP / Win7 x64 Pro
       #2

    Make a batch file with the following line in it and save as <whatever>.bat.

    runas /user:OTHER_USER_NAME "C:\Path\To\Program.exe"


    See option two: Run as Different User
    Last edited by Brink; 23 May 2011 at 13:19. Reason: added link
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 14:25.
Find Us