Skip to content
June 2, 2007 / Upnishad

Managing \dllcache folder in XP

%WINDOWS%\system32\dllcache\ folder on my work machine gobbled up 500 Megs of my precious C drive and left me with a slow pathetic machine.

What on earth does it contain ? WinXP uses System File Checker to protect itself from system instability caused by 3rd party software overwriting important system files. By default, Windows File Protection is always enabled and allows Windows digitally signed files to replace existing files safely. To do that, the Windows File Protection service constantly monitors for any changes to the main system files. Well Windows XP keeps a cache (copy) of these essential files at the following location:

C:WINDOWS\System32\Dllcache (assuming C: is your system root which it probably is.)

Deleting this folder is easy, just say this at the command prompt:

sfc /purgecache

But this cache will be rebuild next time you restart the machine. But, its easy to redirect this cache to a larger partition. Just do the following :

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Modify or create a subkey as follows

Technorati tags: ,

One Comment

Leave a Comment
  1. Dis Guy / Aug 10 2008 12:42 am

    The dllcache doesn’t slow down your machine. It consumes a little disk space but it has no effect on performance. You can open it and delete the files manually if you wish (you’ll need your install cd if SFC needs to replace files that have been deleted or corrupted.).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: