Explain the secrets of operating disk quotas under Vista.

  

Disk quotas allow administrators to limit the amount of disk space that users can use. Each user can only use disk space within the maximum quota. So how do you operate disk quotas under Vista? This is a little trick. Today, Xiaobian will give you a detailed explanation of such unknown cheats. Let's learn together.

Tip 1: Use the Fsutil command to manage disk quotas

In addition to viewing disk quotas through the Disk Properties window, we can also use the Fsutil command to manage disk configurations. Enter the command prompt environment, manually enter the "Fsutil quota query J: & rdquo; command to view the disk quota of the J disk, as shown in Figure 2, you can see that the disk quota shown here is in bytes. to show.

If you need to modify the existing disk quota, for example, to limit the disk space of the llh account to 900MB and set the warning level to 800MB, you can operate in the following format, and the number of bytes can be opened. Calculator & rdquo; window to get the calculation: Fsutil quota modify J: 943718400 838860800 llh

Tip 2: Quickly set the disk quota

Disk quota operation is very simple, open the disk properties, switch to &ldquo "Quotas" tab, check the "Enable quota management" and "Reject disk space to users above the quota limit" checkbox.

Click the "Quota Item" button in the lower right corner, and the "Quota Item" window will open. Click the "New Quota Item" button on the toolbar to bring up the dialog box. In the box, select the account that needs to allocate the disk quota. You can enter the account name manually, or you can search for it. After confirming, set the disk space and warning level in the “Add New Quota Item” dialog box (see Figure 1). You can view the disk quota and space usage of the account. When the account is logged into the system, only the allocated disk quota will be used.

Tip 3: Specify the same disk quota setting on multiple partitions

Still open the quota entry window, execute the "quota →export” command in turn, or from the right-click menu This command, in the dialog box that pops up, specifies the export path and file name. Later, we can open the quota item window in other partitions, and then execute the "quota → import” command to import the quota setting file exported in advance. Can be applied quickly.

Tip 4: Quickly delete or move a specific user's file

Although Windows Vista's search function is quite powerful, this feature does not search for a specific user on a certain partition. The files that are owned can be easily implemented using disk quotas.

For example, we need to delete or move the files owned by the llh user on the D drive. You can open the quota item window, select the configuration settings of the llh user, right click and select the “Mail” command, which will pop up. Disk quota window, where you can see all the files owned by the user, select these files, select the “delete” or “move” button, and note that only the file is moved to “ After the path is specified, the "move" button on the right will become available.

I have learned a few practical tips for operating disk quotas under Windows Vista. This can prevent other users from working too much due to excessive use of disk space, which may affect the system operation and avoid the use of disk space. Loss of control can cause system crashes and improve system security.

Copyright © Windows knowledge All Rights Reserved