Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2027
  • Last Modified:

How to migrate users offline files and Roaming profiles?

Hello All

     I want to ask what is the proper way to migrated users Roaming profiles and Off line File Synchronization to a new server. Also, for future reference, what is the proper way to migrate folders that users are using for folder redirection? The old server is 2000 server and the new is 2003 SBS. With roaming profiles can move the data to the new server and change the path in AD? Also users user user Offline file synchronization to files in a folder where they access an application. I think they are using application mode with Offline file synch. What is the proper way to move that share to the new server and have users synchronize with the data / application on the new server?

0
greenbeanx81
Asked:
greenbeanx81
  • 5
  • 4
4 Solutions
 
johnb6767Commented:
Once the migration is complete, and the Assigned Offline Files are reset to the new location, you will need to reinitialize the Offline Files Database to remove the old ones. Additionally, follow the steps below to remove the values in the registry, which point to the old servers....

Make sure that the Offline Files are all in Synch.....

Once this is verified.....
start>run>mobsync
Uncheck all locations in the Synch Manager, then click the Setup Tab
and uncheck all locations under the Logon/Logoff page....

start>run>cmd

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. Restart once more, and you should see the redirected folders rebuilding....

Keep in mind, that this is to be done after you are setup on the new server. This will remove all the older remnants....
0
 
greenbeanx81Author Commented:
Ok, so I do what you described on the new server after I move everything, correct? What do you mean by making sure all the off line files are in Sync? I have all user's sync with the files and everything is updated? Also if I move the off line files to the new server will the new server recognize that the files were part of off line file synchronization ?
0
 
johnb6767Commented:
Ok, lets step back a second...

The offline files are local to the client. When I refer to "Offline files in sync", I mean to go to make sure that users dont have anything stored in thier Offline Cache, that have not been synched to the network yet. Explorer>Tools>Folder Options>View Files, and sort by the Synchronized column. All files should be in synch.

As for moving the profiles to a new server, all you need to do is to move them, and update thier AD profile with the new path.

In GPO, are you using the Assigned Offline Files selection, where you mandate that the folders that they are always to haev available offline?

"Also if I move the off line files to the new server will the new server recognize that the files were part of off line file synchronization ?"

If you specify these new locations as AssignedOfflineFiles, then it wont matter to the server that they were available offline at one time, it is a client side config. The client will see that those folders are caching, and will do it. The biggest problem with server moves and offline files, is that Windows doesnt drop the old location automatically, you have to clear it out. Thats what the bulk of my previous post was for....

0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
greenbeanx81Author Commented:
"In GPO, are you using the Assigned Off line Files selection, where you mandate that the folders that they are always to have available off line?"

I check the group policies on the server. They have no policy in effect for Offline files at all.
0
 
greenbeanx81Author Commented:
Is their an easier way to remove and rebuild offline files on the clients? eventually I need to do this to twenty-five PCs..
0
 
johnb6767Commented:
Build a batch file.....It will wipe out Offline Files, and remove any old server locations.....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo off
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
exit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0
 
johnb6767Commented:
I would definately look at GPO to force offline files for the shares they need to have....Makes this process much easier...
0
 
greenbeanx81Author Commented:
Sounds like a plan. Thank you for the information.

0
 
johnb6767Commented:
Your welcome!
0
 
lewchrisCommented:
thanks for the batch file it works great
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

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