Solved

Utility in windows to determine what program is holding a usb drive?

Posted on 2010-09-17
12
671 Views
Last Modified: 2012-05-10
Occasionally in windows when I go to shutdown a usb drive so I can disconnect it, I'll get the message that a program is using the drive even though it appears that all of the foreground programs are not using it. Is there a utility I can run that will show me specifically which process is using a usb drive?
0
Comment
Question by:opike
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
  • +3
12 Comments
 
LVL 3

Expert Comment

by:arweeks
ID: 33706375
0
 
LVL 14

Expert Comment

by:athomsfere
ID: 33706379
What version of Windows?

Vista and 7 do have some built in tools, there are also free tools from systernals Process explorer to see exactly what is accessing what, and where. It is free and a great app!

http://download.cnet.com/Process-Explorer/3000-2094_4-10223605.html
0
 

Author Comment

by:opike
ID: 33706470
It's windows 7 home ed. I downloaded filemon and try messing around with the filters but it seems to show all the activity on the C: drive (the usb drive is F:). The columns can't be sorted so it makes it a little challenging to easily see what activity is occuring on a certain drive.



filemon.png
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 3

Expert Comment

by:arweeks
ID: 33706481
Add a filter - image path contains e:

or whatever drive you want to monitor is
0
 

Author Comment

by:opike
ID: 33706534
I also took a look at process explorer but I wasn't able to find where you could display what files a pariticular process might be accessing. I looked at the display columns to choose from but didn't see one that was applicable.
0
 

Author Comment

by:opike
ID: 33706558
Image path is the path to the executable, not the file that is opened. The usb drive doesn't actually have any executables on it.
0
 
LVL 14

Expert Comment

by:athomsfere
ID: 33706561
OK< using process monitor:

http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx

Sort by drive in the process main page. See your drive in access?

If not go to Tools -> File summary

You can now look By folder, see any open files on that drive?
0
 
LVL 25

Expert Comment

by:madunix
ID: 33706996
0
 
LVL 92

Accepted Solution

by:
nobus earned 500 total points
ID: 33707096
you could use safely remove :  http://safelyremove.com/?pid=1
0
 

Author Closing Comment

by:opike
ID: 33814861
I found this tool to be the most useful (although it isn't free...).
0
 
LVL 92

Expert Comment

by:nobus
ID: 33816597
i agree - i have it myself; and you can even get support from the makers..
0
 
LVL 18

Expert Comment

by:Ravi Agrawal
ID: 33816622
Although the Q is closed,

I'd like to add that it is possible to see the drive being used by which process using "process explorer"

Start Process Explorer >> Find >> Find Handle or DLL >> e:  -- assuming e: to be the drive letter associated with the USB drive.

Most of the times it is the "System Restore Process" that is accessing the System Volume Information Folder on the USB Drive.

Turn off System Restore on the USB Drive with the drive connected in your System. Windows + Break key >> System Restore tab >> Select the USB drive >> click the settings button >> Put a Check Mark on "Turn off system restore on this drive". Ok out everything. Thats it.

Windows + Break key combo will open the System Properties Window, same as Control Panel >> System.

There's a chance that you won't be faced with this problem anymore unless due to some malware infection.

Ravi.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question