ntoskrnl.exe !SeAccessCheckWith Hint+0x1c620 drive still in use error

Task Scheduler:

\Microsoft\Windows\MemoryDiagnostic\RunFullMemoryDiagnostic and \Microsoft\Windows\Defrag

run from background tasks Security and Maintenance - Automatic Maintenance

causes ntoskrnl.exe!SeAccessCheckWithHint+0x1c620

Try to disable defrag on this flash drive.

In my laptop i turned off the RunFullMemoryDiagnostic task because they were using 20% ​​cpu when idle.