Expert Techniques for In-Depth Analysis: Harnessing the Power of DiskUsage on Windows
Expert Techniques for In-Depth Analysis: Harnessing the Power of DiskUsage on Windows
The DiskUsage.exe tool can be used to analyze the contents of any drive or folder on Windows 11. DiskUsage is accessed from the command line and includes many options for filtering and refining the file data that can be output. In certain situations, this can make it far more useful than GUI tools like Storage Sense.
Here’s how to start using DiskUsage.exe to view and analyze how the space in your drives is being used.
Disclaimer: This post includes affiliate links
If you click on a link and make a purchase, I may receive a commission at no extra cost to you.
View Disk Usage of Any Drive or Folder
The simplest way to use the DiskUsage command line tool is to get an overview of how space is currently used in almost a drive or folder. We have used the tool on Windows 11, but it is also available on Windows 10.
- Run the Command Prompt as an admin. If you need help, check out how to run the Command Prompt as an administrator .
- In Command Prompt type DiskUsage followed by the path to the drive or folder you want to analyze.
- For example, to view the disk usage of the Pictures folder, type: DiskUsage C:\Users\UserName\Pictures, and press Enter.
- To see the SizeOnDisk number in a human-readable format, e.g. KB, MB, or GB, add /h to the end of the command.
- In our example, this looks like DiskUsage C:\Users\UserName\Pictures /h.
You can use DiskUsage to analyze any folder in the same way. You can even check internal and external drives, including the C: drive. Bear in mind that analyzing a drive such as C: will spew out a huge list of files and folders in DiskUsage.
If using DiskUsage.exe seems too complicated, you can easily view how disk space is being used with Storage Sense .
List All Files Larger Than a Specified Size
You can refine the data displayed in DiskUsage based on file size. So if, for example, you only want to include files over 500MB, you can set it to ignore smaller files.
- To only include files above a specific size, you need to add the minFileSize option to the command.
- As an example: DiskUsage /minFileSize=6553600 C:\Users\UseName\Downloads /h.
- This will only look for files in Downloads larger than 50MB and then display the disk space those files occupy in that location.
- The file size number must be entered in bytes, so you might have to convert MB to Byte using an online conversion tool.
For a more detailed view of large files, including file name as well as size, you can use the /u command modifier. This allows you to list a defined number of the largest files in the drive or folder.
- To do this type: DiskUsage C:\Users\UserName\Downloads /h /u=15.
- The 15 largest files in the Downloads folder will now be listed in Command Prompt.
- You can replace the number with any other you want to use. For example, to see the top 5 files taking up space, use /u=5.
- Make sure to include the /h option so that the output is in a format that’s easy to read.
After identifying what is taking up the most space, you can use any one of these methods to delete large files .
Additional DiskUsage Command Options
The DiskUsage tool contains several other useful options that you can use to filter the output. You can filter by filename, display reserved space, or the largest directories within the folder.
For example, to filter by filename add /n=installer to the end of the command to display only files that contain the word installer.
You can see a complete list of the options by typing DiskUsage /? and pressing Enter.
Analyze Drive Space With DiskUsage
Many of the available command line tools are extremely useful for maintaining and managing your Windows PC. And as this guide shows, DiskUsage.exe is a powerful alternative to graphical UI tools such as Storage Sense if you want to really dig down into how your drive space is being used.
Here’s how to start using DiskUsage.exe to view and analyze how the space in your drives is being used.
Also read:
- [New] In 2024, Automate Your Snapshot Backup From Snapchat App
- [New] In 2024, Instagram's Time Constraints for Video Content Explored
- [New] In 2024, Streaming Showdown The Podcast Challenge to YouTube’s Dominance
- [Updated] Exclusive MOBA Selection for Android Gamers for 2024
- Achieve Your Fitness Goals Easier Using the Built-In GPS and Wellness Apps on Fitbit Versa 3
- ASUS ROG Ally Vs. Steam Deck: Comparative Analysis
- Clear Screens, Enhance Performance on Windows 11
- Efficient Video Compression Techniques: Boosting Your Website's Speed and Quality
- Extend Your iPhone's Lifespan: Effective Solutions for Boosting Battery Performance
- How to Reestablish Offline Steam Connection with Servers on PC
- Master Hardware: 4 Techniques for Opening the Disk Editor in Win11
- Step-by-Step Guide: Updating Your Windows 11 Hardware Drivers with Ease
- Steps to Enable Driver Verifier in Windows 11
- Streamlining Webcam Malfunction in Windows 11: Fixing Error 0xA00F4289
- Streamlining Your PC: The Process of Reverting with System Restore
- Techniques for Resolving Blue Screen Error: Interrupt Not Handled
- Unlocking the Power of Thumbnails Creating Visual Appeal for YouTube Content for 2024
- Win11 Fix: Unraveling Error 0X30017
- Windows Workspace Wizardry: Mastering Direct File Exchange in Clouds
- Title: Expert Techniques for In-Depth Analysis: Harnessing the Power of DiskUsage on Windows
- Author: Richard
- Created at : 2024-10-15 01:53:09
- Updated at : 2024-10-20 19:53:48
- Link: https://win11-tips.techidaily.com/expert-techniques-for-in-depth-analysis-harnessing-the-power-of-diskusage-on-windows/
- License: This work is licensed under CC BY-NC-SA 4.0.