Use Windows 2000/XP Dual system users, in the daily work is best not to log in as a member of the Administrators group, usually should use the ordinary users (Users group member) identity login system, because the Users group account can not modify system registry settings, operating system files or program files, Therefore, the virus, Trojan has innate immune function! However, users cannot use applications that can only be executed by system administrators.
What if you want to use all the features? Use the "User Switching" feature. Let's take Windows XP for example to see how to use the Fast User Switching feature.
Fast User Switching
Use the Fast User Switching feature to run the application as an administrator directly in the current user environment!
Let's say that we are now in the normal user environment and would like to configure Norton Personal Security's trusting domain. However, because the current user's "Face (ie permissions)" is not big enough, the firewall configuration program refused to execute. We're here to sacrifice Fast User Switching this "precious DAO": Open "start → All programs →norton Internet Security", right-click the "Norton Internet Security" menu item, select the "Run as" menu item, the program will open the run identity dialog box, click the following user radio box, and then select an administrator account in the User Name Drop-down list box and enter the appropriate account password in the Password text box. Finally, click the OK button. Next, the system will be the administrator to run the Norton Personal Security Agent configuration program!
Ii. use of the "Logout" menu method
The most common way to switch users is through the Logout menu to access the user Switching function. Click start → logout, and in the Logout Windows dialog box that opens, click the Toggle User button, and the system retains the current session state. On the surface, this is no different from logging off the user, but using the toggle user method to keep the original user account open session (for example, you are downloading the software, the download task will continue after the user switches.) If you use logoff, the software download task will be forcibly closed.
Third, use the runas command
The Linux/unix system has an SU command that allows users to "face" freely between superuser and ordinary users. Now Windows 2000/XP has a similar command?? runas command. runas is a DOS command that runs only in Windows 2000/xp's DOS command window, allowing users to run specified tools and programs with other permissions, rather than when
The permissions provided by the pre-logon user account. The syntax is as follows:
Runas [{/profile|/noprofile}] [/env] [/netonly] [/showtrustlevels] [/trustlevel]/user:useraccountname Program
The functions of each parameter are as follows:
/profile: Load user profile, is the default parameter of the runas command.
/no profile: Does not load user profiles, which can increase application loading speed, although some applications need to read a specific user's profile, it is not recommended to use this parameter.
/ENV: Specifies the network environment currently in use, not the user's local environment.
/netonly: Indicates that the specified user information is used for remote access only.
/showtrustlevels: Lists/trustlevel switch items.
/trustlevel: Specifies the authorization level at which the application runs.
/user:useraccountname: Specifies the name of the user account under which the program is run. For stand-alone users, you can use the following format:
/user:username@computername
or/user:computernamesername
The username should be replaced with a specific user account, ComputerName refers to the computer name.
For users of a domain or workgroup, you can use the following format:
/user:usernme@domainname (Workgroupname)
or/user:domainname (workgroupname) sername
DomainName (Workgroupname) here refers to the domain name (or the name of the workgroup) where the computer is located.
Program: Specifies the programs or commands that you want to run. You can use the RunAs command to start any application, MMC console project, or Control Panel project. Note here that not all items can be started with runas, such as the Printers folder and desktop items.
Iv. Summary
The above three kinds of user switching methods are different. The Logout menu method is the most cumbersome, but also the most thorough method, while using the Run As dialog box and the runas command, although easy to use, but not all tasks can be done, such as setting up folder sharing.