• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2760
  • Last Modified:

Move Offline Files to new Server

I have a number of WinXP laptops where the users (network) home drive is cached to their laptop using Offline Files. I am looking to move all the users' home drives from server1 (Win2003) to a new server(Win2008).
Unless I make a change after the files are moved, the laptops will continue to sync with the old server e.g. \\server1\userxx.
Other than manually reconfiguring each user/laptop, what options are there to perhaps automate the change of offline files e.g. is there a registry setting I could change on the laptops
IS there a smarter option?
  • 2
1 Solution
This is a procedure, that I use on a regular basis to do this exact same thing, to remove old server references in Offline Files......

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....
Oh, and it is already in reg.exe format, for easy scripting and deployment to the masses....
bountycyclopsAuthor Commented:
Thanks for that. Basically ,in the past I have performed much the same routine (for 100 plus laptops). With your suggestion I can look at scripting it...
Can someone send me the 1.1 version of CSCCMD.exe.  The one listed in this thread seems to be the older version.
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.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now