How to Get Free Space Info of Unmounted NTFS Folders in Windows

Abstract: Retrieve free space for unmounted NTFS volumes by temporarily assigning a drive letter via mountvol and querying it with PowerShell Get-Volume.

Created: 2026-10-08 by

You can retrieve free space for unmounted NTFS volumes by mounting them to an empty drive letter via mountvol, querying the volume with PowerShell’s Get-Volume, and then dismounting it. This method bypasses Disk Management limitations and avoids third-party drivers, providing accurate free space metrics without permanently assigning a persistent drive letter.

The Limitation of Standard Tools

When administrators need to audit storage on drives that are not currently mounted in Windows Explorer, standard graphical tools often fall short. The Disk Management console (diskmgmt.msc) displays partition size and status but does not report file system usage statistics like free space or used space for volumes that lack a drive letter. Similarly, the older fsutil command requires the volume to be accessible via a drive letter, making it useless for truly unmounted partitions. Many users mistakenly attempt to use Get-Partition in PowerShell. However, this cmdlet returns low-level partition metadata such as Offset and Length, but it does not include logical file system properties like UsedSpace or FreeSpace. These attributes are only available at the volume level, which typically requires the volume to be assigned a drive letter to be queried effectively. Therefore, a temporary assignment strategy is necessary to bridge the gap between physical partition data and logical file system information.

Step-by-Step: Using Mountvol and PowerShell

The most reliable native approach involves temporarily attaching the unmounted volume to an unused drive letter, querying its properties, and then removing the assignment. This process ensures that you get the exact same data displayed in File Explorer, but programmatically. First, open PowerShell as an Administrator. You must have elevated privileges to mount and dismount volumes. Start by identifying the unique volume GUID of the unmounted NTFS partition. You can list all volumes, including those without drive letters, using the following command:
mountvol
Look for entries that do not have a drive letter associated with them. They will appear in the format \?\Volume{GUID}\. Note the specific GUID for the target volume. Next, assign a temporary drive letter. Choose a letter that is unlikely to conflict with existing network drives or mapped shares, such as Z:. Run the following command, replacing {GUID} with the actual identifier you noted:
mountvol Z: \?\Volume{GUID}\
Once the command executes successfully, the volume is now accessible via Z:. You can verify this by checking if dir Z: lists files or by opening File Explorer. Now, query the free space using PowerShell. Use the Get-Volume cmdlet targeted at the newly assigned drive letter:
$vol = Get-Volume -DriveLetter Z
$vol | Select-Object DriveLetter, FileSystemLabel, SizeRemaining, Size
The SizeRemaining property represents the free space in bytes. The Size property shows the total capacity. This data is accurate because the file system driver has fully initialized the volume during the mount process. Finally, clean up the temporary assignment to restore the original state. Run:
mountvol Z: /D
This dismounts the volume, removing the drive letter and returning the partition to its unmounted state.

Alternative: WMI Querying

If you prefer not to modify the system's drive letter assignments, you can use Windows Management Instrumentation (WMI). While Get-Volume is modern and preferred, WMI provides a legacy alternative that queries the Win32_Volume class directly. Run the following command in an administrative PowerShell session:
Get-WmiObject -Class Win32_Volume | Where-Object { $_.DriveLetter -eq $null } | Select-Object Name, Label, @{N='FreeSpace';E={$_.FreeSpace}}
This script filters for volumes where DriveLetter is null (unmounted) and retrieves the FreeSpace property. Note that FreeSpace in WMI is also reported in bytes. Be aware that some older WMI providers may return stale data if the volume was recently modified while unmounted, though this is rare on local disks. For most scenarios, the mountvol method is more robust because it forces the file system to refresh its metadata upon mounting.

Safety Considerations

Temporary mounting is a safe operation supported by the Windows kernel. It does not alter the partition table or change the boot configuration. However, always ensure you dismount the volume after your query. Leaving a volume mounted with a temporary letter can cause confusion during future disk management tasks or when running scripts that expect specific drive letter availability. For related tasks involving disk space management, you might find it useful to learn how to extend a C: drive when unallocated space is present, as detailed in our guide on Extend C: Drive Unallocated Volume Leaving 1GB for Recovery Partition using PowerShell. Additionally, understanding how to generate lists of files and folders can help you audit the contents of these volumes before deciding on further maintenance actions, as described in Automatically Generate List Files with Filename and Folder Names using Windows CMD or PowerShell.

Frequently Asked Questions

Can I check free space without any drive letter?

No native GUI tool in Windows displays free space for unmounted volumes. You must either temporarily assign a drive letter or use WMI commands that query the volume object directly. The mountvol method is generally more accurate than WMI for current real-time stats.

Is it safe to mount a volume just to check space?

Yes, it is completely safe. Mounting a volume simply makes it accessible to the operating system's file system driver. It does not write data to the disk unless you explicitly create or delete files. Always remember to dismount it afterward to maintain your desired disk configuration.

Why does Get-Partition not show free space?

Get-Partition operates at the block level, dealing with raw disk geometry and partition boundaries. Free space is a file system concept managed by the NTFS driver. Since the partition itself does not "know" about file allocation tables until the volume is mounted and interpreted by the OS, this data is unavailable through partition-level commands.

What if the volume is encrypted with BitLocker?

If the unmounted volume is encrypted with BitLocker, you must unlock it first using Unlock-BitLocker before you can mount it to a drive letter. Attempting to mount an encrypted volume without unlocking it will result in access denied errors or the volume appearing as RAW or inaccessible.

Does this work for external USB drives?

Yes, this method works for any NTFS volume recognized by Windows, including external hard drives, SSDs, and internal secondary drives. As long as the hardware is connected and detected by Device Manager, you can use mountvol to assign a letter and query its space.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More