When you run programs, Windows XP stores files known as DLLs in memory. When you close the programs, it usually leaves them there for later use but this can slow down the computer. If you are fine editing the Windows Registry, this can be fixed – but make suitable backups first and take great care. Click Start, then Run, type regedit and press Enter.
Click the plus sign next to HKEY_LOCAL_MACHINE, then SOFTWARE, then Microsoft, Windows, and Current Version. Select the Explorer folder. Click Edit, then New, then DWORD Value. Name the new entry AlwaysUnloadDll, press Enter, then double-click the item and assign it a value of 1. From now, DLL files will be removed from memory when programs are closed.