ITworld.com
  Search  
ITworld Home Page ITworld Webcasts ITworld White Papers ITworld Newsletters ITworld News ITworld Topics Careers ITworld Voices ITwhirled Changing the way you view IT

Windows Tip: Getting RunAs Back in Vista

ITworld 02/29/2008

Mitch Tulloch, ITworld.com

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!

On this topic

 

Mitch Tulloch is lead author for the Microsoft Windows Vista Resource Kit and is a widely recognized expert on Windows administration, networking, and security. Mitch has published over two hundred articles for different IT pro sites and magazines, and he has written over a dozen books including the Microsoft Encyclopedia of Networking and the Microsoft Encyclopedia of Security (both from Microsoft Press), Windows Server Hacks (O'Reilly Media) and IIS6 Administration (McGraw-Hill/Osborne). Mitch has also been technical reviewer for numerous IT pro titles and has developed and taught graduate-level courses in Information Security Management (ISM) for the Masters of Business Administration (MBA) program of Jones International University. Mitch has been awarded Most Valuable Professional (MVP) status twice by Microsoft for his outstanding contributions in supporting the IT pro user group community. Before starting his own business in 1998, Mitch worked as a Microsoft Certified Trainer (MCT) for Productivity Point. For more information about Mitch, see his website.

Send your Windows questions to Mitch here.




Sponsored Links

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.
Client PCs As Strategic Assets
Read How Intel® Is Decreasing TCO And Delivering Measurable Business Value Year After Year.
Rebates On Motion Computing C5 Tablet PC!
SYNNEX RESELLERS – This Mobile Clinical Assistant Is Perfect For Any Health Care Provider.
Check Out This Promotional Deal-SONY VAIO SZ645PA!
SYNNEX RESELLERS – This Is One Of The Top Notebooks On The Market Today. Hurry Up, Buy Now & Save!
Metadata Management Software
MetaCenter: Plug & play metadata management software for enterprise systems. Features: data dictionary, process documentation, impact analysis, search across multiple systems, web-based interface, reports, dashboards, import, export and more!
» Buy a link now

Advertisements
Sponsored links
KODAK i1400 Series Scanners stand up to the challenge
Top 5 Reasons to Combine App Performance and Security
Bring harmony to your mix of UNIX-Linux-Windows computing environments
Locate Hidden Software on business PCs with this free tool
 Home   Computers and Peripherals  Operating systems  Windows
www.itworld.com    open.itworld.com     security.itworld.com     smallbusiness.itworld.com
storage.itworld.com     utilitycomputing.itworld.com     wireless.itworld.com

 
Contact Us   About Us   Privacy Policy    Terms of Service   Reprints  

CIO   Computerworld   CSO   GamePro   Games.net   Industry Standard   Infoworld   ITworld  
JavaWorld   LinuxWorld  MacUser   Macworld   Network World   PC World   Playlist  

DEMO   IDG Connect   IDG Knowledge Hub   IDG TechNetwork   IDG World Expo  

Copyright © Computerworld, Inc. All rights reserved

Reproduction in whole or in part in any form or medium without express written permission of Computerworld Inc. is prohibited. Computerworld and Computerworld.com and the respective logos are trademarks of International Data Group Inc.