We know that for the NTFS file system, you can assign a specified amount of disk space to each user, either locally or remotely telnet. If your system is set up with multiple accounts, it is necessary to use disk quotas, otherwise your hard disk space may be full, especially under Windows Vista. Here are some practical tips for manipulating disk quotas in Windows Vista:
Tip: To set disk quotas quickly
Disk quotas is simple, open disk properties, switch to the Quota tab, and check the "Enable quota management" and " Deny disk space to users exceeding the quota limit of two check boxes.
Click the Quota entry button in the lower-right corner. The Quota Entries window opens, clicks the New Quota Entry button on the toolbar, selects the Account in the pop-up dialog box where you want to allocate disk quotas, you can enter the account name manually, or you can find it, confirm the Add new quota entry dialog box to set disk space and warning levels (see Figure 1), you can view the disk quotas and space usage of the account after you return it, and you will only be able to use the disk quota assigned to it when you log on to the system.
Tip Two: Manage disk quotas using the fsutil command
In addition to viewing disk quotas through the Disk Properties window, we can also use the fsutil command to manage the disk configuration. Enter the command prompt environment, manually enter the "Fsutil quota query J:" command to see disk quotas for the J disk, as shown in Figure 2, you can see that the disk quotas shown here are displayed in bytes.
If you need to modify an existing disk quota, such as limiting the disk space on the LLH account to 900MB and setting the warning level to 800MB, you can do so in the following format, and the number of bytes can be calculated by opening the Calculator window: Fsutil Quota Modify j:943718400 838860800 LLH
Tip Three: Specify the same disk quota settings on multiple partitions
still open the Quota Entry window, follow the quota → export command, or execute the command from the right-click menu. After you specify the export path and file name in the dialog that pops up, later we can open the Quota Entry window in another partition, execute the quota → import command, and then quickly apply it by importing the previously exported quota settings file.
Tip Four: Quickly delete or move files for a specific user
Although the search feature for Windows Vista is already quite powerful, the feature does not search for a specific userA file owned on a partition that can be easily implemented with disk quotas.
For example, we need to delete or move the files owned by the LLH user on D disk. You can open the Quota Entry window, select the LLH user's configuration settings, right-click the Mail command, and then eject the disk quota window, where you can see all the files owned by that user, select the files, Delete or Move button, note that the Move button on the right will become available only after you specify the path to move the file to.