<p>Microsoft has just added a new DiskUsage tool to its Windows 10 v21277 build.</p>
<p><img class="alignnone size-full wp-image-2938" src="https://www.wincert.net/wp-content/uploads/2019/01/hard-disk-drive.jpg" alt="7GB of disk space" width="640" height="426" /></p>
<p>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.</p>
<p>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 <a href="https://www.jam-software.com/treesize_free" target="_blank" rel="noopener">TreeSize</a> had to be used.</p>
<p>The new DiskUsage app will be located in the <strong>C:\Windows\System32</strong> folder and will be available from the Command Prompt or a Powershell window.</p>
<p>Here&#8217;s an example of how to use the new DiskUsage tool in Windows 10 to check for large files.</p>
<p>Open <strong>CMD (command prompt)</strong> in elevated mode <strong>(Run as administrator)</strong></p>
<p>Type the following command:</p>
<p><strong>diskusage /minFileSize=1073741824 /H C:\Windows</strong></p>
<p>This command will give you the list of the files located in the <strong>C:\Windows folder</strong> and all of its <strong>subfolders that are larger than 1GB</strong>.</p>
<p>For now, the <strong>/minFileSize</strong> switch value should be used in bytes, but hopefully, this will change in the future and give us more options.</p>
<p>To get the full list of DiskUsage commands type diskusage /? in the command prompt.</p>
<p>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.</p>