Home : Registry : Security : Forums : Software Contacts 
Registry Guide for Windows

Registry Guide for Windows

Part of the WinGuides Network
WinGuides Network and Software
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.
 
[Advanced Search]


Recommended Download: Registry Mechanic

Already a member? Sign in  Not a member? Register 
Recommended Download: Tweak Manager

Home > Windows > System

Force Windows to Unload DLLs from Memory (All Windows) Popular
Windows Explorer caches DLLs (Dynamic-Link Libraries) in memory for a period of time after the application using them has been closed. This can be an inefficient use of memory on low memory systems, and may cause problems or delays for programmers developing with Windows DLL files.

Download this tweak with Tweak Manager!This tweak can be easily applied using WinGuides Tweak Manager.
Download a free trial now!

Open your registry and find the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer].

Create a new sub-key named 'AlwaysUnloadDLL' and set the default value to equal '1' to disable Windows caching the DLL in memory.

Restart Windows for the change to take effect.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ"1"|
-
|HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion...|
-

Registry Settings
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
AlwaysUnloadDLL]
Value Name: Default
Data Type: REG_SZ (String Value)
Value Data: (1 = enable)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: October 21, 2001


Copyright © 2003 GuideWorks. All rights reserved. Privacy Policy:Legal Notices