Which files are my processes using? - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 08-03-2004, 10:42 PM   #1 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default Which files are my processes using?

It really irritates me when I get the error message: Cannot delete blank.***. It is being used by another person or program. Well, WHICH person or program is using it?!

So I'm curious, is there a utility in Windows or some freeware that will allow me to view which programs or processes are using which files at any given time?

Any response will be greatly appreciated.
__________________

Bjostwick is offline  
Old 08-03-2004, 11:54 PM   #2 (permalink)
Super Techie
 
Join Date: Jul 2004
Posts: 303
Send a message via AIM to s0me0ne Send a message via Yahoo to s0me0ne
Default

alright here we go, I think it irritates everyone.... especially if you know its a virus/adware or some other shady process that you know you want to kill. The simplest tool there is is none other then taskmanager.... just look for that x83ks7dj3j.exe or what have you and end process.... if that doesn't work search the web for something called kill.exe BUT! be cafull because this simple tool is mainly found in rootkits/ircbot nets/other none sysadmin/localadmin friendly things. armed with this tool if you open task manager then click on the show PID or something like that (sorry no win boxes handy) then you can see there PID assigned to that process. Open a DOS shell, goto the dir with kill and
C:\>kill.exe <pid> ===> kill 1723 and she'll be gone....It might just be spawned again right after that but its gone. Another good tool for finding out what process is what files/dir is spybot... they have some nice stuff if you put it into advanced mode. check out the process button and you'll get a little better idea.... just be scared of what you kill from the C:\%systemroot%\system32 dir :P There might be other tools out there but those two get me by most of the time. Oh! another fun prog by www.foundstone.com is FPORT. This lil' fella will show you what port matches up to what service/program/exe/what ever. just a little neat thing some one told me about. Alright I'm sure this isn't totally the best reply ever but I hope its enough to get the ball rolling. Enjoy.
__________________

__________________
Anal nerd who can\'t spell.
s0me0ne is offline  
Old 08-04-2004, 02:25 AM   #3 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default

Thank you for the response. The reason I'm curious about this, is that when I try to install WINXP service pack 1, during the installation I get the error message:

The file:\windows\system32\drivers\atapi.sys is open or in use by another application.

So, more specifically, I'm interested in seeing which process is running atapi.sys, or where it is loaded into memory. Since you can't find or manipulate atapi.sys in the Task Manager, I'd like to know how you can.
Bjostwick is offline  
Old 08-04-2004, 04:35 PM   #4 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

uninstall daemon tools and rerun
office politics is offline  
Old 08-04-2004, 06:16 PM   #5 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default

Yes, uninstalling Daemon Tools works for the installation of SP1, thank you. My original question still stands:

"is there a utility in Windows or some freeware that will allow me to view which programs or processes are using which files at any given time?"
Bjostwick is offline  
Old 08-05-2004, 04:43 AM   #6 (permalink)
Monster Techie
 
Join Date: May 2004
Location: USA
Posts: 1,178
Default

I was curious as well, with Bjostwick...for I have the problem of every time I shutdown the computer (or restart),
RUNDLL32.EXE is in use, Press End Now or Windows will Automatically End it in 30 Seconds...
and it never ends it (even after the 30 seconds), so I have to stay there and press End Now every time I shut it off. Gets rather annoying, but I'm not fed up enough to check which process it is, for I have so many Unless there is a prog for it! That'd be handy.
__________________
Vormund is offline  
Old 08-05-2004, 11:55 AM   #7 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

ive asked for a program like this on many boards in the past. I've come to the conclusion that this program does not exist. Take this post to the programmers lounge, see what they can do.
office politics is offline  
Old 08-05-2004, 12:51 PM   #8 (permalink)
Master Techie
 
Join Date: Oct 2003
Posts: 2,258
Default

Ok guys,

here are a few tools that if used together will help you in your quest for this information. They are made by Winternal same site name and can be found here (http://www.sysinternals.com/)

FileMon: this is the first utility. It will tell you what process is doing what with your system. it is a very fast program and you will have to learn how to manipulate the data so you can understand it.
ProcXP: This is a very cool tool at it will tell you all that a process is doing while active. Even the associated files being used, but is it not super easy to read.

Good Luck
Inaris is offline  
Old 08-06-2004, 09:14 AM   #9 (permalink)
Monster Techie
 
Join Date: May 2004
Location: USA
Posts: 1,178
Default

Inaris...I thank you *much*...ProcXP let me see precisely what program was causing my hang...and it's no-more!! As I said, thanks!
-X
__________________
Vormund is offline  
Old 08-09-2004, 11:54 PM   #10 (permalink)
Newb Techie
 
Join Date: Aug 2004
Posts: 5
Default

Yes, thanks Inarus.
__________________

Bjostwick is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 03:32 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.