How to Relocate or Move Offline Files (Client Side Caching) Location in Windows 7 or Vista

Windows 7 or Windows Vista automatically creates a copy of the network files on local computer as cached offline files, in order to allow users to access the network files stored in a networked shared folder when the network connection is not available, or not connected. Offline files are accessed and used in the place of unavailable network copies, and are synced when the computer connects to network again.

Typically, the offline files cache is saved and stored in the location of %systemroot%\CSC folder. Users on computer is multiple partitions or multiple hard disks who want to move, relocate or migrate the offline files storage location to another folder or drive can use the following trick to get the job done.

Important Note: The following offline files cache location migration or change hack for Windows 7 and Windows Vista assumes user has the network connection to the shared folders established, and properly connected. The trick reset and delete existing offline files, so make sure that remote and local cached copy of files are synced.

How to Move Windows Vista Offline Files Cache Space

  1. Go to Control Panel, click on Network And Internet link, and followed by Offline Files link to open Offline Files properties sheet.
  2. Click on Disable Offline Files button to disable the feature if it’s currently enabled.

    Disable Offline Files

  3. Click OK button.
  4. Restart the computer.
  5. Run Registry Editor (RegEdit).
  6. Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

  7. Right-click CSC, point to New, and then click Key, and named the new registry key as Parameters.
  8. Right-click Parameters, point to New, and then click String Value, and name the new registry value as CacheLocation.
  9. Right-click CacheLocation, and then click Modify.
  10. In the Value data box, type the name of the new folder (make sure the folder is created) in which user wants to create the cache, in the following format:

    \??\drive:\folder

    Where it’s Windows NT format for folder path name, with drive for drive letter and folder as folder name. For example,

    \??\d:\csc

    Will assign new Offline Files cache saving location at D:\CSC folder.

  11. Restart the computer.
  12. Go to Control Panel, click on Network And Internet link, and followed by Offline Files link to open Offline Files properties sheet.
  13. Click on Enable Offline Files button to enable and turn on the feature.
  14. Click OK button.
  15. Restart the computer.
  16. All new shared folders on the network which made to available offline will be cached and saved to the new location.
  17. User can then take ownership of old Offline Files location, and delete the folder away.

How to Move or Relocate Offline Files Storage Location in Windows 7

  1. Open an elevated command prompt window, and run the following command to reset and delete the content of existing Offline Files cache:

    REG ADD "HKLM\System\CurrentControlSet\Services\CSC\Parameters" /v FormatDatabase /t REG_DWORD /d 1 /f

  2. Reboot the system to have the Offline Files cache removed. Once the Windows 7 detects the registry key, the cache will be reset, and the registry key removed (one time effect only).
  3. Run Registry Editor (RegEdit).
  4. Navigate to the following registry key:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

  5. Right-click CSC, point to New, and then click Key, and named the new registry key as Parameters.
  6. Right-click Parameters, point to New, and then click String Value, and name the new registry value as CacheLocation.
  7. Right-click CacheLocation, and then click Modify.
  8. In the Value data box, type the name of the new folder (make sure the folder is created) in which user wants to create the cache, in the following format:

    \??\drive:\folder

    Where it’s Windows NT format for folder path name, with drive for drive letter and folder as folder name. For example,

    \??\d:\csc

    Will assign new Offline Files cache saving location at D:\CSC folder.

  9. Restart the computer.
  10. Re-enable offline synchronization for the shared files and folders on the network. All new shared folders on the network which made to available offline will be synced and saved to the new location.
  11. User can then take ownership of old Offline Files location, and delete the folder away.

