Issues Windows - Can't Eject USB - Device Busy Updated July 29 2026
This guide is not yet tested by me, it was give to me by another tech. Saving it for future use.

EJECTING-THUMBDRIVES-COMMANDS
The $Extend\$RmMetadata handle means the lock is being held directly by the Windows System process (specifically NTFS transactional logging). Because this is a core Windows system handle, Windows will not let you kill it through Task Manager. [1, 2, 3]
You can bypass or clear this system lock using the methods below.
Method 1: Clear the Transaction Log (Recommended)
You can force Windows to reset its filesystem metadata state for that specific drive, which immediately breaks the lock. [1]
1. Click the Start menu, type cmd, right-click Command Prompt, and select Run as administrator.
2. Type the following command (replace E: with your exact USB drive letter) and press Enter:
cmd
fsutil resource setautoreset true E:\
Use code with caution.
3. Try ejecting your drive normally. [1, 2]
Method 2: Take the Disk "Offline"
Taking the drive offline temporarily severs all system handles instantly without risking data corruption. [1]
1. Right-click the Start button and select Disk Management.
2. Locate your USB drive in the list or the bottom visual grid.
3. Right-click the grey box on the far left that says Disk # (e.g., Disk 1 or Disk 2) and select Offline.
4. Unplug your USB drive.
Note: The next time you plug this specific USB into your computer, go back to Disk Management, right-click it, and select Online to use it again. [1]
Method 3: Disable Search Indexing
Sometimes the Windows Indexing service gets stuck scanning the metadata. [1]
1. Open This PC or File Explorer.
2. Right-click your USB drive and select Properties.
3. At the bottom of the General tab, uncheck the box that says "Allow files on this drive to have contents indexed..."
4. Click Apply, choose "Apply changes to drive, subfolders and files", and hit OK. Try to eject. [1, 2]
Method 4: Close Known Third-Party Tools
If you use third-party file indexing tools like VoidTools "Everything", close them completely. These apps aggressively monitor $RmMetadata and frequently lock external drives indefinitely. [1]
If you plan on using this drive between multiple computers, let me know if it is formatted as NTFS or exFAT, as exFAT completely avoids this specific Windows metadata lock.



5 sites

• $Extend\RmMetadata files prevent safe removal of external hdd
• Apr 5, 2024 — $Extend\RmMetadata files prevent safe removal of external hdd * Hairy Scot said: 05 Apr 2024. $Extend\RmMetadata files prevent saf...


Windows 10 Forums

• Windows System Process locking External HDD. - Microsoft Q&A
• 0 comments No comments. Report a concern. Anonymous. May 4, 2016, 4:51 PM. Check to see if you have a program called "Everything.e...

Microsoft Learn

• [RESOLVED] Unable To Eject External USB Hard Drive After ...
• 1. Use Task Manager to Identify Open Handles Press Ctrl + Shift + Esc to open Task Manager. Check the Processes tab for any applic...

VirtualDr

Show all




©2024 - Some portions of this website are Copyrighted.
Your IP: 216.73.217.103     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy