Chapter 6: Sharing Your Computer with Multiple Users
Managing Multiple Users As an administrator or power user, you can keep track of who is logged on and who has programs running. You can also help users who have forgotten a password.
Managing Logged-In Users In Windows Me/9x, the term "Task Manager" referred to buttons on the taskbar for the program that were currently running as well as to a program could who you what programs were running. In Windows XP, the Windows Task Manager is a program that can show you the tasks that the computer is currently doing, which users are currently logged on, and more.
The two easiest ways to display the Task Manager are by pressing CTRL-ALT-DELETE and by right-clicking a blank place on the taskbar and choosing Task Manager from the menu that appears. You see the Task Manager, with tabs for Applications, Processes, Performance, Networking, and Users. To see who is using the computer, click the Users tab (see Figure 6-13).
Figure 6-13: The Task Manager's Users tab If you are an administrator, you see a list of the users who are logged on. (Other users just see an entry for themselves.) The user who is currently using the computer (you, presumably) has the status Active, while other logged-on users are Disconnected.
To switch to another user, click the currently active user and click Disconnect. To log a user out, click the user and click Logoff.
You can send a message to another logged-in user by selecting the user and clicking Send Message. When you see the Send Message dialog box, type the text of your message and click OK. The next time you switch to that user, the user sees a message box like this:
Unlocking a Locked-Out Account If someone tries to break into your computer, she may try guessing a user's password, entering a series of wrong passwords. You can tell Windows XP Professional to lock an account after someone has tried a specific number of wrong passwords (Windows XP Home Edition doesn't support this). This feature is called account lockout.
To tell Windows to lock out accounts if someone enters a series of wrong passwords, you can specify three security policy settings:
- Account Lockout Threshold How many wrong passwords causes Windows to lock out the account. Entering 0 turns off account lockout. To turn on account lockout, enter a number between 1 and 999 (we recommend 3).
- Account Lockout Duration How long the lockout lasts, in minutes. After the duration (usually 30 minutes), Windows automatically unlocks the account. You can enter a number from 1 to 99,999.
- Reset Account Lockout Counter After How long Windows waits after the last wrong password is entered before restarting the account lockout counter, in minutes (usually 30 minutes). After this amount of time, Windows starts counting at 1 again the next time someone starts entering wrong passwords. This must be shorter than or the same as the account lockout duration.
To turn account lockout on or off, follow these steps:
- Choose Start | Control Panel, click Performance And Maintenance, and run Administrative Tools. You see the Administrative Tools window.
- Run the Local Security Policy program (which doesn't come with Windows XP Home Edition). You see the Local Security Settings window.
- Open the Accounts Policies folder in the list at the left, and click the Account Lockout Policy folder. At the right, you see the three account lockout settings.
- To turn on account lockout, click Account Lockout Threshold and click the Properties button on the toolbar. Enter a number 1 or greater (try 3). Click OK.
- Windows lets you know that by turning on account lockout, you are also setting the other two settings to their default values. Account Lockout Duration and Reset Account Lockout Counter After are now both 30 minutes. Click OK.
- If you want to change the duration or reset time, click the setting and click Properties on the toolbar.
When someone has tried to log on with the wrong password too many times, Windows locks the account. An administrative or power user on Windows XP Professional can unlock the account before the Account Lockout Duration has passed. Follow these steps:
- Choose Start, right-click My Computer, and choose Manage from the menu that appears. You see the Computer Management window, as shown in Figure 6-2.
- Open the Local Users And Groups folder and the Users folder.
- Click a user account and click the Properties button on the toolbar. Or, right-click a user account and choose Properties from the menu that appears. You see the Properties dialog box for the user.
- On the General tab, if the user account is locked out, the Account Is Locked Out check box is selected. Clear the check box to enable the user to use this account again (and assign the person a new password!).
Setting Quotas for Disk Usage For NFTS drives and partitions, you can limit users' files to a specified amount of disk space. Follow these steps:
- In an Explorer window (choose Start | My Computer), find the drive or partition for which you want to set quotas.
- Right-click the drive or partition and choose Properties from the shortcut menu. You see the Properties dialog box for the drive or partition.
- Click the Quota tab, as shown in Figure 6-14. (The Quota tab doesn't appear for FAT32 and FAT drives.)
Figure 6-14: Enabling disk quotas
- Select the Enable Quota Management check box. If you don't want to let people exceed their quotas, select the Deny Disk Space To Users Exceeding Their Quota Limit check box (otherwise, Windows displays a warning, but still allows the file to be stored).
- Click the Limit Disk Space To xx radio button, and set the box to its right to the limit you want to set for new user accounts. Set the amount of space at which you want users to receive a warning, too. Be sure to change the right-hand box from KB to MB unless you are setting a very small limit.
- If you want Windows to create a system log entry each time a user goes over quota, select one or both of the check boxes at the bottom of the dialog box.
- To set limits for existing user accounts, click the Quota Entries button. You see the Quota Entries dialog box, shown in Figure 6-15. Widen the Name and Logon Name columns by dragging the column header dividers rightward, so you can read the user account names. Listed users who are under their quotas appear with "OK" in the Status column.
Figure 6-15: Setting disk quotas by user
- The Quota Entries dialog box includes an entry for the Administrators group account, with no limit. To set a limit for a user account, choose Quota | New Quota Entry from the menu bar, or click the New Quota Entry button on the toolbar. You see the Select Users dialog box:
- Type a user account name into the Enter Object Names To Select box and click OK. You see the Add New Quota Entry dialog box:
- Click the Limit Disk Space To xx radio button, and set the limit. Click OK.
- You can change the limits for existing quotas by selecting the entry in the list in the Quota Entries dialog box and clicking the Properties button on the toolbar (or by right-clicking the entry and choosing Properties from the menu that appears).
- When you are finished setting quotas, close the Quota Entries dialog box and the Properties dialog box for the drive or partition.
If you don't want to limit how much space people use, but you want to track space usage, quotas are still useful. Enable quotas, but don't choose to deny disk space to people who exceed their quotas. Select the check boxes that cause Windows to log whenever people exceed their quotas, and watch your log files. To see when people have exceeded their quotas, click Start, right-click My Computer, and choose Manage to open the Computer Management window. Click the plus box to the left of Event Viewer in the list of items to see the types of logs available, and click the System log.