Home > Enterprise Desktop Tips > > Fast User Switching and privilege elevation in XP
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Fast User Switching and privilege elevation in XP


Serdar Yegulalp
09.27.2005
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Windows XP introduced a new way to handle multiple user accounts on the same computer: Fast User Switching. This feature, enabled by default, allows the computer to be switched between multiple accounts that are signed in locally without having to log any of them off. Since these are completely separate user accounts, they each run with their own level of privileges and restrictions, which is useful for running applications with elevated privileges when needed, but in a controlled context.

For instance, the default user account -- the one people sign on with to do regular work -- can run with restricted permissions. A second account with elevated administrative credentials could also be created. When a user needs to install a program, he or she can switch to the admin context (without having to sign out or reboot), install the needed application and then switch back.

Note that in many cases, a program that requires administrative privileges to install must reboot the system anyway, since it might install kernel drivers or other low-level components. However, many programs don't require a hard reboot when installing, but still require administrative access, and can be quickly installed in this fashion.

Also, if you're testing a program's behavior in multiple user contexts, for instance, Fast User Switching is a convenient way to do this without having to log out and back in again -- or without having to set up another machine, virtual or physical, to test on.

To enable Fast User Switching, go to Control Panel | User Accounts and select Change the way users log on or off. In the next screen, select Use Fast User Switching and click Apply Options. After that, you will be able to switch to another user context by pressing Winkey+L, or by clicking Start | Log Off | Switch Users.

One of the big downsides to Fast User Switching is that each time an additional user signs on in this fashion, it takes up a fair amount of memory -- typically about 10 MB per user. But that value can vary enormously if additional user(s) have, for instance, programs that load automatically at logon. For this reason, Fast User Switching works best on a machine with 256 MB of physical RAM or more. That said, if you're just using the alternate user context to install an application and nothing else, the memory demand should not be very high.

The most severe limitation of Fast User Switching for privilege elevation is that it will not work on a Windows XP Professional computer that has been joined to a domain. Neither will it work in environments where a third-party logon/identification product is being used, i.e., anything that replaces the MSGINA.DLL component (Microsoft Graphical Identification and Authentication DLL). (Novell Inc.'s ZENworks is a good example of such an environment.) In such cases, it's probably best to use a third-party product such as JoeWare's CPAU (Create Process As User) utility to safely run programs in an elevated context when needed.

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 -- and please share your thoughts as well!


More information from SearchWindowsSecurity.com

  • Tip: Lock down user access and privileges
  • Checklist: Lock down Joe User's administrator rights
  • Book Excerpt: Elevating privileges


  • Rate this Tip
    To rate tips, you must be a member of SearchEnterpriseDesktop.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Windows XP security issues, updates and alerts
    Correct improperly assigned user rights in Windows XP
    Process Explorer 10.2: Client security aid
    BIOS password hacking
    Microsoft security bulletins for May
    Fast Guide: Hardening Remote Desktop
    Securing Remote Desktop
    VNC variant provides remote control boost
    A Remote Desktop alternative sheds its drawbacks
    Step-by-step guide: Elevating privileges for an administrator
    Telecommuter security kit

    Windows desktop security tips
    Free security testing toolkit review: BackTrack 3
    Service level security in Windows Vista and Windows Server 2008
    User Account Control in Windows Vista: Blessing or curse?
    Workarounds for Windows Vista compatibility issues
    Cross-site scripting 101: XSS attacks plague Web browsers
    Universal password tool gets update in SuperGenPass
    Securing the Remote Desktop feature in Windows
    Tool helps clean an infected PC
    Tool updates Windows XP security settings

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    drive-by download  (SearchEnterpriseDesktop.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    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.

    HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts