Skip to content

How to Turn On or Off Compact OS in Windows 11

Richard
Written by
Richard
Mar 12, 2026 Updated Mar 28, 2026 3 min read
How to Turn On or Off Compact OS in Windows 11

Compact OS is a Windows feature that compresses your system files, freeing up storage space. This is especially helpful on devices with limited space, like many Windows 11 laptops, particularly those with Solid State Drives (SSDs).

You can enable or disable Compact OS to optimize disk usage. This feature is particularly beneficial for improving performance on Solid State Drives (SSDs).

This tutorial will walk you through checking its current status, turning on Compact OS to free up space, or turning it off if that’s what you need.

⚡ Quick Answer

You can turn Compact OS on or off using Windows Terminal with administrator privileges. Run the command compact /compactos:always to enable it or compact /compactos:never to disable it. Check the current status with compact /compactos:query.

What is Compact OS?

Compact OS squeezes your Windows system files smaller. Think of it like vacuum-sealing your clothes to free up closet space. When you turn it on, Windows keeps your files compressed and continues to save space as it updates them over time.

Important Things to Know

  • Admin privileges required — You must be logged in as an administrator to make these changes.
  • This process takes time — Windows needs a few minutes to compress or uncompress your files, so be patient.

Step 1Check if Compact OS is On or Off

Before you make any changes, it’s smart to see if Compact OS is already running on your Windows 11 computer. Knowing its current status helps you decide if you need to turn it on or off to save disk space.

What happens: A message will appear telling you if Compact OS is on or off.

  1. Click the Start button.
  2. Type Windows Terminal.
  3. Right-click it and choose Run as administrator. ⚠️ Admin privileges required
  4. In the window that opens, copy and paste this command, then press Enter:

    compact /compactos:query
  5. Read the message:
    • If it says “Compact OS is enabled.” — it’s turned on.
    • If it says “Compact OS is disabled.” — it’s turned off.
  6. Close Windows Terminal when done.
Windows Terminal showing Compact OS status query command result

Step 2How to Turn On Compact OS

If you want to free up more storage space on your Windows 11 PC, turning on Compact OS is a great way to do it. This process will compress your system files, making them smaller and saving you gigabytes of disk room.

What happens: Windows will compress your system files, which takes some time.

  1. Open Windows Terminal as an administrator (follow Step 1 above). ⚠️ Admin privileges required
  2. Copy and paste this command, then press Enter:

    compact /compactos:always
  3. Wait while Windows compresses your files. This may take several minutes.
  4. Close the window when finished.

Step 3How to Turn Off Compact OS

Sometimes you might need to turn off Compact OS, perhaps if you notice performance issues or simply want your files back to their original size. This guide shows you the simple steps to uncompress your Windows system files.

What happens: Windows will uncompress your files back to their normal size, which also takes time.

  1. Open Windows Terminal as an administrator. ⚠️ Admin privileges required
  2. Copy and paste this command, then press Enter:

    compact /compactos:never
  3. Wait while Windows uncompresses the files. This can take several minutes.
  4. Close the window when done.

Summary

  • You must have administrator access to use Compact OS.
  • Compact OS saves disk space by squeezing Windows system files smaller.
  • Use these simple commands in Windows Terminal:
    • Check status: compact /compactos:query
    • Turn on : compact /compactos:always
    • Turn off : compact /compactos:never
  • Be patient — compressing or uncompressing files takes time.
  • Always check the status after running a command to make sure it worked.

To manage Compact OS on Windows 11, you’ll need administrator rights. This feature helps save disk space by shrinking your system files, and you can easily check its status, turn it on, or turn it off using simple commands in Windows Terminal.

What is a Windows compact OS?

Compact OS is a built-in Windows feature that compresses system files. This reduces the overall size of your Windows installation and frees up disk space, all without removing any components or apps.

What is the 🪟 Windows 7 Compact OS?

Windows Embedded Compact 7 is a real-time OS, separate from the Windows NT line, and is designed to target enterprise-specific tools such as industrial controllers and consumer electronics devices such as digital cameras, GPS systems and also automotive infotainment systems.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *

Exit mobile version