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

    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
    • Win11Debloat 2026.06.14 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 2026.06.14 changes: This is a minor release that hopefully addresses the false positives in Windows Defender and Bitdefender that prevented users from downloading and/or running Win11Debloat. Refactor Get-RegFileOperations.ps1 to address false positives by @Raphire in #626 Add logging around WinGet app retrieval and increase timeout to 20s by @Raphire Download: Win11Debloat 2026.06.14 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Still using Microsoft Money 2005 in 2026 here!
    • I have a couple to mention, and they still run great on Windows 11 Adobe Lightroom Version 2 Alcohol 120% CLZ Book, Comic, Game, Movie, & Music Collector (PC - No longer sold / Grandfathered in - now mobile apps/online only) DVDDecrypter ISO Buster Pro version 1.9.1 (Still supports HD-DVD too) Nero Burning Rom 8 (Only the burning software, no backup, media converter, etc)   OpenAL (Runtime) - GuildWars 1 Reforged still uses it for 3d headphone audio PowerDVD 12 Ultra SPTD (SCSI Pass through Direct Driver) UltraISO Windows Media Encoder 9 WinImage You can tell I still sport an optical drive    
  • 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
      508
    2. 2
      +Edouard
      197
    3. 3
      PsYcHoKiLLa
      139
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!