Finding owner program of a process and killing it

G

Guest

I tried to delete some dlls but they were in use. How can I find the program
that is using the dlls and then kill the program? (Even though I had no
program running (in the task manager) I was still unable to delete the dlls)
 
W

Will Denny

Hi

One .DLL file may be used by more than one program. Are these .DLL files MS
ones or 3rd party ones? So long as there aren't too many, perhaps you would
like to post the names of the files here?
 
G

Guest

That is not a very smart move. Some DLLs (Dynamic Link Libarries) are
shared, meaning they are used by more than one application. LEAVE DLLs ALONE!
 
J

Jock Strap

Byte said:
That is not a very smart move. Some DLLs (Dynamic Link Libarries) are
shared, meaning they are used by more than one application. LEAVE
DLLs ALONE!

Depends on the DLL, of course. If you're running an app called MyApp.exe
and it
has an associated DLL called MyApp.dll then it's fairly safe to assume that
killing
MyApp.dll is okay to do.
 
W

Will Denny

Jock Strap said:
Depends on the DLL, of course. If you're running an app called MyApp.exe
and it
has an associated DLL called MyApp.dll then it's fairly safe to assume
that killing
MyApp.dll is okay to do.

Hi

In that circumstance, yes, it 'may' be safe to the particular .DLL file.
However, can you be 100% sure that another program didn't install that file
beforehand and may still need it?
 
G

Guest

Jock, you're part-right. Most (99.9%) DLLs DO NOT have associated names.
Some present-day applications have uninstall features which include
deleting the DLLs. Deleting a dll can be fatal to another program. If
you are an expert, delete to your hearts content, but to a novice,
LEAVE THEM ALONE.
 
J

Jock Strap

Will said:
In that circumstance, yes, it 'may' be safe to the particular .DLL
file. However, can you be 100% sure that another program didn't
install that file beforehand and may still need it?

Like I said, it depends on the name and how unique that name is.
If you installed an app called "HiThereMatey" and you found a
DLL named "HiThereMatey.dll" in your System folder, then it's a
fairly safe bet that no other app installed it. :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top