USB flash drives are convenient and handy storage devices, but sometimes, users need to eject their USB drives from Windows to complete the write process.
Some users reported that when attempting to eject their USB drives, they got the Access Denied error.
In this article, we will explore a couple of troubleshooting tips to help you eject USB drives in Windows 10 with ease.
- The USB isn’t ejecting issue can be caused by outdated drivers, so update them right away.
- Thankfully, the fix is pretty easy: just run the troubleshooter and scan your USB drive.
- If you remove the USB drive and see it reappear, then your hardware might be faulty.
Reset the USB Mass Storage Controller service
- Press Windows Key + R to open Run.
- Type services.msc in the text field and click OK to open the Services window shown directly below.
- Double-click the USB Mass Storage Controller service to open its Properties window.
- Select the Startup type radio button for Automatic.
- Click the Apply button to close the Properties window.
- Press the Start button to open the Windows Start Menu.
- Type cmd in the search box and select Command prompt from the results.
- Now, type in the following command and press Enter to run it: net stop USBSTOR
- Next, type in the following command and press Enter to run it: net start USBSTOR
- Now, type in the following command and press Enter to run it: net stop wuauserv
- Now, type in the following command and press Enter to run it: net start wuauserv
Delete the PNP registry key
- Type regedit in the Windows search box and click the first result to launch Registry Editor.
- Click Edit from the top menu, and then Delete from the left pane.
- Select the PNP key from the available options shown on the screen.
- Click Yes to confirm.
Adjust the USB stor service
- Right-click on the Start menu and select Device Manager.
- Double-click on Disk drives to expand it.
- Locate the USB drive and select Properties.
- Navigate to the Policies tab.
- Click to select the Allow service to interact with the desktop option.
Open the Command prompt as an Administrator
- Press the Windows key + X hotkey.
- Select the Command prompt (Admin) option from the resulting context menu.
- Input †̃diskpart’ in the Command prompt, and click the Enter button.
- Type the †̃list disk’ command, and press the Enter button.
- Enter the †̃select disk n’ command, where n is the number of the USB disk, and press the Enter button.
- Next, input the †̃clean’ command, and press the Enter button.
- Finally, input the †̃assign’ command, and press the Enter button.
Update the USBstor.sys driver
- Open the Device Manager
- Expand the USBSTOR section.
- Right-click on the USBSTOR entry and select Update driver.
- Select Search automatically for drivers.
- Restart the PC.