How to get the installed API into the Windows registry?

Hi folks.

How can I get the installed DLL into the Windows registry for removing them with prompt command?