How can Windows move a newly compressed file so fast across different disks

Abstract: Explains how Windows achieves fast transfers of compressed files by using real-time decompression and memory buffering to write uncompressed data at maximum disk throughput.

Created: 2026-10-14 by
Windows moves newly compressed files quickly across different disks primarily through the NTFS file system's built-in compression feature, which allows data to be stored in a compact format while remaining accessible via standard read operations. When you copy such a file to another volume, Windows performs real-time decompression on the source side and writes the uncompressed bytes to the destination. This process is optimized by the operating system’s I/O scheduler, which prioritizes sequential write operations and leverages CPU decompression instructions to minimize latency. The speed you observe is not magic but rather the result of efficient memory buffering and the fact that the destination disk receives raw, uncompressed data that can be written at its maximum sustained throughput without the overhead of additional compression algorithms during the transfer.

Understanding NTFS Compression Mechanics

To understand why this operation feels instantaneous compared to compressing a large archive from scratch, it is crucial to distinguish between file-level compression and block-level storage compression. NTFS supports transparent compression for individual files or entire directories. When a file is marked as compressed, the data is split into 4 KB clusters. If the data within those clusters reduces significantly in size, the file system stores the smaller version on the disk. However, the file still appears to applications with its original uncompressed size and content structure. When you initiate a copy operation from a compressed file on Disk A to an uncompressed location on Disk B, the File System Filter Driver intercepts the read request. It decompresses the clusters on the fly into system memory (the page cache) and then streams these uncompressed blocks to the write buffer for Disk B. Because modern CPUs have dedicated instruction sets for decompression tasks, this step is extremely fast. The bottleneck usually shifts to the write speed of the destination drive rather than the decomputation capability of the processor.

The Role of the Page Cache

A common misconception is that the pagefile.sys acts as a cache for new files. This is incorrect. The pagefile is used for virtual memory management, swapping out inactive physical memory pages to disk when RAM is full. For file transfers, Windows uses the standby list and the working set of physical RAM to cache file data. This memory-based caching allows the system to buffer incoming reads from the source and outgoing writes to the destination efficiently. By keeping frequently accessed clusters in RAM, Windows avoids repeated disk seeks, thereby accelerating the transfer rate significantly.

Optimizing Transfer Speeds

While NTFS handles the heavy lifting, several factors influence the perceived speed of moving compressed files. Understanding these variables helps in troubleshooting slow transfers or maximizing performance.
  • Disk Interface Bandwidth: If you are copying from an older HDD to a newer SSD, the speed will be limited by the HDD’s rotational latency and seek times. Conversely, copying from an NVMe SSD to a SATA SSD may show slower results if the SATA controller becomes saturated.
  • CPU Decompression Load: Although modern processors handle decompression easily, transferring many small, highly compressed files can spike CPU usage. In such cases, the system may throttle other processes to maintain I/O priority.
  • Fragmentation: Highly fragmented compressed files require more random reads from the source disk. Defragmenting the source volume can improve sequential read performance, leading to faster transfers.
For users dealing with massive data migrations, it is worth noting that standard copy-paste operations are robust but not always the fastest method for terabyte-scale transfers. Tools that bypass some of the standard shell overhead can sometimes yield better results, especially when dealing with millions of small files. You might find relevant insights in our guide on Can I copy paste 200GB+ from one disk to another in?, which discusses strategies for handling large volumes of data.

Common Misconceptions About Data Flow

It is important to correct the idea that compressed data travels across the bus in its compressed state. Network protocols like SMB do support some forms of compression, but local disk-to-disk copies over NTFS do not transmit compressed clusters. Instead, the data is fully expanded in memory before being written to the destination sector. This ensures compatibility; if the destination drive did not support NTFS compression, the file would still be usable because it arrives in a standard, uncompressed format. Another error is assuming that the "Compressed" attribute affects the file's metadata size. While the directory entry stores the compressed size, the actual data stream processed during I/O is uncompressed. This distinction explains why task managers often show high disk write activity even when the source file is small. The destination is receiving the full logical size of the file, not the reduced physical size stored on the source.

Impact of Antivirus Scanning

Real-time antivirus protection can significantly impact transfer speeds. Security software often scans every file as it is written to disk. Since the destination receives uncompressed data, the AV engine must scan the full logical size of the file. This adds a layer of processing overhead that can negate the benefits of fast decompression. Disabling real-time scanning temporarily during large bulk transfers can restore peak performance, though this should be done with caution in unsecured environments.

Alternative Approaches for Large Scale Moves

If you are moving vast amounts of compressed data regularly, consider using command-line tools like Robocopy. These utilities offer advanced options for multi-threaded copying and resuming interrupted transfers. They can also bypass certain shell extensions that may slow down the graphical user interface experience. Additionally, ensuring that your storage drivers are up to date can prevent bottlenecks caused by inefficient I/O queue management. For issues related to file accessibility after transfer, such as problems with specific file extensions, reviewing resources on Files do not open when they begin with . on Windows can help troubleshoot association errors that might arise post-transfer.

Frequently Asked Questions

Does copying a compressed file increase its size on the destination?

Yes, unless the destination drive also has NTFS compression enabled for that folder. The file is decompressed during the read phase and written as uncompressed data. Therefore, the final file size on the destination will match the original logical size of the file, not the reduced physical size on the source.

Why does my CPU usage spike during file transfers?

CPU usage spikes because the processor is actively decompressing data clusters from the source drive in real-time. Modern CPUs handle this efficiently, but transferring many small, highly compressed files requires frequent decompression cycles, which increases computational load compared to copying already uncompressed files.

Can I copy compressed files to a FAT32 USB drive?

You can copy them, but the compression attribute will be lost. FAT32 does not support NTFS-style file compression. The file will be transferred in its uncompressed form, consuming more space on the USB drive than the compressed version occupied on the source NTFS drive.

Is it faster to decompress files first and then copy them?

Generally, no. Doing so creates two separate I/O operations: one for decompression and another for writing. Combining these steps into a single copy operation allows the OS to pipeline the work, reducing overhead and utilizing memory buffers more effectively. This integrated approach is typically faster than manual pre-decompression.

How can I verify if a file is actually compressed on NTFS?

Right-click the file, select Properties, and click Advanced. If the checkbox for "Compress contents to save disk space" is checked, the file is compressed. Alternatively, use PowerShell cmdlets like Get-ItemProperty to check the Attributes property for the Compressed flag.

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