≡ Menu

CSCCMD : Tool to manage Offline files in Windows XP

CSCCMD.exe is an useful tool to configure and control offline files operation. Various options available with this command are described below along with examples. Note that this tool works only on Windows XP & Server 2003 operating systems. It is not supported on Windows Vista and Windows 7.

To check if Offline Files is enabled from the command line run the following command

csccmd.exe /ISCSCENABLED

To enable offline files from the command line

csccmd.exe /ENABLE

To disable offline files from the command line

csccmd.exe /DISABLE

To get the list of files/folders marked for offline availability

csccmd.exe /RESID

To examine offline files cache folder and report if there are any errors in the cache.

csccmd.exe /CHECKDB

To display the folders in the local cache that are from serversharepath :

csccmd.exe /ENUM[:serversharepath]

To pin a file/folder for offline availability:

csccmd.exe /PIN:<serversharepath

Note that this will not  synchronize the file to local cache folder. To invoke synchronization we need to run the below fill command

csccmd.exe /FILL:serversharepath

To unpin a folder(remove offline files feature):
csccmd.exe /UNPIN:serversharepath

To delete a folder from CSC cache:
csccmd.exe /DELETE:serversharepath

To check if server is offline:
csccmd.exe /ISSERVEROFFLINE:server

To disconnect a share from client side cache:

csccmd.exe /DISCONNECT:servershare 

Once we disconnect the share, CSC will not try to synchronize the share. The share will be reconnected only when the user does manual synchronization by right clicking the share and then selectin synchronize.

Use the following command when the share is moved from one server to another server. Before running this command we need to ensure that the share is copied to the server.

csccmd.exe /MOVESHARE:oldserveroldshare newservernewshare

This updates the local cache tables with the new server location, so that CSC will try to synchronize the files from the new server.

To extract a file/folder from the local cache

csccmd.exe </EXTRACT:serversharepath /TARGET:Path

TARGET specifies the destination folder.

To set the size limit for the temporarily cached files:

csccmd.exe /SETSPACE:space-in-bytes

Please note that some of the options described above are available only with csccmd 1.1 version. If you get syntax errors, it could be that you are using old version of csccmd tool i.e csccmd.exe 1.0.

{ 7 comments… add one }
  • Daniel October 8, 2010, 5:33 am

    Hi, thanks for the info. Do you know where to download csccmd.exe 1.1 from? It does not seem to be publicly available. Please reply.

  • Srini February 11, 2011, 4:40 am
  • Robert April 3, 2011, 4:40 pm

    I already have a csccmd.exe version but I am not sure which version it is. Does the final v1.1 version has the MD5 hash DB99D3D2F84484A5066452BD91408720?

  • Srini April 5, 2011, 6:24 am

    Yes, that's the latest csccmd..I have got the same md5 hash for the csccmd.exe 1.1 I have on my computer.

  • Anonymous October 3, 2011, 1:08 pm

    The CSC directory was copied from winXP to win7.
    Is it possible to recover the files in it ?

  • Srini October 3, 2011, 1:09 pm

    No, that is not possible with csccmd. But there is a tedious way to recover the files. Try this if the files are essential for you and there is no backup.

    Check this article for info on this.
    Recovering XP offline files

  • Anonymous October 9, 2012, 1:07 pm

    Thank you for all this good information!
    I wonder if you can help me with two offline file issues with my work laptop. We use Windows XP SP3.
    1) Offline files has been working fine until a few days ago. Now, after synchronization ends, the synchronize window stays open until I click "CLOSE". It used to self-terminate after a few seconds.
    2) When the laptop boots up, file synchronization occurs twice! The first time is before any icons appear on the desktop, and the second is after the desktop icons are all there. Can you help me? Thanks again, Gordon

Leave a Comment