Windows is often quite slow in unloading DLLs. Even when programs using given DLLs quit, Windows can ‘carry’ around the DLLs for quite a while until it unloads them. Well we will show you how to force Windows 7 to unload them and to delete the cached ones.
Like so many ‘hacks’ this one is done by modifying the registry.
Open the Start menu, enter regedit in the Start menu search box and press Enter:
The registry editor will open:
In the left pane navigate to HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer:
In the right pane, right-click and select New > DWORD (32-bit) Value:
Name the DWORD AlwaysUnloadDLL:
Double-click on it and a new window will open:
In the Value data textbox enter the value 1:
Press OK, close the Registry Editor and restart Windows for the changes to take effect.
Filed Under: Windows 7
About the Author: Anthony G. is an IT specialist with more than 9 years of solid working experience in the Web Hosting industry. Currently works as server support administrator, involved in consultative discussions about Web Hosting and server administration. One of the first writers in the Onlinehowto.net website, now writing for Free Tutorials community - he is publishing tutorials and articles for the wide public, as well as specific technical solutions.