Tool helps administrators run applications with limited user privileges

Tool helps administrators run applications with limited user privileges

Serdar Yegulalp, Contributor

This tip originally appeared on SearchWinSystems.com, a sister site of SearchSMB.com.

With all the furor about security in Windows, there's lots of talk about how running programs with elevated user privileges often contributes to security problems.

    Requires Free Membership to View

    When you register you’ll also receive the latest news, advice and technical tips designed specifically for midmarket IT leaders like yourself. Our award-winning editorial team will give you immediate access to emerging business and technology trends.

    Scot Petersen, Editorial Director, SearchCIO-Midmarket

    By submitting your registration information to SearchCIO-MidMarket.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchCIO-MidMarket.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

This is as much the fault of the operating system as it is the software: There are some programs that are so badly written that they can't run as anything but Administrator. That's inconvenient for users, as well as a major problem for real administrators who don't want to have things run in elevated privileges at all.

One tool I've found that helps work out these issues is a freeware application called RunAsLimitedUser. It does exactly what its name suggests: It runs any application in a limited-user context with no fanfare or complex setup. When installed, it creates an account named LimitedUser with limited privileges and sets a password on it randomly. (The password is stored in the Registry, but encrypted with a one-way hash to prevent casual hackery.)

Right-click on an application and you'll get the option to Run as Limited User, which launches the application in the LimitedUser context. If you want to find out if a given application (custom or third-party) works properly as a limited user, this is an easy way to do it.

There are two reasons why RunAsLimitedUser stands out from the other solutions in this space.

  • It uses an actual limited-user account. In other words, it doesn't work by deprecating rights on the account you're using, so it's a more realistic way to assess limited-user behavior.
  • It is very easily deployed. Once installed, all you have to do is right-click on an application and run it from there, so it's perfect when you want to test something on the spur of the moment. ("Oh, will this work as a limited user?")

Note: This tool has only been tested to work in Windows XP. (SP2 isn't required but is probably a good idea.) But in theory, it should also work in Windows 2000.

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter. Check it out for the latest advice and musings on the world of Windows network administrators.

More information from SearchWinSystems.com



This was first published in April 2006

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.