ghacks Technology News

Move dllcache to another drive

My dllcache folder in system32 has a size of almost 450 Megabytes on my Windows partition. The dllcache is used to replace a system file (dll) that has been changed with the original one. It bothers me that this feature of Windows takes up so much space on my hard drive. It is even more serious in my case because I decided to have a rather small Windows partition, every byte counts if you know what I mean.

The idea was born to move the dllcache folder to another drive while keeping its functionality. To change the location of the dllcache folder you open the Registry (Windows R, regedit32, enter) and navigate to the key HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion\ Winlogon and create a New expandable string value.

Name it “SFCDllCacheDir”. Double-click it afterwards and add the new drive as the new value for this registry entry (for instance e:\dllcache)

After rebooting your computer for the next time you will probably be prompted to put the Windows XP CD into the drive so that some files can be copied from it to the new dllcache location. Another way would be to simply move the files from the old folder into the new one.

If this is not happening automatically on your system you can use the command sfc /scannow to force Windows to fill the new folder with the files.

Enjoyed the article?: Then sign-up for our free newsletter or RSS feed to kick off your day with the latest technology news and tips, or share the article with your friends and contacts on Facebook or Twitter.

Related Articles:

Move MyDocuments to another drive
How To Move The Steam Folder To Another Drive
How To Move Large Apps Or Games To Another Drive
Move Steam To Another Hard Drive
List Newest Files Of A Drive Or Folder With Drive Sort



About the Author:Martin Brinkmann is a journalist from Germany who founded Ghacks Technology News Back in 2005. He is passionate about all things tech and knows the Internet and computers like the back of his hand. You can follow Martin on Facebook or Twitter.

Author: , Monday November 5, 2007 -
Tags:, ,


Leave a Reply   Follow Ghacks   Subscribe To Comment Rss

Subscribe without commenting

© 2005-2012 Ghacks.net. All Rights Reserved. Privacy Policy - About Us