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.
- alwaysunloaddll windows 7 (502)
- alwaysunloaddll (182)
- always unload dll windows 7 (112)
- unload dll windows 7 (93)
- windows 7 unload dll (76)
- windows 7 AlwaysUnloadDLL (48)
- windows 7 always unload dll (45)
- alwaysunloaddll win7 (40)
- always unload dll (37)
- alwaysunloaddll windows 7 64 bits (17)
- unload unused dll windows 7 (16)
- alwaysunloaddll sur seven (15)
- always unload dll win7 (12)
- unload unused dll (11)
- unload dll from memory windows 7 (4)
- SpeedupWindows7byforcingittounloadunusedDLLsanddeletecachedones:FreeTutorials (3)
- allways unload dll (2)
- always unload dlls to free up memory (2)
- WIN7 AlwaysUnloadDLL (1)
- windows 7 64 bits AlwaysUnloadDll SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer (1)
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.