Relocate the CSC file for offline files

How to change the location of the offline sync folder

 

  1. Log in as a user with administrative rights, e.g. the local Administrator account.
  2. Create the directory to be used by the new CSC database, e.g. D:\CSC.
  3. Run regedit.exe and navigate to:
  4. HKEY_LOCAL_MACHINE
  5. System
  6. CurrentControlSet
  7. Services
  8. CSC
  9. Parameters
  10. Add a new DWORD named FormatDatabase and set its value to 1 (the digit one). This DWORD forces Windows to erase/reinitialize the current CSC database. The DWORD will be automatically removed once the CSC database is ready.
  11. Reboot the computer.
  12. Log in as a user with administrative rights.
  13. Run regedit.exe and navigate to:
  14. HKEY_LOCAL_MACHINE
  15. System
  16. CurrentControlSet
  17. Services
  18. CSC
  19. Parameters
  20. Add a new string named CacheLocation and set its value according to this format:
    \??\Drive:\Folder
    That’s one backslash, followed by double question marks, followed by another backslash, followed by the drive letter in question, followed by a colon, followed by a third backslash, and finally add any pathname relative to the root directory of the drive in question. Note, this should be a drive letter for a local drive/partition, otherwise you’d defeat the purpose of offline files in the first place. The use of any root directory should be avoided at all cost.
    E.g. \??\D:\CSC
  21. Reboot the computer.
  22. The old CSC database is now just an empty CSC database and may be left in place. A new CSC database will be established at the selected location.
  23. Log in as any normal user and (re)establish the use of offline files.

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>