This registry tweak will stop Windows from caching DLL files in memory after a program has been closed.
Caution:
Incorrectly editing the registry may render your system inoperable - requiring the re-installation of Windows.
Editing the Registry:
Open the Registry Editor (RegEdit.exe).
Open HKEY_LOCAL_MACHINE to:
Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AlwaysUnloadDLL
In the right pane of RegEdit, right-click on (Default) and select Modify from the drop-down menu.
Note: If AlwaysUnloadDLL does not exist:
Create it by right-clicking in the right pane of the registry editor on Explorer and select New\Key from the drop-down menu.
Rename New Key #1 that is created to AlwaysUnloadDLL and press enter - then follow the instruction given above in step 3.
In the Edit String dialog box enter 1 in the "Value Data" section.
Click OK button.
Exit the Registry Editor (RegEdit.exe).
The change to the registry is reflected the next time the system is rebooted.
Restoring the Registry Setting:
To return to the default setting, open RegEdit and open HKEY_LOCAL_MACHINE to:
Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AlwaysUnloadDLL
Change the (Default) value to: 0 and reboot the system.
Completed Registry Setting:
| Hive | | HKEY_LOCAL_MACHINE |
|---|
| SubKey | Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ AlwaysUnloadDLL |
|---|
| Name | (Default) |
|---|
| Type | REG_SZ |
|---|
| Value | 1 |
|---|
Disclaimer:
This document is provided "as is" without any warranty of any kind, either expressed or implied. In no event will Sabresoft Systems be liable to you for any damages, including any loss of profit or savings, arising out of the use or inability to use the information contained in this document. Sabresoft Systems makes no representations or warranties with respect to the contents hereof and specifically disclaims any implied warranties of merchantability or fitness for any particular purpose.