Safely Remove hardware ..but how?


Recommended Posts

I have 2 external HDD 250GB (DATA) and 80 Gb (blank) when ever i try to remove the HDD i got error (see PIC) i also formatted 80 GB without checking "Quick Format" but still getting error .......

Installed Avast with full updates so no scope of Virus

Link to comment
https://www.neowin.net/forum/topic/651148-safely-remove-hardware-but-how/
Share on other sites

Usually a quick log off and log back on then try stopping the device. Most of the time this works. Sometimes I get this when I use one of my Cruizer Mini drivers when working with MS Word Documents on that drive.

Though It may be like Joel said.... It could be System restore checking the drive. Or Windows Defragmenting the drive- Or quite possible Indexing Services. You probably could goto services.msc and stop indexing services then try stopping the device. Don't forget to restart the service if it then lets you remove the device.

Where's your page file? Is System Restore checking that drive?

I have pagefile in C drive .. internal HDD 40 Gb with 3 partition C(XP) D(2003 server) E (daily data)

Z drive 80 Gb (external)

NO,system restore is managing that drive ........

I had checked again and again no process running from that drive ..........

and i try right now also plug the HDD and then remove at same time then also it show error

That is probably why the device is still in use.

Until the index is done the device will remain active and then upon every plug in until the index gets done every time.

You probably should remove the check mark. But if you are still trying to remove the device right now- You can stop the service ... stop the device then restart the service.

I unchecked and then try unplugging it , got same error ...... this service is used mainly for searching files and folder i really don't need it as i know which data i save where ...... for any other purpose it is used which may give error/problem later .......

You don't need that service for that device- But The effect on the device does not take until a Log Off and Log Back on. Then click the safely remove device. Now from that point on it should not turn back on the service- If that does not work then another program is accessing the drive. You could also check this while the device is plugged in... Right click on the drive then click properties... then hardware tab....then find the device select it...choose properties...then the policy tab... select the Quick removal option.

You don't need that service for that device- But The effect on the device does not take until a Log Off and Log Back on. Then click the safely remove device. Now from that point on it should not turn back on the service- If that does not work then another program is accessing the drive. You could also check this while the device is plugged in... Right click on the drive then click properties... then hardware tab....then find the device select it...choose properties...then the policy tab... select the Quick removal option.

It works for 250 Gb now i can unplug easily with out error .......

but still getting problem in 80 Gb which is Blank

Un-check the last option .......

Check to see if AVast is set to auto scan the device. I know that with NAV it can cause USB devices not to be able to be stopped if Real Time Protection is enabled for the device. I ran into that issue with NAV while testing it and the solution was to turn protection off... Then stop device... then turn protection on.

Edited by redvamp128

Run Process Explorer from http://live.sysinternals.com/procexp.exe (Part of Microsoft's Sysinternals Technet site)

Click on Find -> Find Handle or DLL, and enter the drive letter of your USB drive with the colon and backslash into the search box (ex: "G:\"). It should list the programs holding open handles to the drive and preventing removal. From there you may take appropriate action such as closing the programs, killing the process, or even breaking the handle (not recommended if you can avoid it!).

Turn off your computer, unplug the drive, turn on your computer

this is exactly what you need to do

it could be any number of things accessing your USB drive. if you are on windows (32-bit) i highly recommend Unlocker. it's a very small program and only adds one thing to your computer, a "unlock" to your context menu. that means you can right click on anything (file, folder, drive) and free it up so you can delete, move, eject, safely remove, whatever you want to it

Check to see if AVast is set to auto scan the device. I know that with NAV it can cause USB devices not to be able to be stopped if Real Time Protection is enabled for the device. I ran into that issue with NAV while testing it and the solution was to turn protection off... Then stop device... then turn protection on.

where I can find that option .....

^^ will try this ....

Run Process Explorer from http://live.sysinternals.com/procexp.exe (Part of Microsoft's Sysinternals Technet site)

page not found ....

Also, if you have a third party defrag utility (such as O&O Defrag), that runs as a service in order to derfrag in the background, you'll need to stop that service in order to eject externel HDDs. Happens to me w/ my external & O&O.

Right click on your avast options in your Tray (next to the clock) usually they have an option to turn off Antivirus and or disable- You only want to disable it long enough to stop the device to remove it... then you will need to Turn it back on or enable it after you remove the the drive. I don't use Avast but most Antivirus are made with similar features.

Or open up the Avast program and click on the help for the program and search for temporarily disable antivirus.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hello, Christian Maas' XVI32 is a nice (and very small) hex editor. Speaking of hex editors, many years ago a colleague and I who both worked at Tribal Voice managed to edit a copy of the company's PowWow instant messaging client to make it behave better now that all of its lookup servers and other server-side tech was gone.  The program didn't support NAT (RFC-3022 was introduced in January 2001, the same time Tribal Voice was shuttered), but it still worked okay if you manually set up port-forwarding on your router.  The server at http://powwow.jazy.net/ hosts a copy (usual warnings about downloading and running untrusted code from random internet servers apply). I occasionally use some tools like Funduc Software's Search and Replace and Application Mover when I need to make mass-edits to text-based files or move programs with a hard-coded installation directories, respectively.  When I need to figure out the exact LCD panel inside of a laptop, EnTech Taiwan's Monitor Asset Manager is my go-to tool for that purpose. JD Design's website (now hosted on github.io) has a number of interesting freeware and shareware utilities.  I used to use their TouchPro utility to set the file timestamps on software I was mastering to match its version number (e.g., version 3.00 of a program had all of its files dates set to 3:00AM, and so forth). Karenware has a number of interesting freeware utilities, too. Regards, Aryeh Goretsky  
    • I still use HexChat! Not really as ancient as the 1994 AutoCAD above my post, but I have never found anything better to replace it. Yes we still operate an IRC server https://www.neowin.net/irc/ 😛 
    • At work we still have a couple of people that use a version of AutoCAD LT purchased in 1994. This predates Windows 95 and works fine on versions of Windows up to XP. Its long since run in an locked down isolated XP VM, accessible via RDP. I did install LibreCAD for them, however they said it was just too different to get to grips with. In all fairness one of them is now 75 and the other is almost 60.
    • On my music making (non internet) PC Sony Acid Pro 7.0 Adobe Audition 2015 Korg Legacy Collection Windows 7 SP1
    • Anyway to download these versions without being on the Experimental builds?
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      82
  • Tell a friend

    Love Neowin? Tell a friend!