Runas in Vista RRS feed

  • Question

  • Can you 'Runas' a different user other than Administrator in Vista?

    I use snap-in's to administrate AD function's and I don't login as the elevated user.  I used to have a shortcuts to a couple of useful snap-in's and just runas the elevated user.  Vista only gives me the option to runas administrator.  This is no good to me, because the administrator of the machine I am using is not an administrator on the domain.  I need to be able to runas 'DOMAIN\USERNAME'.

    How do I do this on Vista?


    David Dillon

    Thursday, March 8, 2007 3:31 AM

All replies

  • Same commandline - Runas /u:domain\username Command.

    I have another question - I need to run IExplore.Exe under another account. So I type the following command

    Runas /u:AnotherUser IExplore.Exe   and then enter password at the prompt.

    But all I get is a dialogue box with the error "The RUNAS Command Is not supported". 

    Does anyone know how to make Vista runas IExplorer in another account. I can run it as administrator - but that will defeat the purpose I am trying to achieve.



    Friday, March 9, 2007 8:49 PM
  • The runas tool runasspc on http://robotronic.de/runasspcEn.html
    can start your application in vista with elevated rights

    Saturday, March 8, 2008 9:33 PM

    Your going to want to install this tool developed by Mark Russinovich.






    Friday, March 28, 2008 10:23 PM
  • Shellrunas doesn't seem to work with explorer.exe.  Am I missing something or is it true that this will not work?  If the latter, is anyone aware of a way to runas explorer.exe with Vista?


    Thursday, April 3, 2008 4:03 PM
  • I think it's very sad that Microsoft People didn't provide an easy Runas Domain\user option while they are advocating everyone to use there workstations without Administrator privilages. This really hinders me do so! I don't care about the commandline it needs to be in GUI.

    Why there is no ShellRuns in Vista by Default?
    Thursday, April 17, 2008 1:57 PM
  • Yep this sucks, you run an MMC from a network share or you're home folder, since Runas is used the access to these folders is not valid in the admin context!

    I'm starting my admin mmc now from C:\Users\Public\ since all other locations give me access denied.
    Thursday, April 17, 2008 2:16 PM
  • I am looking for the same thing and that tool does not work. It still runs under your own permissions. It never prompts for an alternate account.
    Friday, June 27, 2008 2:14 PM
  • I found runasspc on robotronic.de/runasspcEn.html
    The simple tool is runnung on vista like runas on xp.

    Friday, November 21, 2008 7:12 AM
  • Create a shortcut with the following target: C:\Windows\System32\runas.exe /userBig Smileomain\userid /SaveCred "C:\Program Files\Internet Explorer\iexplore.exe"


    Works fine in Vista


    • Proposed as answer by veday001 Wednesday, January 7, 2009 6:20 AM
    Thursday, December 11, 2008 8:00 PM
  • Tthough this (C:\Windows\System32\runas.exe /user: domain\userid /SaveCred "C:\Program Files\Internet Explorer\iexplore.exe") will run IE access is still denied when trying to run for example the System properties or when trying to uninstall from Programs and Features.

    Does anyone have a real commandline option for "runas". I have several application that need to run as a domain admin that are executed via a script with command line.

    Wednesday, February 18, 2009 12:29 PM
  • Did you actually test this? I still get the popup dialog that says "run as not supported". The only difference from what I'd been trying is /SaveCred. I'm also trying this with a non admin local user account.

    From another form post I found out that if you kill explorer.exe and then do this it will work...but you have to do it quickly before explorer.exe automatically recovers.

    Also, if I run iexplore.exe "Run as Adminsitrator" it will work and I get two IEs that can't talk to each other.

    We have an app that we need to login twice. Now we use a local instance of IE and one from Citrix. The application is ActiveX based and will detect the other login and log out both sessions... We'd love to get rid of Citrix, but I can't really have my users running IE as administrators.

    Friday, April 3, 2009 5:11 PM
  • As suggested by Michael use Shell RunAs from http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx
    For installing this
    1) Copy Shell runas at C drive
    2) open the command prompt as administrator
    3) run this command shellrunas /reg
    4) Then only you will be able to see the RunAs in Vista.

    Sorry about my late reply as I discovered this just now. And thanks Michael for your suggestion
    • Proposed as answer by Milind Pisal Thursday, June 18, 2009 7:33 AM
    Thursday, June 18, 2009 7:33 AM
  • Thanks Milind it helped me too.
    Thursday, October 29, 2009 2:57 PM
  • Unfortunately, I am in this boat still only everybody is sitting on the upper deck while I am drowning in steerage.

    I have read everyone of the posts that popped in google and nothing is helping me out.  I am simply trying to add a printer to this computer.  Keeps coming back with the error that I need to log on as admin.  I am.  I use the compatability tab it is greyed out.  I am not someone who wants to play with regedit.  That would be computer homicide.  I am using the factory disc.  It is for a HP 6200 series printer.hp6210.    Error keeps coming back that it cannot run as.  HHHHEEEEEELLLLLLLPPPPPPPgurgle gurgle gurgle.

    Thank You in advance
    Wednesday, November 25, 2009 5:26 AM