Jump to content

my \%systemroot%\system32\dllcache is too big


Recommended Posts

Posted

Is it safe to move the DLLCACHE folder off my system partition, if I change

the registry entries indicated below. I found the below instructions for

doing this on Windows 2000 but I need confirmation that it is okay to do this

in Windows Server 2003. Need to free up some disk space. TIA,

 

.. By default, the DLL cache is stored in \%systemroot%\system32\dllcache.

To move the DLL cache, complete the following steps:

1. Start the registry editor (regedt32.exe not regedit.exe).

2. Move to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows

NT\CurrentVersion\Winlogon.

3. From the Edit menu, select Add Value.

4. Set the name to SFCDllCacheDir and the type to REG_EXPAND_SZ. Click OK.

5. Enter the string for the cache’s new location (e.g., C:\files\dllcache),

and click OK. (The location must be a local path.)

6. Close the registry editor.

  • Replies 3
  • Created
  • Last Reply
Guest Dave Patrick
Posted

Re: my \%systemroot%\system32\dllcache is too big

 

You might look at the purgecache and cachesize switches.

 

 

sfc [/scannow] [/scanonce] [/scanboot] [/revert] [/purgecache]

[/cachesize=x]

 

Parameters

/scannow

Scans all protected system files immediately.

/scanonce

Scans all protected system files once.

/scanboot

Scans all protected system files every time the computer is restarted.

/revert

Returns the scan to its default operation.

/purgecache

Purges the Windows File Protection file cache and scans all protected system

files immediately.

/cachesize=x

Sets the size, in MB, of the Windows File Protection file cache.

 

 

--

 

Regards,

 

Dave Patrick ....Please no email replies - reply in newsgroup.

Microsoft Certified Professional

Microsoft MVP [Windows]

http://www.microsoft.com/protect

 

"mikew" wrote:

> Is it safe to move the DLLCACHE folder off my system partition, if I

> change

> the registry entries indicated below. I found the below instructions for

> doing this on Windows 2000 but I need confirmation that it is okay to do

> this

> in Windows Server 2003. Need to free up some disk space. TIA,

>

> . By default, the DLL cache is stored in \%systemroot%\system32\dllcache.

> To move the DLL cache, complete the following steps:

> 1. Start the registry editor (regedt32.exe not regedit.exe).

> 2. Move to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows

> NT\CurrentVersion\Winlogon.

> 3. From the Edit menu, select Add Value.

> 4. Set the name to SFCDllCacheDir and the type to REG_EXPAND_SZ. Click OK.

> 5. Enter the string for the cache’s new location (e.g.,

> C:\files\dllcache),

> and click OK. (The location must be a local path.)

> 6. Close the registry editor.

>

>

  • 2 weeks later...
Guest mikew
Posted

Re: my \%systemroot%\system32\dllcache is too big

 

Thanks. I guess its not safe to move it.

 

"Dave Patrick" wrote:

> You might look at the purgecache and cachesize switches.

>

>

> sfc [/scannow] [/scanonce] [/scanboot] [/revert] [/purgecache]

> [/cachesize=x]

>

> Parameters

> /scannow

> Scans all protected system files immediately.

> /scanonce

> Scans all protected system files once.

> /scanboot

> Scans all protected system files every time the computer is restarted.

> /revert

> Returns the scan to its default operation.

> /purgecache

> Purges the Windows File Protection file cache and scans all protected system

> files immediately.

> /cachesize=x

> Sets the size, in MB, of the Windows File Protection file cache.

>

>

> --

>

> Regards,

>

> Dave Patrick ....Please no email replies - reply in newsgroup.

> Microsoft Certified Professional

> Microsoft MVP [Windows]

> http://www.microsoft.com/protect

>

> "mikew" wrote:

> > Is it safe to move the DLLCACHE folder off my system partition, if I

> > change

> > the registry entries indicated below. I found the below instructions for

> > doing this on Windows 2000 but I need confirmation that it is okay to do

> > this

> > in Windows Server 2003. Need to free up some disk space. TIA,

> >

> > . By default, the DLL cache is stored in \%systemroot%\system32\dllcache.

> > To move the DLL cache, complete the following steps:

> > 1. Start the registry editor (regedt32.exe not regedit.exe).

> > 2. Move to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows

> > NT\CurrentVersion\Winlogon.

> > 3. From the Edit menu, select Add Value.

> > 4. Set the name to SFCDllCacheDir and the type to REG_EXPAND_SZ. Click OK.

> > 5. Enter the string for the cache’s new location (e.g.,

> > C:\files\dllcache),

> > and click OK. (The location must be a local path.)

> > 6. Close the registry editor.

> >

> >

>

Guest Dave Patrick
Posted

Re: my \%systemroot%\system32\dllcache is too big

 

No, not recommended.

 

--

 

Regards,

 

Dave Patrick ....Please no email replies - reply in newsgroup.

Microsoft Certified Professional

Microsoft MVP [Windows]

http://www.microsoft.com/protect

 

"mikew" wrote:

> Thanks. I guess its not safe to move it.


×
×
  • Create New...