Another new feature in Windows 2000 is the ability to track and, optionally, limit each user's disk space on NTFS volumes. While this is probably most useful on a server that everyone on a network uses for shared storage, you might find it useful even on a single workstation that several people share.
NOTE
To set disk quotas, you must be logged on as a member of the Administrators group.
To enable disk quotas:
When you enable quotas on a system that has existing files, Windows calculates the disk space used by each user who has created, copied, or taken ownership of the existing files. The default quota limits and warning levels are then applied to all current users and to any new user who saves a file. To view and modify the quota entries, open the disk's properties dialog box, click the Quota tab, and click Quota Entries. The Quota Entries window opens, as shown in Figure 28-5.
Figure 28-5. In Quota Entries, you can review disk usage and impose limits by user.
NOTE
You must click OK or Apply in the disk's properties dialog box before you click Quota Entries the first time. Until you do that, the Quota Entries window shows 0 bytes as the amount used.
For each user, Quota Entries displays:
To change a user's limits, double-click his or her entry. A dialog box appears that offers choices for this user similar to the choices offered on the Quota tab for all new users.
To specify limits for a user who doesn't yet have an entry, open the Quota Entries window, and then choose New Quota Entry from the Quota menu. A Select Users dialog box appears, in which you can select the local user accounts or domain user accounts to which you'd like to apply limits. After you select one or more user accounts, specify the limits you want to impose in the Add New Quota Entry dialog box that appears.
If a user no longer has files on your NTFS volume, you can delete the user's quota entry by right-clicking it and choosing Delete. Because Windows insists on tracking all files if you enable disk quotas, you can't delete an entry for a user who has files on the disk.
But you can use the Delete command to find out exactly which files belong to a user and then, if you do want to delete the quota entry, you can delete, take ownership of, or move the user's files. (See Figure 28-6.) Select the files you want to act on and then click Delete, Take Ownership, or Move. When you've eliminated all of the user's files in one way or another, click Close to finish deleting the quota entry for the user.
Figure 28-6. Deleting a user's quota entry lets you see exactly which files a user owns.