| Author |
Message |
|
|
Posted: Sep 06, 2008 - 01:27 AM |
|


Joined: Mar 27, 2002
Posts: 18561
Location: Lund, Sweden
|
|
Guys! I'm going half mad here. Suddenly I have problems ejecting my USB sticks properly. The only app that has been directed actively to the stick by me is closed and gone. The device still cannot be unmounted as it is busy. I close all applcations. Still the same. I wait a few minutes. Still the same. Finally I give up and just pull the darn thing.
Now, I'd love to have a tool that can show me which files are open on my system, which process that has opened them etc.. I fiddled around in system tools and found nothing (though I have been known to posess a selective blindness from time to time). I downloaded Process Explorer and fiddled around with that too, but found nothing there either.
Now I might just rant on and ask "How is it possible to implement an operating system without the ability to see which files are open. That information must be in the OS working data somewhere!".
But instead I turn to you, enlightened scholars, to put me out of my misery by pointing to a useful tool for this occasion. Or at worst tell me that I have no chance of getting this information, am wasting my time and should just accept to be forced to these "hot'n'brute unmounts".
Same thing happends on two machines. One is an Acer Travelmate running XP home. The other is a HP 8710 running Vista Pro.
Please... |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:35 AM |
|


Joined: Nov 22, 2002
Posts: 12049
Location: Tangent, OR, USA
|
|
One possibility is that you have moved something to the Trash (oops, Recycle) "bin" and have not emptied said folder. That COULD show as still having an active connection to the flash memory and not show as a real app.
Also, check the Active Process list (the one you get when you start to do a "Force Quit"). The may be some hints there.
If its any consolation, it happens, once in a while, for me on the otherwise "almost perfect" MacOS!
Jim |
_________________ Jim Wagner
Oregon Research Electronics, Consulting Div.
Tangent, OR, USA
"The only thing standing between us and victory is defeat" P.G.Wodhouse in Wooster & Jeeves series
Last edited by ka7ehk on Sep 06, 2008 - 01:36 AM; edited 1 time in total
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:35 AM |
|


Joined: Nov 10, 2005
Posts: 1527
Location: Redmond, WA
|
|
I see this too from time to time. One thing I did was to disable write caching (or is it write buffering) on the USB drive. At least then I know I will not corrupt the drive if I pull it out of USB connector.
Tom |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:38 AM |
|


Joined: Nov 10, 2005
Posts: 1527
Location: Redmond, WA
|
|
|
Quote:
One possibility is that you have moved something to the Trash (oops, Recycle) "bin" and have not emptied said folder.
Wow! This does ring home. Last time I had the problem and did not have write caching turned off, I had moved something to trash instead of deleting it. This would also explain why, on drives where I have disabled write caching, when I delete a file it is deleted and not sent to trash bin. Thanks!!
Tom |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:42 AM |
|


Joined: May 30, 2004
Posts: 8118
Location: Cincinnati, Ohio
|
|
I too, get this problem quite often.
So how do you disable write cashing/buffering? |
_________________ Carl W. Livingston, KC5OTL
microcarl@roadrunner.com
"There are only two ways to sleep well at night... be ignorant or be prepared."
The original Dragon Slayer !
Long live the AVR!!!
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:46 AM |
|


Joined: Nov 10, 2005
Posts: 1527
Location: Redmond, WA
|
|
I knew someone was going to ask this...
In Windows, open Device Manager, Disk Drives, right click on USB drive in question, select properties. In Policies tab, select optimize for quick removal. Done.
I think most thumb drives initialize this way. My WD 250GB USB drive does not.
Tom |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 01:55 AM |
|


Joined: May 30, 2004
Posts: 8118
Location: Cincinnati, Ohio
|
|
Thanks Tom.
You know, I bet I've looked at those settings in device manager at least 500 times, but never made the connection - until you just now opened my eyes.
Thanks! |
_________________ Carl W. Livingston, KC5OTL
microcarl@roadrunner.com
"There are only two ways to sleep well at night... be ignorant or be prepared."
The original Dragon Slayer !
Long live the AVR!!!
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 02:05 AM |
|


Joined: Jun 15, 2008
Posts: 1759
Location: North Carolina USA
|
|
run->cmd->openfiles
You'll probably have to do
Code:
openfiles /local on
and reboot first. |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 02:26 AM |
|


