How to ensure TRIM is enabled on Windows 10 to keep an SSD at top performance
TRIM is an essential feature for an SSD to keep it on top performance and helps the drive to last much longer. Here's how to make sure the feature is enabled on Windows 10.
Besides getting a speedy processor and as much RAM as you can afford, a Solid State Drive (SSD) also plays a very important role in making your PC fast. However, an SSD will stay on it best performance and last longer only if it's properly maintained.
TRIM is an ATA command set that was originally designed for the purpose of keeping a Solid State Drive at its optimal performance throughout its lifespan.
The TRIM feature allows Windows 10, or any supported operating system, to notify an SSD which blocks of data are no longer in use and can be safely wiped out to be writable again. Having this operation done ahead of time improves performance, as the drive won't have to spend time erasing a particular block when space is needed to store new data, ensuring the SSD reaches its advertised lifespan.
While the operating system should properly detect and enable TRIM automatically, sometimes this may not happen. In this Windows 10 guide, we'll show you the commands to make sure TRIM is configured and how to enable it when it's not.
How to check TRIM is enabled in your Windows 10 PC
Making sure that TRIM is enabled on Windows 10, you only need to use a command using the Command Prompt with administrator privileges.
- Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).
- Type the following command and press Enter:
fsutil behavior query DisableDeleteNotify
Explanation: If after executing the
fsutil
command with the
Get the Windows Central Newsletter
All the latest news, reviews, and guides for Windows and Xbox diehards.
DisableDeleteNotify
you get a result of zero (0), then it means that TRIM is enabled, and no further action is required. However, if after running the command you see a result of one (1), then it means that TRIM is disabled.
How to enable TRIM on your Windows 10 PC
When TRIM isn't enabled on Windows 10, you need to do the following:
- Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).
- Type the following command and press Enter:
fsutil behavior set DisableDeleteNotify 0
After running the command, you will notice the same DisableDeleteNotify = 0, which indicates that the feature is enabled.
How to disable TRIM
If at any time for any reason you need to disable TRIM, you need to do the following:
- Use the Windows key + X keyboard shortcut to open the Power User menu and select Command Prompt (Admin).
- Type the following command and press Enter:
fsutil behavior set DisableDeleteNotify 1
For TRIM to work, both the operating system and the Solid State Drive must support the feature, and it must be enabled in the operating system.
While we're focusing the guide for Windows 10, you can use the same commands on Windows 7 and Windows 8.x.
Was TRIM enabled on your computer? Let us know in the comments below.
Windows 10 resources
For more tips, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Mauro Huculak has been a Windows How-To Expert contributor for WindowsCentral.com for nearly a decade and has over 15 years of experience writing comprehensive guides. He also has an IT background and has achieved different professional certifications from Microsoft, Cisco, VMware, and CompTIA. He has been recognized as a Microsoft MVP for many years.