Windows

How to Enable or Disable Memory Compression in Windows 11

Richard
Written by
Richard
Dec 26, 2021 Updated Apr 15, 2026 2 min read

This guide explains how to turn memory compression on or off in Windows 11. Memory compression makes your computer store data in a smaller, squashed format within your RAM.

Why use memory compression?

Windows 11 uses this feature to make your computer run faster. By shrinking data, your computer does not need to move information to your hard drive as often. This keeps more apps open at once without slowing you down.

What happens when done?

When you enable this, your computer uses less physical RAM. If you disable it, your computer will stop compressing data, which might free up your processor but could cause your system to use more disk space for temporary tasks.

How to check your current status

You can check if memory compression is working by opening the Task Manager Task Manager. Look under the Performance tab and click on the Memory section to see how much is compressed.

Windows 11 settings menu for managing system memory compression features

You can also check the status using PowerShell. Open the Windows Terminal as administrator Windows Terminal and type this command:

PowerShell
Get-MMAgent
Task Manager showing memory compression enabled on Windows 11 system

How to enable memory compression

Note: This step requires admin privileges.

If the status shows as False, you can turn it on. Open Windows Terminal as administrator and make sure you are in the PowerShell tab. Run the following command:

💻Code
Enable-MMAgent -mc

After running this, close the terminal and restart your computer to save the changes.

How to disable memory compression

Note: This step requires admin privileges.

If you prefer to turn this feature off, open Windows Terminal as administrator and select the PowerShell tab. Run this command:

💻Code
Disable-MMAgent -mc
PowerShell terminal window displaying memory compression disabled status in Windows

Summary

Memory compression is a smart way for Windows 11 to save space in your RAM. It helps computers with less memory run more apps smoothly. You can easily check, turn on, or turn off this feature using simple PowerShell commands. If your computer feels slow, keeping this feature enabled is usually the best choice.

Was this guide helpful?

Tags: #Windows 11
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.

Leave a Reply

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

Exit mobile version