Last Updated on April 22, 2024

The primary objective of this article is to teach you how to check your hard drive usage on Windows 10 using CMD. Additionally, it presents an easier and better method to examine disk space on Windows 10. Refer to the table below for more information:

Features

AOMEI Partition Assistant Free

CMD

Calculate the size of hidden space Supported Not supported
Find duplicate files Supported Not supported
Delete files directly Supported Not supported
Display percentage of used space Supported Not supported
Free or Paid Free Free

What is taking up space on my hard drive? Your hard drive can be filled up with all sorts of things. The most common are files that you've downloaded from the internet or received through email attachments, like videos, photos, music files, and documents. Another common source of large files are applications that are installed on your computer, such as Microsoft Office, Photoshop, and games. Lastly, temporary files that are created when you use programs or visit websites can also take up space on your hard drive. Read on to learn how to use CMD to check your disk usage.

How to Check Disk Space in Windows 10 Using CMD

The "Command Prompt" is an interpreter application that directs most Windows operating systems to perform various tasks through different command lines. The Command Prompt is called the Windows Command Processor, but it's more commonly known as CMD. Before you check your disk space using CMD, read through the following to see if this method is right for you:

Tips:

1. The Command Prompt lists a large amount of hard drive space in MB, which can be unclear when measured in GB or TB.

2. You need admin permissions to use the Command Prompt to check disk usage.

3. The method to use CMD to check total hard drive size is recommended only for advanced users. Beginners should opt for an alternative to the Command Prompt.

Alright, if you're an experienced user, please follow this guide to proceed:

Step 1: Search for “Command Prompt” on your Windows 10 computer.

Step 2: Select “Command Prompt,” and then click “Run as administrator.”

Step 3. Type wmic diskdrive get size, and press Enter.

CMD command to check disk space

Note: This check reports disk space in MB. Keep in mind that 1 GB equals 1024 MB. Convert your numbers accordingly if you need to express them in GB.

Checking disk space with CMD can be difficult, so if you're not an experienced user, it's best to opt for a reliable free disk space analyzer. Here are the benefits of using a third-party tool to check your disk space:

✅ It will show clear results.

✅Locate and delete large files with one click.

✅ Easier to use, with no commands required.

Check out the best CMD alternatives for checking disk space. Click the link below to learn how to get disk space using PowerShell.

You may also like to read: Get Disk Space Using PowerShell

Best CMD Alternatives to Check Disk Space – Partition Master Free

The best way to check total disk space on Windows 10 is by using a professional disk space analyzer - tools Partition Master Free. Apart from providing disk space info, it shows the used and free space on the disk. It gives the percentage of each file on the disk, and after analyzing disk space, you can use it to perform other operations like deleting and cleaning up large files, etc.

Download this powerful tool for free:

Step 1: Launch Partition Master and go to "Discover". Download the "Space Analyzer" under "Popular Tools".

Download Space Analyzer

Step 2: In the Disk Analyzer window, select the target disk to analyze and click the Analyze button in the top-right corner.

Click Analyze to start the process.

Step 3: Wait for a moment, and you will see the detailed data. Click on File/Folder to view different types of data, and click the small folder icon to view more information inside the file.

View detailed data

When your disk space is running low, you can try the following methods to free up hard drive space:

    • Extend the disk partition
    • Delete unnecessary files and programs
    • Empty the Recycle Bin on the desktop
    • Enable Storage Sense feature

AOMEI Partition Assistant is an all-inclusive disk space management tool that offers numerous additional features to help enhance your hard drive performance and maximize available space. Click on the link below for a detailed overview of its features:

The bottom line?

This article offers two effective methods to help you analyze the disk space on Windows 10. The command line can only check the total space, not showing the specific usage of the disk. If you want to check the disk usage including the hidden space, Partition Master Free can provide a faster and more accurate check result.

This tool can also free up disk space by adjusting partitions, shrinking or expanding partitions, cleaning files, and more to solve the issue of low disk space. If you want to check the storage and usage of your computer hard drive, download it for assistance!

