Finding owner of 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)
 
M

Michael Solomon \(MS-MVP\)

I think before we can answer the question, we need to know why you are
trying to delete dlls. What you are doing is dangerous. While some dlls
are installed by various applications, some are required by the system.
Just because an application was using a dll and the application was removed
does not necessarily mean all dlls used by the application should be
removed.

Generally, right clicking a file and selecting its properties will tell you
with what application it is associated. However, as mentioned, some such
dlls belong to the system and as such cannot be deleted.

I believe there are some third party applications that can tell you with
what applications a dll is associated but I'm not aware of anything that can
tell you specifically which application is using a specific dll. You might
want to make sure your antivirus application is up to date and do a virus
scan. You also should check for any malware on your system, download,
install and run Ad Aware:
www.lavasoftusa.com

The above will at least tell you if there's something else running on your
system that shouldn't. Also, instead of just looking at the application tab
in task manager, you should also look at the processes tab. Many such
processes you will recognize as perhaps being associated with some
application on your system. Others may be system related and any of them
might be running in the background. You should also check what runs when
you boot the system. Check the startup folder on the Start Menu, also from
start, type msconfig in the run box and press enter, go to the startup tab
and you will see a list of what is starting on bootup. Note, it is not
unusual to see more than one instance of svchost.exe in the task list, these
are usually system services but you should check viruses and malware as
mentioned above as they might attach to system services.

For an explanation of various services and what is necessary you might want
to check the following website:
www.blackviper.com
 
G

Guest

When you see the "programs in use" message and you know there are no apps
actively open...

Hit "control alt del"...click on "processes" and find the app that needs to
be killed and disable it. QUICKLY, as some like to reappear, find the file
in Windows Explorer and KILL it.

Deed done. Just be sure you are deleting the correct files.

Chief Naka
 

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