Repository navigation
Compact Compression
Compact Compression applies NTFS compression to a folder or a whole local drive, tracks targets for later recompression, and can schedule independent recompression through Windows Task Scheduler.

Compact Compression. Choose a folder or drive, select a method, then compress, decompress, or add the target to the tracked list.
NTFS compression trades CPU time for disk space. It is most useful for:
- Large, mostly read-only folders such as game assets, archives, logs, or reference data.
- Small system drives where a few gigabytes matter.
- Folders that are written once and read often.
It is a poor fit for:
- Files that change constantly, such as databases, virtual machine disks, or active project files.
- Already-compressed formats such as JPEG, PNG, MP4, ZIP, 7z, or modern game archives.
- Folders on non-NTFS volumes, network shares, or removable media formatted with another file system.
- Systems that are already CPU-bound.
Compression is not encryption. Anyone who can read the files can still read them.
- The target must be on a local NTFS volume.
- Reparse points are skipped, so junctions and symlinks are not followed.
- Compressing a whole drive can take a long time and temporarily increases CPU and disk load.
- Files modified by installers, game updates, or patches may lose compression; tracked targets can be recompressed automatically.
- The tool uses Windows' built-in
compact.exe; it does not create archives or change file contents. - Administrator rights are required.
Choose one of two target types:
| Target | Behavior |
|---|---|
| Folder | Compress or decompress one folder tree. Use Browse... to pick it |
| Whole drive | Compress or decompress an entire local NTFS drive selected from the drive list |
Only fixed local volumes appear in the drive list. Network drives and non-NTFS volumes are not supported.
| Method | Description | Typical use |
|---|---|---|
| Standard NTFS | The normal NTFS compression setting | General-purpose folder compression |
| XPRESS4K - fastest | Smallest compression unit, fastest to read/write | Frequently accessed data on slow CPUs |
| XPRESS8K - balanced | Default; good balance of speed and size | Most folders |
| XPRESS16K - higher compression | Larger blocks, better ratio, more CPU | Mostly read-only data |
| LZX - highest compression | Best ratio, slowest and most CPU-intensive | Archives and rarely accessed data |
XPRESS8K is selected by default. LZX favors maximum savings on mostly read-only data.
Skip poorly-compressed formats lets you exclude extensions that are already compressed. The extension list is editable. When enabled, matching files are left alone, which saves time and avoids wasting CPU on files that will not shrink.
Typical entries include images, video, audio, archives, and game package formats. Add or remove extensions to match your data.
- Pick Folder or Whole drive and set the target.
- Choose a compression method.
- Optionally enable Skip poorly-compressed formats and review the extension list.
- Click Compress or Decompress.
- Confirm the operation and watch the progress/status text.
Compression runs with compact.exe against the selected target. Decompression removes the compression flag and restores normal file storage. Neither action deletes files.
A whole-drive operation can run for hours. Do not close WMT or shut down while it is running.
The lower half of the window is the tracked-target list. Tracking is what makes scheduled recompression possible.
| Column | Meaning |
|---|---|
| Target | Folder or drive path |
| Method | Compression method stored for the target |
| Skip | Whether poorly-compressed extensions are skipped |
| Auto | Whether the target is included in automatic runs |
| Needs | Whether a recompression appears necessary |
| State | Current tracker state |
| Last compressed | Timestamp of the last successful compression |
| Last analyzed | Timestamp of the last analysis |
| Result | Outcome of the last run |
| Button | Action |
|---|---|
| Refresh | Reloads the tracker list and state |
| Analyze Selected | Checks the selected target for files created or modified since the last compression |
| Toggle Auto | Includes or excludes the selected target from automatic runs |
| Recompress Selected | Recompresses the selected target now |
| Run Auto Now | Runs the automatic pass immediately for all auto-enabled targets |
| Remove | Removes the selected target from the tracker; files stay compressed |
| Track current target | Adds the current folder/drive and method to the tracker |
Automatic runs:
- Check for files created or modified since the last successful compression.
- Ignore configured poorly-compressed extensions.
- Invoke
compact.exeonly when recompression is needed.
The tracker stores state in ProgramData\WindowsMaintenanceTool\compact-tracker.json. The generated worker script and logs are secured in the same folder so the SYSTEM task can use them.
The AUTO RECOMPRESS row controls the scheduled task:
| Schedule | Meaning |
|---|---|
| Off | No scheduled recompression |
| When idle (10 min) | Runs after the system has been idle for about 10 minutes |
| At logon | Runs when a user logs on |
| Daily at 3:00 AM | Runs once a day |
| Weekly Sunday 3:00 AM | Runs once a week |
| Custom interval | Runs every 1 to 1439 minutes |
Choose a schedule, enter a custom interval if needed, and click Apply. The status text shows whether the task was created or updated.
The schedule is a standalone Windows Scheduled Task named Windows Maintenance Tool - Compact Recompress that runs as SYSTEM. It continues to work after WMT is closed, and WMT does not need to remain open or in the tray. Because the task runs as SYSTEM, it can compress targets that a standard user cannot modify.
Turning the schedule to Off removes or disables the task. It does not decompress anything.
- Start with one folder and XPRESS8K, then compare free space and application performance.
- Do not compress the Windows folder,
System32, or active program directories unless you have a specific reason. - Do not compress virtual machine disks, database files, or Outlook data files; they perform poorly under heavy write patterns.
- Keep Skip poorly-compressed formats enabled for mixed data.
- Use Analyze Selected before a large recompression to see whether anything actually changed.
- Decompress a folder before troubleshooting unexplained application errors or slow file access.