OneDrive File Issues

Why OneDrive Shows Different File Sizes or File Counts Than Windows

John WilsonJohn Wilson Oct 29, 2026 868 views

Question details

Users notice discrepancies in file sizes or file counts between Windows File Explorer and OneDrive after syncing or uploading large batches of files.

Why OneDrive Shows Different File Sizes or File Counts Than Windows
Product
Microsoft OneDrive
Device & OS
Windows
Scenario
Checking storage usage after a mass upload or folder synchronization.
Observed behavior
OneDrive and Windows report mismatched file counts or file sizes, sometimes showing OneDrive using significantly more space.
Before you start

Ensure your OneDrive synchronization is fully complete before comparing file sizes, as pending uploads can cause temporary discrepancies.

Solution 1Recommended

Generate and Compare Detailed File Lists

Use PowerShell and a spreadsheet tool to find exactly which files are missing or differently sized between your local drive and OneDrive.

When folders show mismatched file counts (e.g., 2,627 files locally vs. 2,601 files on OneDrive), generating a comprehensive file list from both locations helps identify the exact missing or unsynced files.

1
Install the OneDrive PowerShell Module

Open PowerShell as an administrator and run a command to install the OneDrive module from the PowerShell Gallery, which allows you to list OneDrive directories.

2
Export File Lists

Use PowerShell scripts to export the file list from your local Windows directory and your OneDrive directory, saving both outputs as CSV files.

3
Compare in a Spreadsheet

Open both CSV files in a spreadsheet application and use functions like VLOOKUP to cross-reference the two lists, immediately revealing the mismatched file counts or sizes.

Generate and Compare Detailed File Lists
PowerShell Access: The OneDrive PowerShell module provides commands for accessing both OneDrive Personal and OneDrive for Business.
Free Microsoft Office alternative

Easily Compare File Lists with WPS Office

Need to compare local and OneDrive file lists using CSVs? WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office. It offers a familiar interface and robust spreadsheet tools to easily analyze your data and find synchronization discrepancies.

  1. 1. Download WPS Office: Download and install WPS Office for free from the official website.
  2. 2. Open Exported CSVs: Launch WPS Spreadsheet and open your exported Windows and OneDrive file lists.
  3. 3. Analyze the Data: Use built-in data comparison tools or VLOOKUP formulas to quickly identify mismatched file sizes and counts.
Fully compatible with Microsoft Excel (.xlsx, .csv) formats for seamless file list comparison.Lightweight installation that doesn't consume excessive disk space on your PC.Built-in advanced formulas like VLOOKUP to easily spot missing files between OneDrive and Windows.Completely free to use with a familiar, easy-to-navigate tabbed interface.
microsoft office alternative - wps office

Frequently Asked Questions

Why does OneDrive say my storage is full after uploading files?

During mass uploads, OneDrive may create multiple backup versions of your files to prevent data loss. This Version History, along with items in the OneDrive Recycle Bin, can consume significantly more space than the original files. Deleting old versions and emptying the recycle bin resolves this.

What is the difference between 'Size' and 'Size on disk'?

'Size' refers to the actual byte count of the file, while 'Size on disk' refers to the physical space it occupies based on the file system's block allocation. For instance, a 1 KB file might take up a 4 KB block on a Windows drive due to formatting rules.

Can I use PowerShell to check my OneDrive files?

Yes, you can install the OneDrive module from the PowerShell Gallery. This module allows you to list directories, retrieve metadata, and export file lists from OneDrive to easily compare them with your local drive.

Why do my file counts differ between Windows and OneDrive?

File count differences usually occur if synchronization is paused or incomplete, or if certain hidden files, temporary system files, or unsupported file types are excluded from syncing to OneDrive.