fsutil: Control file system behavior, File specific commands, .... Volume management
The command: "fsutil" is on Windows 11, 10, .. available
The examples for the command "fsutil"
Some examples of using `fsutil`
Example 1: Get file system information:
fsutil fsinfo volumeinfo C:
This command outputs information about the file system on the C: drive, including the volume name, file system type, and other relevant details.
Example 2: Verify file system integrity:
fsutil volume queryfilesystem C:
You can use this command to check the integrity of the file system on the C: drive.
Example 3: Enable file system compression:
fsutil behavior set DisableCompression 0
Here file compression is activated on the system.
Example 4: Perform Disk Cleanup:
fsutil behavior set DisableDeleteNotify 0
This command enables disk cleanup by enabling notification deletion.
Example 5: Set file system quota:
fsutil quota modify C: 104857600
This command allows you to set the file system quota on the C: drive to 100 MB.
Please note that `fsutil`
has a comprehensive set of functions, and the examples above are just a small selection. You can type `fsutil`
at the command prompt without arguments to see the available options and subcommands.
"fsutil" Excerpt from Microsoft Windows Help
Microsoft Windows [Version 10.0.19045.3693]
(c) Copyright 1985-2023 Microsoft Corp.
/? is an invalid parameter.
---- Commands Supported ----
behavior Control file system behavior
dirty Manage volume dirty bit
file File specific commands
fsinfo File system information
hardlink Hardlink management
objectid Object ID management
quota Quota management
reparsepoint Reparse point management
sparse Sparse file control
usn USN management
volume Volume management
Important information, tips for the "fsutil" command
Yes, there are some important points you should pay attention to when using `fsutil`
in the Windows Command Prompt:
1. Admin rights:
Make sure you open Command Prompt with administrator privileges to run `fsutil`
. Some features require elevated privileges.
2. Syntax and Help:
Check the exact syntax of the `fsutil`
command you want to use. You can type `fsutil`
without arguments to see a list of available options and subcommands.
3. Understand how it works:
provides various functions for the file system, it is important to understand the effects of each command before executing them. This is especially true for commands that make changes to the file system, such as disk cleanup or file system compression.
4. Create backup:
Before running commands that affect the file system, back up important data. This provides a safety measure in case something goes wrong.
5. Check storage space:
Make sure there is enough free space on the drive where you want to run `fsutil`
. Certain commands, such as Disk Cleanup, can free up disk space.
6. Security Software:
Some security software may consider certain `fsutil`
commands to be potentially harmful. Check your security software configuration to make sure it is not blocking legitimate `fsutil`
7. Create system restore point:
Before making any deep changes with `fsutil`
, create a system restore point. This allows you to reset the system to a previous state if something goes wrong.
8. Check documentation:
Consult official Microsoft documentation or other trusted resources for specific details about each `fsutil`
By considering these points, you can use `fsutil`
safely and effectively.