Windows Tip: Drag and drop RunAs
Send your Windows question to Mitch today! | See other Windows tips
In a previous issue of Windows In The Enterprise newsletter, I talked about the pain of running as a LUA (least-privileged user account) on a daily basis, and I shared a personal experience to highlight the difficulties ordinary users can face doing this. I hope you felt my pain.
I'm always on the lookout for new ways of doing LUA so I can maintain the security of my computer while still keeping things manageable. Today I'll share a cool tip that was forwarded to me by someone inside Microsoft.
Say you're running as an ordinary (non-admin) user on a laptop running Windows XP and you want to temporarily open Internet Explorer (or any other program) as Administrator. Start by creating a text file and copy/paste the following into the file:
set LINK=%1 set LINK=%LINK:"=\"% runas /user:desk99\Administrator "cmd /c %LINK%" |
where you need to replace desk99 with the name of your own computer. Save this file on your desktop as RunAsAdmin.cmd or something similar (note the .cmd extension). Now when you drag a program file (or a shortcut to a program file) onto the icon for RunAsAdmin.cmd, a command prompt appears asking you for the password for the Administrator account. Type this password and press ENTER, and the program will launch using Administrator credentials.
I think this is pretty cool, so I keep a series of shortcuts to programs like Computer Management, Event Viewer, Command Prompt etc. on my desktop, and whenever I want to run one of these as Administrator, I just drag it onto RunAsAdmin.cmd, type a password, and off I go. An easy way to put these shortcuts on your desktop is to open Administrative Tools in Control Panel and right-click on each tool icon and select Send To | Desktop, which creates a shortcut for that tool on your desktop.
What tips or tricks to you use to ease the pain of running as a non-admin? Feel free to share them with me and I'll try and mention them in a future issue of this newsletter.
ITworld.com
Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.
Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.
Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.
Crimeware: Understanding New Attacks and Defenses
By Markus Jakobsson, Zulfikar Ramzan
Published Apr 6, 2008 by Addison-Wesley Professional. Part of the Symantec Press series.
Enter now! | Official rules | Sample chapter
Securing VoIP Networks: Threats, Vulnerabilities, and Countermeasures
By Peter Thermos, Ari Takanen
Published Aug 1, 2007 by Addison-Wesley Professional.
Enter now! | Official rules | Sample chapter







