Skip to content
November 14, 2006 / 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
SFCDllCacheDir=[Disk:\Folder]

Advertisements

One Comment

Leave a Comment
  1. Cosmosoft / Sep 1 2008 2:08 pm

    DLL cache

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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: