I tried to safely remove a USB stick, but I got the message that a program was still accessing it. I suspect that it was Avast because I never got that problem before installing Avast. Searching the web confirmed that others have found it to be the case. One person said that you can safely remove the USB stick by disabling the Avast on-access scan. I am using the free version of Avast, program version 5.1.889. I went into the following panels and controls
Real-time Shields
File System Shield
Settings
I unchecked the following
Scan documents when opening
Scan files when writing
There is no Apply button, so I assume the disabling happened immediately. However, I still got the USB error.
I then clicked on Expert Settings and unchecked many of the options that enable the scanning of various things. I then clicked OK. However, I still got the USB error.
I returned to the Real-time Shields panel and under the Protection Status section, I clicked Stop (for 10 minutes). I still got the USB error.
What GUI widgets do I have to disable to prevent the USB error? I hope I can do it without quitting out of the Avast GUI. I am running a full scan. I expect that for much of the time I use the laptop, Avast will be scanning – simply because I don’t have much time to spend in front of the computer, and it takes a long time to scan.
Actually, it doesn’t seem to matter whether I close the GUI or not. I closed the GUI and got an exclamation mark on the Avast icon in the System Tray. I still got the USB errors.
I then right-clicked the Avast icon in the System Tray and selected
Avast shields control
Disable for 10 minutes
The avast symbol then had a red “X” on it (as opposed to an exclamation mark). I was also notified by Avast that 7 shields were disabled (whereas only 1 shield was disabled with the exclamation mark). However, I still got USB errors.
You will have the same problem with the 6.0.945 beta. My workaround is to shut down and remove all USB devices I might want to remove later. Start the computer normally and WAIT 10 MINUTES before plugging in any USB devices you may want to later remove. After 10 minutes, you can plug in and remove USB devices normally.
The reason is at 8 minutes Avast autoruns a rootkit scan. The rootkit scan is suspected as being the real culprit. Any usb device plugged in before the rootkit scan and left in during the rootkit scan will not be able to be safely removed normally.
I would not recommend turning off the rootkit scan as these are really nasty buggers.
I’ve uploaded memory dump files to PK, but I haven’t had any feedback yet.
This works for me on Windows 7 Ulitimate 32bit and 64 bit machines.
Are there any reprecussions to ignoring the safety warning?
I only ask because that is what I have done on several occassions. The next time I insert the drive I am informed that the flash drive may have errors and would you like to scan. Agree and in a matter of seconds I get the OK to continue. Much easier than waiting 10 minutes etc but is it OK?
Had always thought it was something to do with windows 7 64 bit till I read this post
Not sure about any data corruption issues. The devices I use are large external drives with hundreds of movies on them. I also use drives with my system backups so I don’t risk it. I either wait the 10 minutes or turn the system off gracefully before removing the drives.
I’m curious, though. Why is it risky to pull the stick out without proper safe removal? If for example any app that may have accessed the stick for write purposes is closed, is there still a risk of a write buffer that hasn’t written to disk? Or does the OS set up temporary bookkeeping files on the stick to speed up navigation, even though a user only reads from the stick (no writing)? I’m trying to imagine the hypothetical possibilities. For example, if safe removal causes bookkeeping files to be cleaned up, unsafe removal might cause such files to accumulate.
I believe I am experiencing the same problem with an external WD USB attached drive. Something, perhaps my paid version of Avast will not let go. When I wait many, many hours and then just pull the USB plug out the drive is corrupted, and the O/S wants to format / allocate it.
What a dilemma!