How To Reinitialize The Offline Cache in Windows 7

How To Reinitialize The Offline Cache in Windows 7

by MGD King Tuesday, July 20, 2010 11:08 AM

Sometimes you just have too many conflicts when synchronizing your offline files in Windows 7 that you have to start over, but gone are the days of CTRL+SHIFT and clicking the Delete Files button in “Folder Options” like you did back in Windows XP to clear out the CSC (Client Side Cache) folder. Well, here’s how I’ve discovered how to clear the cache and start over.

There’s two methods that can use to do this and both make me feel like I’m performing open heart surgery with a chainsaw, and I have found them both affective, but I am only going to cover the Registry Method as it’s a little safer or at least seems a little safer.

DISCLAIMER: Always create a restore point before editing the registry!!! If you render your computer inoperable because of modifying your registry then you will have a better chance of recovery. I am not responsible in the event that you do turn your computer into a door stop. There, you’ve been warned.

Registry Method

  1. Make sure that your files and folder have been synchronized. Reinitializing the cache prior to synchronizing will cause you to lose any data that isn’t synchronized.
  2. Click Start, type regedit in the Start Search box, and then press ENTER.
    If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
  3. Locate the following registry subkey, and then right-click it:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

  4. Point to New, and then click Key.
  5. Type Parameters in the box.
  6. Right-click Parameters, point to New, and then click DWORD (32-bit)Value.
  7. Type FormatDatabase, and then press ENTER.
  8. Right-click FormatDatabase, and then click Modify.
  9. In the Value data box, type 1, and then click OK.
  10. Exit Registry Editor, and then restart the computer. 

This method successfully worked for me when I had to flush my Offline Files cache and it’s the same method as described in Microsoft KB Article 942974 so it should work. However, it may not fix your particular issue as all it will do is reinitialize the Offline Files. I’ve got another issue that I’m currently investigating and this was one of the troubleshooting steps.

Good luck!

Comments (3) -

Steve_Morar
Steve_Morar
Wednesday, September 14, 2011 at 6:52 AM #

I have had success with this article in my domain environment.

cyberst0rm.blogspot.com/.../...ne-files-cache.html

Hope this helps.

Reply

MGD King
MGD King
Wednesday, September 14, 2011 at 8:17 AM #

Good find Steve! Looks like the FormatDatabase reg key is the answer!

Reply

F5F5F5
F5F5F5
Thursday, December 15, 2011 at 4:29 PM #

Thanks - that worked a treat for me. I have made it into a reg file that I can just double-click on and reboot my machine if I need it again. Like this:
Open notepad type in:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\CSC\Parameters]
"FormatDatabase"=dword:00000001


save the file as ResetCscDatabase.reg, Keep in a safe place where it won't get lost. Double-click the file icon if you need to use it. When you do double-click, windows will ask you if you want it to change windows - agree, then restart windows.  

Reply

Pingbacks and trackbacks (1)+

Add comment

biuquote
  • Comment
  • Preview
Loading

Who Is MGD King?

MGD KingA lot of people ask me what does MGD King mean? Well, it was a nickname given to me because I used to drink large quantities of Miller Genuine Draft. Someone mentioned to me that I was the King of MGD, and so it stuck.

Latest Comments

Comment RSS