The Device Is Currently In Use. Close Any Programs…

IT Support Forum Forums Windows Windows Server 2012 Drivers and Devices The Device Is Currently In Use. Close Any Programs…

Tagged: 

This topic contains 0 replies, has 1 voice, and was last updated by  Webmaster 6 months, 2 weeks ago.

  • Author
    Posts
  • #1861

    Webmaster
    Keymaster

    When trying to eject a USB drive, it fails with the following error:

    Problem Ejecting USB Mass Storage Device

    This device is currently in use. Close any programs or windows that might be using the device, and then try again.

    Assuming that you’ve closed all the programs that could be using the device, you have a few options here.

    Firstly, you can try to work out which program is using the device and close it using a Microsoft program called Process Explorer. To do this, download Process Explorer, then run it as administrator (right click -> Run as administrator). Click File -> Show Details for All Processes. Click Find -> Find handle or DLL. Type the letter of the mass storage device that is reportedly currently in use (ie: D:), then click Search. The results will show you the processes that are currently using the device. You can close them from this interface.

    In my case, some system resource programs were using the device, so I couldn’t close them without killing Windows. This was because the drive was shared and set to allow indexing. to fix this, disable the share and indexing on the drive.

    Failing this, you can turn off write caching so you don’t need to disconnect the USB device. To do this, go to Printers and Devices in the Control Panel, right click the USB mass storage device and go to the properties. Click the Hardware tab, then Properties. On the General tab, click Change settings. On the Policies tab check the option for Quick removal and click OK.

You must be logged in to reply to this topic.