Can I delete contents of DLLCACHe folder?

  • Thread starter Thread starter David Candy
  • Start date Start date
Hi Michael

Yes, you can delete the contents of that folder, but have a look at it again
when you next reboot your system.

--

Will Denny
MS-MVP Windows - Shell/User
Please reply to the News Groups


| I noticed that the following 'hidden' folder uses almost 500MB of disk
| storage:
|
| C:\WINDOWS\SYSTEM32\DLLCACHE
|
| So my question is can I delete the contents of this folder?
|
| If not is there an application that will clean this up?
|
| TIA.
|
| Michael T.
|
|
 
To keep the Windows partition lean, you can re-direct it to
a different disk/partition & change a Registry key to reflect
the change.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Modify or create a subkey as follows
SFCDllCacheDir=[Disk:\Folder]

It hurts nothing to do a Purgecache and leave it empty. However,
the first time System File Checker detects an event, it will prompt
you to rebuild the DllCache. A normal populated Dllcache will
likely have 2500 - 3200 files in it consuming around 500 Meg.
You can also set the Dllcache folder size, from a command prompt
type Sfc /Cachesize = xxx ( I use 600 Meg).
 
It only prompts administrators (and that can be turned off). For a user it tries to find the install media, and if it can't it doesn't worry about it. As it's only purpose is to repair FAULTY programs it doesn't really matter if it works or not on most programs.

--
----------------------------------------------------------
http://www.counterpunch.org/bageant06132004.html
R. McCarty said:
To keep the Windows partition lean, you can re-direct it to
a different disk/partition & change a Registry key to reflect
the change.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Modify or create a subkey as follows
SFCDllCacheDir=[Disk:\Folder]

It hurts nothing to do a Purgecache and leave it empty. However,
the first time System File Checker detects an event, it will prompt
you to rebuild the DllCache. A normal populated Dllcache will
likely have 2500 - 3200 files in it consuming around 500 Meg.
You can also set the Dllcache folder size, from a command prompt
type Sfc /Cachesize = xxx ( I use 600 Meg).



Will Denny said:
Hi Michael

Yes, you can delete the contents of that folder, but have a look at it
again
when you next reboot your system.

--

Will Denny
MS-MVP Windows - Shell/User
Please reply to the News Groups


| I noticed that the following 'hidden' folder uses almost 500MB of disk
| storage:
|
| C:\WINDOWS\SYSTEM32\DLLCACHE
|
| So my question is can I delete the contents of this folder?
|
| If not is there an application that will clean this up?
|
| TIA.
|
| Michael T.
|
|
 
Hi, Michael.

Where (in the world) are you?

You need to set your Time Zone. Your computer thinks it is in Redmond,
Washington, USA, at Microsoft headquarters. If you really are in GMT -0700,
then your date is set wrong.

And, as the others have said, dllcache is a big part of Windows File
Protection, which tries to protect us from inadvertently deleting or
damaging critical WinXP files. Or from malware intentionally changing those
programs. When we run the System File Checker, it compares the operating
copies of WinXP DLLs and other files with those in dllcache and replaces any
missing or damaged ones. Having "known good" copies in dllcache means that
SFC doesn't have to get them from the WinXP CD-ROM. Also, each time we
apply a Service Pack or other hotfix, the copies in dllcache get updated,
too, so many of those files are newer than the copies on the CD.

Unless you are really hurting for disk space, you're better off to leave
dllcache in place.

RC
 
Sorry about the computer clock and the date stamp of my post. I can't
believe it was set to the 27th. I get so upset at others who neglect this. I
have to go wipe the egg off my face now.
 
I have no such folder on my system. What version of XP are you running? I
have searched for this folder, with the Show Hidden System Folders and Files
option enabled, and I don't have it.
 
I noticed that the following 'hidden' folder uses almost 500MB of disk
storage:

C:\WINDOWS\SYSTEM32\DLLCACHE

So my question is can I delete the contents of this folder?

If not is there an application that will clean this up?

TIA.

Michael T.
 
That's the self repair facility. Type sfc /purgecache

Kudos David.

In 30 seconds I eliminated 500 MB. Voila!

Thank you to the other posters as well. I now know that if I want my
anti-virus program and Ad-aware too execute faster, I should purge the cache
first.

Michael
 
Back
Top