Joined: May 30, 2004
Posts: 8118
Location: Cincinnati, Ohio
|
|
|
dak664 wrote:
run->cmd->openfiles
You'll probably have to do
Code:
openfiles /local on
and reboot first.
OK, I tried running:
Code:
openfiles /local on
I got an error message "File couldn't be found !" |
_________________ Carl W. Livingston, KC5OTL
microcarl@roadrunner.com
"There are only two ways to sleep well at night... be ignorant or be prepared."
The original Dragon Slayer !
Long live the AVR!!!
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 02:30 AM |
|


Joined: Nov 10, 2005
Posts: 1527
Location: Redmond, WA
|
|
|
|
|
|
|
Posted: Sep 06, 2008 - 02:45 AM |
|


Joined: May 30, 2004
Posts: 8118
Location: Cincinnati, Ohio
|
|
| No, I tried again, this time rebooting my notebook first - the same error came up. |
_________________ Carl W. Livingston, KC5OTL
microcarl@roadrunner.com
"There are only two ways to sleep well at night... be ignorant or be prepared."
The original Dragon Slayer !
Long live the AVR!!!
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 03:06 AM |
|


Joined: Jun 15, 2008
Posts: 1759
Location: North Carolina USA
|
|
| Maybe you aren't logged in as administrator? |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 03:44 AM |
|


Joined: Jul 10, 2006
Posts: 2655
Location: Minneapolis
|
|
| For me, openfiles is available under XP and Vista, but not Win2K. |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 03:53 AM |
|


Joined: Dec 11, 2007
Posts: 6849
Location: Cleveland, OH
|
|
I believe that run cmd openfiles /?
ought to show the valid parameters for the given system.
JC |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 04:01 AM |
|


Joined: Feb 14, 2007
Posts: 1858
Location: San Diego California
|
|
It’s not the administrator account as I just ran it from the GUEST account and it runs also!
File could not be found?
OK check in the Windows/System32 directory for openfiles.exe
Otherwise check your spelling?
I don't know what else would cause “file could not be found.” Carl?
I know you are doing this but just in case?
1) Click the Start button.
2) Click the Run menu command
3) Type cmd in the Run dialog box and press OK
4) In the cmd Window type openfiles /local on |
_________________ Resistance is futile…… You will be compiled!
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 04:04 AM |
|


Joined: Jul 02, 2005
Posts: 5942
Location: Melbourne, Australia
|
|
|
cpluscon wrote:
For me, openfiles is available under XP and Vista, but not Win2K.
Same here ... but sysinternals had their "Filemon" utility. I think Micro$oft bought them out ???? |
_________________ Ross McKenzie
ValuSoft
Melbourne Australia
Last edited by valusoft on Sep 06, 2008 - 04:10 AM; edited 1 time in total
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 04:06 AM |
|


Joined: Feb 14, 2007
Posts: 1858
Location: San Diego California
|
|
|
|
|
|
|
Posted: Sep 06, 2008 - 04:10 AM |
|

Joined: Feb 07, 2007
Posts: 2395
Location: New Delhi, India
|
|
To see what files are open/locked by which program get Unlocker. The best.
http://ccollomb.free.fr/unlocker/
The main culprit is the Windows details, thumbnails and preview 'feature' for media files. Turning that off in XP helps a great deal. In Vista it is a lot tougher to get rid of.  |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 04:29 AM |
|


Joined: Jul 10, 2006
Posts: 2655
Location: Minneapolis
|
|
| Openfiles is NOT available on my machine running XP Home, but is under XP Pro.... |
|
|
| |
|
|
|
|
|
Posted: Sep 06, 2008 - 04:43 AM |
|

Joined: Feb 07, 2007
Posts: 2395
Location: New Delhi, India
|
|
This helped me a great deal in Vista, but the last part might be useful in XP as well.
Quote:
To solve the COM surrogate error follow the steps
1. Click on start . Right Click on Computer and Select Properties
2. Click Advanced System Settings located at top left corner
3. Under the Performance field click settings
4. Go to Data Execution Prevention Tab
5. Select Turn on DEP for all programs and services except those I select
6. Click the Add.. button
7. Browse to c:\windows\system32 and select dllhost.exe . Click ok when done .
8. Click Apply.
9. Restart your computer and the problem will be solved .
Do you have DIVX or Nero installed? Both are known to cause this issue.
You can use FFDShow instead of Divx and for Nero you can rename NeVideo.ax
in C:\Program Files\Common Files\Ahead\DSFilter\
|
_________________ If you think education is expensive, try ignorance.
|
| |
|
|
|
|
|