For users who want to preserve existing Offline Files data without connecting the the network share, follow these steps as provided by KB942960. However, the hack below only works on Windows Vista:

  1. Open an elevated command prompt, and type the following command, follow by ENTER:

    REG ADD “HKLM\System\CurrentControlSet\Services\CSC\Parameters” /v MigrationParameters /t REG_DWORD /d 1 /f

  2. Type the following command, and then press ENTER:

    %SystemDrive%:\Windows\System32\migwiz\migwiz.exe

  3. In the Windows Easy Transfer Wizard, select the following options:
    1. Click Start a New Transfer.
    2. Click My old computer.
    3. Click Use a CD, DVD or other removable media.
    4. Click External hard disk or to a network location.
    5. Type a path where you want to save the Savedata.mig file, and then click Next.
    6. Click Advanced options.
    7. In the Select user accounts, files, and settings to transfer dialog box, do the following:
      1. Clear all check boxes.
      2. Under System and program settings (all users), expand Windows Settings, expand Network and Internet, and then click to select the Offline Files check box.
      3. Repeat the previous step for each user who is listed on the page.
      4. Click Next to begin the transfer process.
  4. Click Start, type regedit in the Search box, and then press ENTER.
  5. Locate the following registry subkey, and then right-click it:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\CSC

  6. Right-click CSC, point to New, and then click Key.
  7. Type Parameters in the name box.
  8. Right-click Parameters, point to New, and then click String Value.
  9. To name the new value, type CacheLocation, and then press ENTER.
  10. Right-click CacheLocation, and then click Modify.
  11. In the Value data box, type the name of the new folder in which you want to create the cache. Use Microsoft Windows NT format for the folder name. For example, if you want the cache location to be d:\csc, type the following:

    \??\d:\csc

  12. Exit Registry Editor, and then restart the computer.
  13. At the elevated command prompt, type the following command, and then press ENTER:

    c:\windows\system32\migwiz\migwiz.exe

  14. In the Windows Easy Transfer Wizard, select the following options:
    1. Click Continue a transfer in progress.
    2. Click No, I’ve copied files and settings to a CD, DVD, or other removable media.
    3. Click On an external hard disk or network location.
    4. Type the path of the Savedata.mig file that was created in step 4e of the procedure in the “How to move the CSC folder in Windows Vista” section.
    5. Map the user account on the old computer to the corresponding user account on the new computer.
    6. Click Next, and then click Transfer.
    7. Restart the computer.
  15. When all the files are moved, delete the old cache from a Windows Vista system. To do this, follow these steps:
    1. At the elevated command prompt, type the following command, and then press ENTER:

      takeown /r /f c:\windows\csc

    2. At the elevated command prompt, type the following command, and then press ENTER:

      rd /s c:\windows\csc

One Response to “How to Relocate or Move Offline Files (Client Side Caching) Location in Windows 7 or Vista”

  1. James Abel
    February 17th, 2010 07:03
    1

    Do you know of an equivalent Windows 7 command to:

    csccmd.exe /moveshare:\\oldserver\oldshare \\newserver\newshare

    This is exactly what I need to do on several machines running Windows 7 and don’t want to have to re-sync them all. Any ideas?
    Many thanks in advance.

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to My Digital Life Comments RSS feed to receive notification of latest comments posted.

New Articles

Incoming Search Terms for the Article

windows 7 offline files location - offline files location windows 7 - offline files location - location of offline files windows 7 - move offline files windows 7 - windows 7 offline folders location - change offline files location windows 7 - move offline files - windows 7 offline file location - offline files windows 7 location - windows 7 offline folder location - move offline files folder windows 7 - relocate offline files - offline files folder location windows 7 - windows 7 offline files folder location - windows 7 move offline files - How to relocate the Offline Files folder in Windows 7 - windows 7 change offline files location - offline file location - location of offline files - offline files folder location - how to copy offline files - move offline files to new server - windows 7 offline files path - where are my offline files stored - Change the Location of Client-Side Cache - offline folder location windows 7 - windows 7 offline files folder - reset offline files "windows 7" - move csc windows 7 - offline files reset - windows 7 CSC location - how to relocate or move offline files - Offline Files Folder Windows 7 - offline files - offline files windows 7 - Relocate CSC - network share folder offline location - win 7 offline files location - windows 7 how to access offline files from command line? - location offline files windows 7 - move offline files "windows 7" - offline files storage location - windows offline files change drive - windows 7 offline file folder - migrate offline files - move offline files folder - change windows 7 offline files location - move offline folders windows 7 - reset offline files windows 7 - windows 7 offline folder path - change offline folder location windows 7 - reinitialize offline files windows 7 - windows 7 change offline folder location - windows 7 offline files - offline files change server - windows 7 offline files storage - Relocate Offline files windows 7 - move offline file location - windows 7 location of offline files - offline files storage - registry key to remove offline folders - where store offline files windows 7 - copy offline files - offline file add drive - Client-Side Caching Command-Line windows 7 - y - offline files run command - transfer offline files - offline file storage windows 7 - move offline files location - reset offline files - migwiz.exe command line - Offline Files Cache Mover - windows 7 change offline folder -