Cannot stop USB drive

Hi:
My client is running a PHYSICAL server with Windows 2008.  We are running Hyper-V with SBS-2003 as a VIRTUAL system.  We have 2 separate external USB hard drives physically attached to the server.  For clarity I will call them the "M" and "P" drives.  I have shared only the "P" drive and mapped it inside the virtual SBS2003 system.

My problem is I cannot "stop" either of them using the "safely remove hardware" icon.  I have tried to stop them from both the Windows 2008 and the virtual SBS-2003 side.  No luck
The error message says,  "Windows cannot stop your 'generic volume' device because it is in use"

I can kinda understand not being able to stop the mapped "P" drive if the virtual machine is running (although that still is a bummer), but I cannot stop the UNMAPPED "M" drive.

Best I can tell, there is nothing "using" the "M" drive but it will not unmount.

Help!.....please   :)

Jim
LVL 1
jgutmanAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TripyreCommented:
There is a setting for the USB drives which tells the OS how to optimize their usage. Either it is optimized for Quick Removal or for Performance. To check it, do the following:

¦Right click on the USB drive icon in My Computer.
¦Select the Hardware tab.
¦Select your USB drive and click on Properties.
¦Now click on Policies tab.



Optimize for Quick removal

This setting disables write caching on the disk so that you can disconnect this drive without using the Safely Remove Hardware icon.

Optimize for Performance

This setting enables the write caching on the disk so as to improve disk performance. To disconnect this drive, you should use the Safely Remove Hardware icon so as not to hurt your USB drive.

So this tutorial is about how to safely remove your USB drive if the Safely Remove Hardware icon disappears from the system tray when the USB drive is optimized for performance. Otherwise you can safely remove it right away. This works on Windows XP and it should work on Windows Vista too (I haven’t tried it though).

Method #1

Start > Run > Type in RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll



This will bring up the same dialog box which comes when the icon in the system tray is clicked. Now you can safely stop your USB drive and get it out of the USB port.

Method #2

Method #1 can’t be remembered always as to type in everytime you are in a similar scenario. You can try the following steps :

¦Right Click on My Computer.
¦Select Manage.
¦Select USB Mass Storage Device under the USB Controller.
¦Right Click and Disable it.
¦Remove your USB drive and Enable it again


If you forget to Enable it again, then you won’t be able to use any of your USB drives unless you enable it again.

Method #3

If you find yourself in the same situation repeatedly then you can make a shortcut for it. Just create a batch file with the content RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Executing this batch file will show up the dialog box where you can stop your USB drive. You can even create a shortcut to this batch file and place it where it is easy accessible for you.
0
jgutmanAuthor Commented:
Hi.  
I'll try your suggestion later, but can't I just set the drive for "optimize for quick removal" ??
 The only thing the drive is used for is as an external backup drive (although the backups are quite large - 150GB!)

Jim
0
noxchoGlobal Support CoordinatorCommented:
What antivirus is used by you? I have seen this problem with Windows 7 where Bit Defender was always monitoring the USB drive. Same for Kaspersky antivirus.
Try to stop antivirus or unload it and then remove the drive.
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

mcsweenSr. Network AdministratorCommented:
you have to disconnect from the USB drive in the VM first (stop from the tray and disconnect from the VM console), then you should be able to stop it on the host for ejection.
0
noxchoGlobal Support CoordinatorCommented:
heh, I missed that you VM was mentioned in you original post. Sure if USB drive is connected that could be mounted in VM too.
0
ocanada_techguyCommented:
Excellent advice akready.
You said about the mapped drive, so I'll mention, you can check if someone over the network has files open you won't be able to stop the drive.  (Under Computer Management (right click computer, Manage) see Shared Folders, Open Files and Sessions - anything accessing it?)  Forcing a close could cause grief depending on the client's application
Besides anti-virus, there might be google desktop, MS Indexer/Search 5 or higher, or Nero content indexing or something like that monitoring the content of the drives.  Is the drive included in indexing? I've seen even something like if you recently accessed a folder with photos the OS might be updating thumbs for a little bit.
0
nobusCommented:
for usb problems, here a good piece of software : safelyremove =    http://safelyremove.com/?pid=1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jgutmanAuthor Commented:
HI.  I will be chiecking this all out in the next day or 2
0
jgutmanAuthor Commented:
Hi
Thanks everyone.  Again, the *only* use of the drive on the pysical lmachine is ONLY backup as an external usb backup drive.  I am positive no one is using the drive at all.  Also again, whats the downside to just setting the drive for quick removal instead of performance?  Remember, I do large backups on the drive.

Jim
0
nobusCommented:
is no application or task active on the drive?   check with Task management
0
jgutmanAuthor Commented:
Nope.  It's ONLY in use when the backup is running - 150GB
0
noxchoGlobal Support CoordinatorCommented:
What antivirus is used?
0
jgutmanAuthor Commented:
Nod-32 by ESET
0
noxchoGlobal Support CoordinatorCommented:
Did you ever reformat this drive? If not, copy out data from it and reformat it.
0
jgutmanAuthor Commented:
Ok. But why?
0
noxchoGlobal Support CoordinatorCommented:
It could be due to file system issues. I have managed several times to resolve the problem via reformat.
0
nobusCommented:
did you try the free trial of sefelyremove?  it WILL close it !
0
jgutmanAuthor Commented:
Download and installed "Safely Remove"  It worked!  It turns out Acronis Backup had an agent running in the background that was locking the drives.

Sorry for the delay in getting this posted!
0
nobusCommented:
tx for the feedback !
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Virtual Server

From novice to tech pro — start learning today.