Hello, thank you for reaching out to Microsoft Q&A.
There can be a few reasons why the system reports that your drive is still in use even after you try to eject it.
Possible causes include the Search and Indexing service scanning all of the files on your drive, third-party antivirus software accessing the drive, or Microsoft Defender running a full scan for any potential threats. Any of these can cause the disk to remain in use.
In this situation, you can try the methods I’ve listed below to see if you can safely remove your disk.
1 Open the Task Manager.
- Locate the Windows Explorer process, right-click, and select Restart.
- Once done, eject the external hard disk from the explorer or from the taskbar.
2 Run the Windows Hardware diagnostic troubleshooter.
- Click Windows + R key, type msdt.exe -id DeviceDiagnostic, and click ok.
- Once the troubleshooter is finished running, try ejecting your hard disk safely.
- You can also try ejecting them from the disk management window and see if it helps.
If these methods do not help, you can safely unplug the drive. This should not delete any of the contents on the hard drive.
If it consistently takes a long time to eject your hard disk, unplugging it directly after attempting to eject it is generally a safe option. You can also try plugging it into another USB port to see if it works properly.