Microsoft adds DiskUsage tool to Windows 10 build 21277
Microsoft has just added a new DiskUsage tool to its Windows 10 v21277 build.
DiskUsage tool is a console application that will help users to perform a wide range of analysis and also show advanced details for storage devices in a computer.
Up to now, if you wanted to check your storage for the largest files or directories in order to free up some disk space, third-party apps like TreeSize had to be used.
The new DiskUsage app will be located in the C:\Windows\System32 folder and will be available from the Command Prompt or a Powershell window.
Here’s an example of how to use the new DiskUsage tool in Windows 10 to check for large files.
Open CMD (command prompt) in elevated mode (Run as administrator)
Type the following command:
diskusage /minFileSize=1073741824 /H C:\Windows
This command will give you the list of the files located in the C:\Windows folder and all of its subfolders that are larger than 1GB.
For now, the /minFileSize switch value should be used in bytes, but hopefully, this will change in the future and give us more options.
To get the full list of DiskUsage commands type diskusage /? in the command prompt.
If you are testing the Windows 10 Build 21277 you should be aware that the DiskUsage tool is a work in progress and therefore not work properly at this point.