List all DLLs Loaded on a System

Posted On 2007-04-14 by FortyPoundHead
Tags: Tip Windows XP
Views: 1823

For computer management, software error diagnosis, or spyware or virus diagnosis, it may prove useful to display the list, size, and version of all DLLs currently loaded on a particular Windows XP machine. This can be done on the command prompt with the listdlls command, available from the SysInternals site, part of Microsoft Technet.

Simply download the zip file, unzip the executable inside to your main Windows directory, and you can display the list of loaded DLLs at the command prompt:


You should either pipe the results to more or to a text file as the list is rather lengthy.

A few command line arguments are supported:

process name or PID

Displays the list of DLLs associated with the process name or PID (partial process names are accepted).

For example, the following command displays all DLL files associated with Windows Notepad:

listdlls notepad


Displays the processes that have loaded the DLL file DLLNAME.

For example, do you need to determine if your machine is still vulnerable to the GDI+ vulnerability involving buffer overruns when processing JPEG files (refer to Microsoft Security Bulletin MS04-028)? The following command displays which currently-loaded processes load gdiplus.dll and which versions are loaded:

listdlls -d gdiplus


Flags relocated DLLs that did not load at the base address.

Sysinternals ListDlls

About the Author

has posted a total of 1974 articles.

Comments On This Post

No comments on this post yet!

Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.

Your IP address is:

Before you can post, you need to prove you are human. If you log in, this test goes away.

Code Links