Search This Blog

Tuesday, January 4, 2011

Offline Files not working (Only local copy exists)

So you have a laptop that stopped syncing Offline Files for whatever the reason and the users says that there are files missing.  "I just was working on the files at home but when I get to work they're gone"  They're probably right.  So here is what you need to check out.  DO NOT RE-SYNC DATABASE BEFORE CHECKING FILES, YOU WILL LOSE ALL LOCAL ONLY FILES.

  • Open Windows Explorer > Tools > Folder Options >Offline Files Tab > Check Create an Offline Files shortcut on the desktop

  • Go to desktop and open Offline Files folder and sort synchronization column.  You should see "file is synchronized" and "only local file exists" These are the file you will need to extract before re-syncing the database.







To extract all the local only files follow the instructions below:
  1. Download CSCCMD v1.1: and copy to system32
  2. In a command prompt (DOS), type: csccmd.exe /extract:\\server\share  /target:c:\docs /recurse /onlymodified
    All your files with Only local copy exists status will be extracted to c:\docs
  3. If you have proper permissions you can copy back onto the network share csccmd.exe /extract:\\server\share  /target:\\server\share  /recurse /onlymodified
You can now Re-sync the Database two ways.
  1. Add a Reg Key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\NetCache
    Key Name: FormatDatabase
    Key Type: DWORD
    Key Value: 1
  2. Go back to Folder Options > Offline Files tab, hold down CTRL+SHIFT and click the Delete Files button.
Both options require a reboot. 

WARNING ALL FILES WILL BE DELETED FROM LOCAL CACHE AND RE-SYNCED AFTER REEBOOT






No comments:

Post a Comment