Frequently Asked Questions on Checking Windows 10 Disk Space Using CMD 1. **How do I check disk space using CMD?** In the Command Prompt, type `diskpart` and press Enter. Then input `list disk` to view all disks. Select the one you want to check (e.g., `select disk 0`) and enter `detail volume` to see volume information, which includes available space. 2. **What does the "chkdsk" command do?** `chkdsk` is a command used to check and fix hard disk errors. Run it with `chkdsk /f` to repair any issues found. If you want to check disk space instead of repairing errors, directly viewing volume information is more appropriate. 3. **How do I check the disk space of a specific drive?** In CMD, type `dir C:` (replace "C:" with the drive letter you want to check) to view the total size, used space, and available space on that drive. 4. **How do I free up disk space?** Use the `cleanmgr` command to open the Disk Cleanup tool. Type `cleanmgr /sageset:1` in CMD, which will open a dialog box where you can choose to delete temporary files and other unnecessary items. 5. **How do I remove unused language packs to save space?** Enter `DISM /online /Cleanup-Image /Spuninst /PackageName:` replacing `` with the name of the language pack. First, use `DISM /online /Get-Packages` to find the package name. 6. **What can the "fsutil" command be used for?** The `fsutil` command provides a range of file system utilities, such as querying file attributes, managing NTFS junction points, or calculating folder size. For example, `fsutil fsinfo drives` lists all drives, while `fsutil directory querysize ` checks the size of a specified folder. 7. **How do I check disk space using PowerShell?** In PowerShell, type `Get-PSDrive` to view all drives and their available and total space. Alternatively, use `Get-ChildItem -Path C:\ -Recurse | Measure-Object -Property Length -Sum` (replace "C:\" with the drive you want to check) to calculate the total size of a specific directory. Choose the appropriate command based on your requirements.

If you're not very experienced with using computers, CMD can be a bit tricky to work with. As such, when checking disk space on Windows 11/10, you might want to know the answers to the following common questions:

1. You can use the `wmic diskdrive get size` command to display the size of the disk space, but the default unit is bytes. To convert it to GB, you need to perform a calculation. Since 1 GB equals 1,073,741,824 bytes, you would divide the output by this number. For example, you can use the following PowerShell command: ```powershell wmic diskdrive get size | ConvertFrom-StringData | ForEach-Object {($_.Size / 1GB).ToString("N2") + " GB"} ``` This will output the disk size in GB and retain two decimal places. Note that this command might need to be run in PowerShell rather than the cmd prompt.

No, you can use the command "wmic diskdrive get size" in CMD to check the total disk space. However, CMD will display the total disk space as a large number in MB. Therefore, you would need to convert MB to GB manually.

What is the command to check disk space in Windows using PowerShell?

To check disk space in Windows, you can use PowerShell and enter various commands. Here are a few common ones: 1. Open PowerShell: Press `Win + X` keys together, then select `Windows PowerShell` (or search for `PowerShell` in the search bar). 2. Input one of the following commands to view the total space and used space on all disks: ```powershell Get-PSDrive -FileSystem | Format-Table Name, Used, Free, @{Name="PercentFree"; Expression={($_.Free / $_.Used) * 100}} ``` 3. If you want to view specific drive details, for example, the C drive, use this command: ```powershell Get-Partition -DriveLetter C | Format-List Size, Used, SizeRemaining ``` 4. Alternatively, use a simpler command to view available space on the C drive: ```powershell Get-CimInstance -ClassName Win32_LogicalDisk -Filter "DeviceID='C:'" | Select-Object DeviceID, FreeSpace, Size ``` These commands will display detailed information about the disks, including total size, used space, remaining space, and the percentage of free space.

    • List all drives and their space allocation: Get-Volume
    • Show available disk space on all drives: Get-PSDrive

However, PowerShell is not beginner-friendly, so if you're new to computers, turn to the Partition Master tool instead. Its “Disk Space Analyzer” feature shows all used and available disk space. After analyzing your disk space, you can use this tool to delete, extend, or shrink the target drive.

How do I check SSD storage in CMD?

SSDs (Solid State Drives) often have limited storage capacity, so it's crucial to monitor their disk space. There are several ways to obtain storage information about an SSD. For instance, you can use the Command Prompt (CMD) to check the total disk space on an SSD:

Step 1. Open the Command Prompt as an administrator.

Step 2. Type the command in the CMD prompt:

The Chinese translation for "wmic diskdrive get size" is: "Use the WMIC command to query the size of hard disk drives."

But if you want to analyze disk usage in more detail, you can turn to a reliable third-party disk-space analyzer.