Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Check and Enable TRIM for an SSD in Windows

Use fsutil to check Windows delete notifications, enable TRIM when needed, and let Optimize Drives handle SSD retrim on a safe schedule.

Table of Contents

TRIM lets Windows tell an SSD which blocks no longer contain live data, allowing the drive to manage future writes efficiently. Windows normally enables delete notifications automatically for supported SSDs. TRIM is not traditional defragmentation, and you should not disable Windows drive optimization simply because the volume is on an SSD.

To enable Trim, use the Trim command on Windows. Picture 1

Check the Windows TRIM setting

  1. Right-click Start and open Terminal (Admin).
  2. Run:
    fsutil behavior query DisableDeleteNotify

To enable Trim, use the Trim command on Windows. Picture 2

To enable Trim, use the Trim command on Windows. Picture 3

Interpret the relevant file-system result:

  • NTFS DisableDeleteNotify = 0 means NTFS delete notifications are enabled.
  • NTFS DisableDeleteNotify = 1 means they are disabled.
  • A ReFS line applies only to ReFS volumes.

A zero result confirms that Windows is configured to send the notification. It does not by itself prove that every storage controller, virtual disk, USB bridge, or RAID path passes TRIM to the physical device.

Enable TRIM if it is disabled

In Terminal (Admin), run:

fsutil behavior set DisableDeleteNotify 0

Query the setting again to confirm the change. The corresponding command with a value of 1 disables delete notifications; do not use it unless a storage vendor or administrator documents a specific reason.

To enable Trim, use the Trim command on Windows. Picture 4

Microsoft documents the current syntax in its fsutil behavior reference.

Keep Windows Optimize Drives enabled

Search Start for Defragment and Optimize Drives. Windows recognizes the media type and applies an appropriate operation: HDD optimization consolidates fragmented files, while SSD optimization includes storage-aware tasks such as retrim.

To enable Trim, use the Trim command on Windows. Picture 5

To enable Trim, use the Trim command on Windows. Picture 6

To enable Trim, use the Trim command on Windows. Picture 7

Leave the normal schedule enabled for SSD volumes unless the device manufacturer or an administrator provides different instructions. The original advice to exclude SSDs from the Windows schedule is outdated.

Run a manual retrim when troubleshooting

Select the SSD in Optimize Drives and choose Optimize. Alternatively, in PowerShell as administrator, replace C with the intended drive letter and run:

Optimize-Volume -DriveLetter C -ReTrim -Verbose

Confirm the drive letter first. A successful command does not measure SSD health or guarantee a performance change.

If TRIM still appears unavailable

  • Confirm Windows identifies the device as an SSD.
  • Update storage-controller and chipset drivers from the PC or motherboard manufacturer.
  • Check whether a RAID controller, USB enclosure, virtual disk, or storage pool supports passing TRIM.
  • Use the SSD manufacturer's supported utility to check firmware and health.

Do not repeatedly benchmark or overwrite an SSD to “activate” TRIM. For background, see how fragmentation differs between HDDs and SSDs. For errors or warnings, use drive-health checks.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.