Offline Folders - How to undo?

Forgive me if the answer to this is in another question; I could not locate...

I have a laptop running WindowsXP that is used at both my office and at home. I enabled Offline Files while at work and have a couple of network folders (accessed via mapped network drive) synced regularly.

At home I enabled file sharing on my desktop and am able to access from the laptop. Here is the issue: After specifying one of the desktop's folders as "Make Available Offline" and rebooting, I can no longer see any of the desktop's other folders (the ones not specified as "Make Available Offline"). If I reconfigure the laptop to not use Offline Files and reboot, then I am able to access the desktop and all of its folders; however, I can not find a way to "uncheck" the "Make Available Offline" setting for the desktop folder.

Any advice?
Who is Participating?
johnb6767Connect With a Mentor Commented:
OK, so you have 1 location for home, and 3 for the office, correct? The following is a few command lines that I have scripted to reset Offline Files, and to reset invalid synch locations.

If the Office ones are set by Policy, then they will rebuild on thier own. The home one I assume is not GPO controlled, so that will need to be setup as well.

This also reinitializes the Offline Files database, wiping out ALL locally cached copies of the files. If you follow the steps, and use csccmd.exe, to extract the offline copies, you will NOT lose any data.

In the code snippet you will find the lines, just copy them all in sequence, once the files are extracted......

Please do not reinitialize the CSC database until you verify all files are in synch...
To make sure that the Offline Files are all in Synch.....
If the Offlines Files folder shows files not synchronized, or only local copy exists, please follow here....
Get the following from the web....
Features and functions in version 1.1 of the Client-Side Caching ...
DL it here....Copy it to C:\windows\system32
Then run the following command....
csccmd.exe /extract /target:C:\ExFiles /recurse
csccmd.exe /extract /target:C:\ExFiles /recurse /onlymodified
If you see it extracting data, then go to c:\ExFiles and see whats present....
Once this is verified.....
Rt click My Computer>Properties>Advanced>User Profiles, and remove non primary profiles from the machine....
Then once the user profiles are removed.....
Uncheck all locations in the Synch Manager, then click the Setup Tab
and uncheck all locations under the Logon/Logoff and Idle page....
Then. Paste the following commands into the CMD window.
(Or make a batch file, and share it with your friends... )
reg add "hklm\SOFTWARE\Microsoft\Windows\CurrentVersion\netcache" /v FormatDatabase /t reg_dword /d 00000001
reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\shares" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /ve
reg delete "hkcu\Software\Microsoft\Windows\CurrentVersion\netcache\AssignedOfflineFolders" /f
reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\AssignedOfflineFolders" /ve
Then log back in, and the Adminstratively Assigned offline files key will rebuild. Might take 2 reboots....
Restart once more, and you should see the redirected folders rebuilding....

Open in new window

Try this command to uncheck (turn off) offline files for the share.

net share name_of_shared_folder /cache:none
You can disable offline files by simply going to folder options( Control panel-> folder options) then click on the offline fles tab and then uncheck enable offlne files to disable offline files.
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

I wouldnt disable them yet. Might be that you are simply canceling the Synchronization Window?

Start>run>mobsync /logon

Do the Desktop's files appear?

Are you set to Synch at logon and logoff?
rsorrentAuthor Commented:
pml ravi: I either get "shared resource does not exist" or I get the syntax of the command; I am sure I am making a fundamental mistake in specifying the share name. Attached is a screenshot of the properties for the shortcut to the shared network resource

mohd haq: I prefer not to disable sharing

johnb6767: No luck there
How are you accessing the Desktop PC? Mapped Drive, UNC, Shortcut?

Try creating a shortcut to the share using the IP....

rsorrentAuthor Commented:
jonhb: I am accessing via a shortcut to the UNC path. I cannot use the IP as my router dynamically assigns the IP and it is not always the same
I would be curious to see if you could at least try it for testing purposes....

If it works, then it is a synchronization error itself, where it sees the desktop as "Offline", and wont connect even though it is connected to the network....

Do you have the little synchronization icon in the system tray? If so, what does it show when you access it?
rsorrentAuthor Commented:
johnb: Accessing via IP worked. Here is what I also noticed:

1. Upon booting, when the sync dialog opens to report progress it shows two other shares (from my office) that I have also set to "Work Offline" but not the home desktop. Those two office shares are unavailable so the sync does nothing; however, it is interesting that this home dekstop does not show.

2. The "sync" icon in the tray is not there

3. When I am at work, the "sync" icon is in the tray and it shows that the home dekstop has failed to sync.

reg query "reg add "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /s

Post the results please...

reg query "hkcu\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares" /s
rsorrentAuthor Commented:
I've replaced the portions of the entries that specify my office shares with variables in curly braces for security reasons.



HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares\//{office server 3}/QALeads
    ID  REG_BINARY      A4A517BF253BFB42A5DF741EAE3E7600
    LastSyncTime        REG_BINARY      BA277EC21FC5C901

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares\//{office server 1}/{share 1}
    ID  REG_BINARY      5C460BF9AF3F3848932B7C4263621FB1
    LastSyncTime        REG_BINARY      241B8AC21FC5C901

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\Shares\//{office server 2}/SLTeam
    ID  REG_BINARY      BB5351E622CADB44A1EAF3C7F097164F
    LastSyncTime        REG_BINARY      58E248ABB67FC901

lph-56k4olzue/my documents
    ID  REG_BINARY      E13E1A588C7A1D4FAF734F5E4E1ECEAB
    LastSyncTime        REG_BINARY      6C4B004F2AB3C901
johnb6767 -> you are a shining star!!

Thanks V much for this excellent post.


Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.