You have a specific brand of SSD, and the TRIM command is not running on it in Windows 11. This leaves your drive unable to clean up unused data blocks, leading to slower write speeds and reduced performance over time. The root cause is often a driver conflict, a disabled scheduled optimization, or an incorrect storage controller setting. This article explains the reasons TRIM fails on certain SSD brands and provides step-by-step fixes to restore TRIM functionality.
Key Takeaways: Restoring TRIM on a Specific SSD Brand in Windows 11
- Settings > System > Storage > Advanced storage settings > Disks & volumes > Properties > Optimize: Manually triggers TRIM and verifies if the drive is recognized for optimization.
- fsutil behavior set DisableDeleteNotify 0 in Command Prompt (Admin): Enables TRIM system-wide if it has been disabled by a driver or update.
- Device Manager > Storage controllers > Update driver > Browse my computer > Let me pick: Switches to the standard Microsoft driver to resolve brand-specific controller conflicts.
Why TRIM Fails on Certain SSD Brands in Windows 11
TRIM is a storage command that tells the SSD which data blocks are no longer in use and can be wiped internally. This maintains write performance and extends drive lifespan. Windows 11 sends TRIM commands automatically during scheduled optimization runs, which occur weekly by default for SSDs. When TRIM does not run on a specific brand, the drive cannot perform garbage collection efficiently, and write speeds degrade.
The problem typically stems from one of three causes. First, the storage controller driver provided by the SSD manufacturer may not properly forward TRIM commands to the drive. Second, Windows 11 may have disabled the TRIM flag at the file system level due to a driver update or a registry change. Third, the scheduled optimization task may be misconfigured or stopped for that particular drive. Less common causes include an outdated SSD firmware that does not honor TRIM or a third-party disk tool that overrides Windows optimization settings.
How Windows 11 Verifies TRIM Support
Windows 11 checks TRIM support by querying the drive’s ATA or NVMe command set. If the drive reports TRIM support, Windows enables the DisableDeleteNotify flag to 0. You can verify this flag using the fsutil command. If the flag is set to 1, TRIM is disabled system-wide. If the flag is 0 but TRIM still does not run, the issue is at the driver or hardware abstraction layer.
Steps to Enable and Force TRIM on a Specific SSD Brand
Follow these steps in order. Test TRIM after each step to identify the exact fix for your SSD brand.
- Check the current TRIM status with fsutil
Open Command Prompt as administrator. Typefsutil behavior query DisableDeleteNotifyand press Enter. If the output showsDisableDeleteNotify = 1, TRIM is disabled. If it shows 0, TRIM is enabled at the file system level, and the issue is elsewhere. Proceed to step 2 regardless. - Enable TRIM system-wide if it is disabled
If the previous command returned 1, typefsutil behavior set DisableDeleteNotify 0and press Enter. Run the query command again to confirm the value changed to 0. This re-enables TRIM for all drives. If the value was already 0, skip this step. - Manually run TRIM on the specific drive
Open Settings > System > Storage > Advanced storage settings > Disks & volumes. Select the SSD brand drive, click Properties, then click Optimize. In the Optimize Drives window, select the drive and click Optimize. Watch the progress bar. If it completes quickly with no errors, TRIM is functional. If it fails or stalls, proceed to the next step. - Replace the SSD brand’s storage controller driver with the Microsoft driver
Open Device Manager. Expand Storage controllers. Right-click the storage controller entry that matches your SSD brand, such as Samsung NVMe Controller or Intel RST, and select Update driver. Choose Browse my computer for drivers > Let me pick from a list of available drivers on my computer. Select Standard NVM Express Controller or Microsoft Storage Spaces Controller, then click Next. Restart the computer. This removes brand-specific driver conflicts that block TRIM. - Verify the scheduled optimization task is active
Open Task Scheduler. Navigate to Task Scheduler Library > Microsoft > Windows > Defrag. Right-click the ScheduledDefrag task and select Properties. Ensure the task is enabled and triggers are set for daily or weekly. On the Conditions tab, uncheck Start the task only if the computer is on AC power if you want TRIM to run on battery. Click OK. Then right-click the task and select Run to test it immediately. - Update the SSD firmware using the manufacturer’s tool
Go to your SSD brand’s support website. Download the official firmware update tool for your model. Run the tool and follow the on-screen instructions to update the firmware. Outdated firmware can ignore TRIM commands. After the update, restart the computer and repeat step 3.
If TRIM Still Does Not Run After the Main Fix
TRIM command returns access denied error
This error occurs when the drive is being used by another process, such as a disk encryption tool or a backup utility. Close all programs that access the drive. Open Disk Management, right-click the SSD, and select Offline. Then run the manual optimize step again. Afterward, set the drive back to Online. If the error persists, disable third-party disk tools temporarily.
TRIM runs but drive performance does not improve
TRIM only helps with write performance on a drive that has many unused blocks. If the drive is nearly full, TRIM has little effect. Free up at least 20 percent of the drive capacity. Also check the drive health using the manufacturer’s SMART tool. A drive with high reallocated sector counts or pending sector counts may be failing and will not benefit from TRIM.
Optimize Drives window shows the drive as not supported for TRIM
This indicates Windows 11 does not detect the drive as an SSD. Open Device Manager, expand Disk drives, right-click the SSD, and select Properties. On the Details tab, select Device description. If the description does not include SSD or NVMe, the driver is reporting the wrong device type. Update the disk driver by selecting Update driver > Search automatically for drivers. If that does not work, use the manufacturer’s driver installer to reinstall the correct driver.
TRIM Verification Methods: fsutil vs Optimize Drives vs Manufacturer Tool
| Item | fsutil behavior query DisableDeleteNotify | Optimize Drives in Settings | Manufacturer Tool |
|---|---|---|---|
| Scope | System-wide TRIM flag | Per-drive optimization status | Drive-specific TRIM and health |
| What it shows | Whether TRIM is enabled at the file system level | Last run time, current status, and media type | TRIM support, firmware version, and SMART data |
| When to use | First step to verify TRIM flag | After enabling TRIM to test execution | If TRIM fails after driver and firmware checks |
If the fsutil command shows TRIM is enabled, but Optimize Drives reports the drive is not an SSD, the driver is misidentifying the drive. Use the manufacturer tool to confirm the drive type and update the driver accordingly.
After completing these steps, you can now manually and automatically run TRIM on your specific SSD brand in Windows 11. Start by running the manual optimize step to confirm the fix. Then monitor the scheduled optimization task to ensure it runs weekly. As an advanced tip, use the fsutil behavior set DisableDeleteNotify 0 command in a startup script to enforce TRIM after every boot in case a future update resets the flag.