The Website Product Reviews, News, Tips, and Deals
  • Internet
  • Computing
  • Productivity
  • Services & Software
  • Entertainment
  • Mobile
Reading: How to Use the DiskUsage Command to Analyze Drive Space on Windows
Share
  • Subscribe US
Notification
The Website Product Reviews, News, Tips, and DealsThe Website Product Reviews, News, Tips, and Deals
Aa
Search
  • Home
  • Categories
  • Bookmarks
    • My Bookmarks
  • More Foxiz
    • Blog Index
    • Sitemap
Have an existing account? Sign In
Follow US
© Foxiz News Network. Ruby Design Company. All Rights Reserved.
The Website Product Reviews, News, Tips, and Deals > Blog > Computing > How to Use the DiskUsage Command to Analyze Drive Space on Windows
Computing

How to Use the DiskUsage Command to Analyze Drive Space on Windows

Anthony May Published January 20, 2023
Share
5 Min Read

DiskUsage.exe is a powerful tool on Windows 11 that allows you to analyze the contents of any drive or folder. Unlike GUI tools like Storage Sense, DiskUsage is accessed through the command line and offers a wide range of options for filtering and refining the file data that is generated. In many cases, this makes DiskUsage more valuable for in-depth analysis of disk space usage.

Contents
View the Usage of Disks on Any Drive or FolderCheck All Files Greater Than a Specific SizeOther DiskUsage Command OptionsAnalyze the space on your drive using DiskUsage

If you’re interested in utilizing DiskUsage.exe to gain insights into how your drives are being used and identify space-consuming files and folders, here’s a step-by-step guide to get you started.

View the Usage of Disks on Any Drive or Folder

The most straightforward way to utilize the DiskUsage command line tool is to gain an overview of the way space is utilized in every the folder or disk. The tool has been tested for a while on Windows 11, but it is also accessible in Windows 10.

  1. Use your Command Prompt as an admin. If you need assistance take a look at how to use your Command Prompt as an administrator.
  2. In the Command Prompt, enter DiskUsage followed by the address of your drive, or the folder that you want to study.
  3. For instance, to check the disk usage in the Pictures folder For example, to view the disk usage of the Pictures folder, type: DiskUsage C:\Users\UserName\Pictures and press Enter .
  4. To view SizeOnDisk’s SizeOnDisk Number in usable formatting, e.g. KB, millions, or GB, simply add the /h at the last line of command.
  5. In our example, it is what it looks like DiskUsage C:\Users\UserName\Pictures /h .

It is possible to use DiskUsage to examine any folder in the exact manner. You can also look at external and internal drives, such as the C drive. Be aware that analysing an external drive like C: will give you an extensive listing of folders and files within DiskUsage.

If DiskUsage.exe is too difficult You can quickly see the way disk space is utilized by storage Sense.

 

Check All Files Greater Than a Specific Size

You can modify the information that is displayed in DiskUsage by adjusting the size of the file. For instance, if you’re only looking to include files that are larger than 500MB, you can configure the program to exclude smaller files.

  1. For files to be included only if they exceed the specified size, you must include the minFileSize option in the command.
  2. As an example: DiskUsage /minFileSize=6553600 C:\Users\UseName\Downloads /h.
  3. This will only search for files that are larger than 50MB. Then, it will display the amount of disk space these files are taking up in the specified location.
  4. The file size must be in bytes, therefore you may need to convert MB into Byte with an online converter tool.

To see a more thorough overview of files with large sizes, which includes the file’s name and size, you can utilize to use the the /u option. This lets you list the biggest files within the folder or drive.

  1. To do this type: DiskUsage C:\Users\UserName\Downloads /h /u=15.
  2. The 15 most important files contained in the Downloads folder will be displayed in the Command Prompt.
  3. You can substitute the number by any other number you’d like to make use of. For instance, if you want to see the top five files that take up space, enter the /u=5.
  4. Be sure to add your option /h option to ensure that your output will be easily to understand.

Once you have identified what takes the most space, you can employ any of these ways to remove big files.

 

Other DiskUsage Command Options

The DiskUsage tool offers a number of other useful options you can employ to filter out the output. Filter by the name of the file or display reserved space or the directories with the most space within the folder.

For instance for filtering by filename, you can add the word installer at the last line of your command. This will show only files that have the word installer.

You can view a complete listing of alternatives by entering DiskUsage/? after which hitting the Enter key.

 

Analyze the space on your drive using DiskUsage

Many of the command line tools are very helpful in maintaining and managing the performance of your Windows PC. As this guide demonstrates, DiskUsage.exe is a powerful alternative to graphic UI tools like Storage Sense, if you’re looking to get into the way your storage space is utilized.

TAGGED: DiskUsage
Anthony May June 14, 2023 January 20, 2023
Share this Article
Facebook Twitter Email Copy Link Print
Leave a comment Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

newsletter featurednewsletter featured

Subscribe Newsletter

Subscribe to our newsletter to get our newest articles instantly!

Popular News

Using These 5 Free Apps, You Can Keep Up With What’s Streaming on TV
December 1, 2023
Apple TV:Find My Siri Remote Features in TVOS 17 Update
June 11, 2024
TickTick Tips: Boost Your Productivity with These Hidden Features
April 20, 2024
Why turning down sharpness can improve your TV’s picture quality
October 26, 2024
The Website Product Reviews, News, Tips, and Deals

Main

  • Internet
  • Computing
  • Productivity
  • Services & Software
  • Entertainment
  • Mobile

Quick Links

  • About Us
  • Contact Us
  • Privacy Policy

© 2023 ProWebLife . All Rights Reserved.

Welcome Back!

Sign in to your account

Lost your password?