How to Fix ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED

Format the partition as NTFS and disable encryption

Reading time icon 3 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

How to fix ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED
XINSTALL BY CLICKING THE DOWNLOAD FILE
A message from our partner

Fix all BSoD events and keep computer safe and clean:

Fortect will find the cause of BSoD and fix it. Here is how to do it with 3 easy steps:

  • Download Fortect and install it on your PC
  • Launch the tool and Start scanning to find broken files that are causing BSoD
  • Right-click on Start Repair to fix issues affecting your computer’s security and performance
Download Now Fortect has been downloaded by 0 readers this month, rated 4.6 on TrustPilot

The ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED error indicates that the file system does not support the file-level trim operation. The file-level trim operation is used to inform the storage device about the ranges of data that are no longer in use, allowing the device to optimize its storage and improve performance.

So, this issue is due to a file being compressed or encrypted or by a storage device that doesn’t support the trim operation. So, if the drive you’re using has a FAT32 file system, it will not support the trim operation.

How do I fix ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED?

1. Check the file system compatibility

  1. Press Win + E to open File Explorer.
  2. Right-click on the drive you want to check and select Properties.
  3. Go to the General tab and check the File system. Ensure it is NTFS or ReFS, as FAT32 does not support the trim operation.

FAT32 doesn’t support the trim operation so you will have to format your external drive or partition as NTFS or ReFS if you want to use it. If you run into problems, click on our article on what to do if you can’t format your drive.

2. Disable the compression and encryption

  1. Right-click on the file you want to trim and select Properties.
  2. Go to the General tab and click on Advanced.
  3. Ensure that the Compress contents to save disk space and Encrypt contents to secure data options are unchecked.
  4. Click OK to save the changes.

Disabling the compression and encryption features on your file will prevent it from using the trim operation and you won’t get the ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED anymore.

3. Disable the trim function

  1. Press Win + R, type cmd, and press Enter to open Command Prompt.
  2. Type the following command and press Enter: fsutil behavior query DisableDeleteNotify
  3. If the result is DisableDeleteNotify = 0, it means that trim is enabled. If it is 1, trim is disabled.
  4. To disable trim, type the following command and press Enter: fsutil behavior set DisableDeleteNotify 1

4. Update the storage drivers

  1. Press Win + X and select Device Manager.
  2. Expand the Disk drives section.
  3. Right-click on your storage device and select Update driver.
  4. Choose Search automatically for updated driver software.
  5. Follow the on-screen instructions to complete the update.

The ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED might also be caused by a drive’s problematic driver. Updating it will fix the issue. We recommend using a dedicated driver updater tool if you want to get the correct driver automatically.

5. Run Disk Optimization

  1. Press Win + S and type Defragment and Optimize Drives.
  2. Select your SSD and click Optimize.
  3. Follow the on-screen instructions to complete the optimization process.

If the drive is inaccessible in Windows, click the highlighted link for ways on how to fix the problem.

By following these steps, you should be able to resolve the ERROR_FILE_LEVEL_TRIM_NOT_SUPPORTED error and ensure that your storage device is properly optimized. If you need more detailed guidance on any of these steps, feel free to ask in the comments below.

More about the topics: BSOD

User forum

0 messages