Contig can analyze and defragment critical NTFS system files like the Master File Table ($Mft) and the boot file.
Runs in mode, showing detailed status during the process. contig -q filename Runs in Quiet mode for minimal output. Download and Installation
Contig is available as a standalone download or as part of the broader . Standalone Download: Contig 1.83 (Microsoft Learn) contig sysinternals download
The tool is a single, portable .exe file (~367 KB) that requires no installation. How to Use Contig
Contig is a command-line tool. To use it, open a Command Prompt (often as an Administrator) and use the following syntax: Description contig filename Defragments the specified file. contig -a filename Analyzes a file and reports how many fragments it has. contig -s c:\folder\* Recursively defragments all files in a folder. contig -v filename Contig can analyze and defragment critical NTFS system
Sysinternals Suite (includes 70+ utilities like Process Explorer and Autoruns)
Contig is a specialized defragmenter designed to make files —meaning all pieces of a file are placed in one continuous sequence on the physical disk. While standard Windows tools defragment entire partitions, Contig gives you granular control to target specific, high-performance files like databases, virtual machine disks, or frequently used applications. Key Features and Benefits Download and Installation Contig is available as a
It is generally not recommended to defragment Solid State Drives (SSDs), as they do not suffer from mechanical seek times and defragmenting can lead to unnecessary wear. Contig - Sysinternals - Microsoft Learn