Windows Tip: Getting RunAs back in Vista

5 comments | 10I like it!
February 29, 2008, 03:16 PM —  ITworld — 

For the last while I've been on the Service Pack 1 beta for Windows Vista and in my opinion SP1 has fixed most of the issues the original RTM release had, especially performance issues. So I'm confident that enterprises will begin accelerating their deployment plans for Vista now that SP1 is about to be released. One thing is still missing from Vista however, and that's the capability you had in XP to right-click on a program or shortcut on your desktop or in Windows Explorer, select RunAs, and run the program with any credentials you want to specify. Instead, Vista replaced this feature with Run As Administrator, which lets you run a program as an administrator (if you know the credentials for an admin account) while logged on to your computer as a standard user.

But what if you want to run a program using different (non-administrator) credentials? This has been a major complaint among some enterprises as some management applications need to be run using a special account, or may even require running under domain admin creds-and logging onto a Vista workstation (or any workstation for that matter) using domain admin creds is not a very good idea (get the Windows Server 2008 Security Resource Kit from Microsoft Press when it's released to find out
why).

A workaround you can use is to use runas.exe from the command-line, which still works the same way it did in XP. But if you work more with the Explorer shell than from the command-line, this loss of right-click'n'runas functionality is frustrating. Another workaround is to create a shortcut to runas.exe that specifies the program you want to run and the credentials you want it to run under. For example, you could create a shortcut to

C:\Windows\System32\runas.exe/user:CONTOSO\Administrator "C:\Program Files\Internet Explorer\iexplore.exe"

and when you double-click on the shortcut you can type the password for the Administrator account in the CONTOSO domain and Internet Explorer will launch using these credentials. This is tedious though if you have a lot of different programs you need to run this way.

Is there no hope for bringing back RunAs to Vista? You bet they do! Just a couple of days ago, Mark Russinovich, the creator of the Windows SysInternals suite of power tools, released a new tool called ShellRunas which lets you add back the right-click'n'runas functionality you had in XP. Just download the package from here, unzip it, run shellrunas /reg from the directory you unzipped it to, and Presto! You can right-click on a program in Explorer and get Run As Different User as an option.

So does Microsoft listen to their customers? Well, Mark does, anyway -- thanks Mark!

ITworld

Sign up for ITworld's Daily newsletter
Follow ITworld on Twitter @IT_world

I like it!
Close

On Twitter now

vista

Powered by Twitter
You are logged in | Sign out
Sign in and post to Twitter

What are you thinking?

Cancel Tweet sent

On Twitter now

Comments

Hey there, Although you can

Hey there,

Although you can use the RunAs.exe from the command line, you can also add it back into the Windows Explorer Context menus. Take a look here for more info: http://www.groovypost.com/howto/microsoft/vista/add-runas-to-explorer-context-menu-in-vista-and-server-2008/

Thanks,

-MrGroove
| reply

ms strikes again

fails to shock me how retarded ms can be at times
| reply

Runas Vista

i am a programmer that designed a software to replace
the windoes Runas command, it will even add a menu so when you righk click on a file the RunAs Command will be there. it is totaly interactive and you can even supply the password without opening/typing it in a commandPrompt window. it has been tested on xp but not vista, but all my software is usually vista compatible.

viruz_man@hotmail.com
| reply
peer-to-peer

Esther Schindler
If the comments are ugly, the code is ugly

claird
SVG a graphics format for 21st century

pasmith
Take Chrome OS for a test spin

Sandra Henry-Stocker
Solaris Tip: Have Your Files Changed Since Installation?

sjvn
64-bits of protection?

jfruh
Android fragments vs. the iPhone monolith

mikelgan
What Gizmodo missed about the Pro WX Wireless USB disk drive

 

Where Google Chrome security fails: the password
I heard mention that the Chrome OS will have some sort of encryption available a la bitlocker. If it's possible to encrypt personal data using another password or key, then it may have potential for very secure data.... And Ubuntu has an 'encrypt home directory' option, perhaps google should follow suit.
- Dann

Join the conversation here

The Daily Tip

The Daily TipQuick, practical advice for IT pros. Made fresh daily.

Hot tips:

Want to cash in on your IT savvy? Send your tip to tips@itworld.com. If we post it, we'll send you a $25 Amazon e-gift card.

Newsletters

Subscribe to ITWORLD TODAY and receive the latest IT news and analysis.

I would like to receive offers via email from ITworld partners.
By clicking submit you agree to the terms and conditions outlined in ITworld's privacy policy.
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

Marketplace