Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


migrate file shares, data and permissions from server 2003 to 2008

Posted on 2010-08-18
Medium Priority
Last Modified: 2012-07-13

I am changing from server 2003 to server 2008 R2 and have added the new server to the domain, transferred the FSMO roles and I am now looking at ways to transfer the shares and the data over whilst retaining the permissions.

I would like to keep the structure of the shares the same where possible. These are spread across different partitions on the original server due to different quota requirements. Access to shares is also controlled by groups that users are assigned to and drive mappings occur for different users at different levels of the folder structure. Basically it has taken quite a while to get things set up this way and I don't want to have to set these up again manually.

I have had a quick look at the microsoft file server migration tool kit, but I am not sure it will do exactly what I want. Other options I am considering are:
RichCopy http://technet.microsoft.com/en-gb/magazine/2009.04.utilityspotlight.aspx
Robocopy or maybe Robocopy GUI http://technet.microsoft.com/en-gb/magazine/2009.04.utilityspotlight.aspx

I found info on using a combination of xcopy and robocopy at http://social.technet.microsoft.com/Forums/en-US/winserverfiles/thread/292b40ec-a6b3-47db-b9ac-e7ab9aa5c913 

There is another page regarding robocopy at http://thespidersparlor.com/technicalblog/?p=9 but it has a different command listed than some other articles I have read.

There is another article at http://thebackroomtech.com/2007/08/28/howto-migrate-file-shares-permissions-and-user-profiles-paths-in-a-windows-2003-domain/ which looks promising, but the author has slightly different aims to mine.

I am getting swamped with different options at the minute, does anyone have any advice on the best tool or combination of tools to achieve this kind of data transfer while minimising any manual processes after the copy?
Question by:QEMS
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Accepted Solution

ploftin earned 2000 total points
ID: 33465821
You can do it for free with Windows Backup.  Create a backup using Windows Backup (ntbackup.exe in 2003) and restore it to the new server.  All NTFS permissions will remain in-tact.  You do have to manually create the partition structure and manually share the folder (and set share permissions), but all the security around each folder, subfolder and files will remain as is on the 2003 server.

Author Comment

ID: 33466270
Do you think that is the way with the least manual interaction? Is there no way to copy across the shares without having to manually set them on the new server afterwards?

Assisted Solution

ploftin earned 2000 total points
ID: 33468753
You could also try this:

Windows stores all share information in the registry. This allows you to export the information from one machine and import it into another.  To access the share information, open the Registry Editor by going to Start > Run, type regedt32.exe, and clicking OK. Then, navigate to the following key:


This registry key lists all shares. To move a share from one server to another, follow these steps:

1. In the Registry Editor, go to Registry > Export Registry File.
2. Save the settings in a .reg file by selecting a location and clicking Save.
3. Close the Registry Editor.
4. Copy the .reg file to the destination computer.
5. Right-click the file and select Merge.

In order for the shares to show up, you'll need to 1) restart the machine or 2) stop and start the server service (enter Net Stop Server and then Net Start Server at the command prompt) and other services that require server service.

Be aware that this procedure will migrate ALL of the shares from the source machine. In addition, you must store the folders on the same drive as before. For example, if you copied the "C:\Shared Folder" share from one machine, you must copy the folder to the same location (C:\Shared Folder) on the destination machine.

Note: Editing the registry is risky, so be sure you have a verified backup before making any changes.
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.


Author Comment

ID: 33473077
Thanks very much, I'll give that a try shortly now that I have a full backup that ran overnight.

Expert Comment

ID: 33473197

you can use two applications that work fine:

1) robocopy with GUI http://technet.microsoft.com/en-us/magazine/2006.11.utilityspotlight.aspx
2) Secure Copy its not cheap but the best i ever used so far: http://www.scriptlogic.com/products/securecopy/

Author Comment

ID: 33509667
Sorry for the delayed response but I have got this one sorted now. I wanted to make sure everything was working as expected before I closed the question off.

pmaribeiro thanks for your response but I was already underway with ploftin's suggestion and unfortunately we don't have the budget (or the regular need) for a solution such as Secure Copy.

ploftin thanks very much for your help, that worked great.

For anyone else reading this in future, I restored the data from the 2003 server to the new server so all the data was moved across without having to install ntbackup on the 2008 server.

I exported the data from the registry without issue and checked the MS kb article about it at http://support.microsoft.com/kb/125996

I edited the registry fragment that was exported, removing any shares that I didn't want to move across, along with the associated security sub key entries.
I took a backup of the same section of the registry on the new server in case anything went wrong, but everything worked fine.

The MS kb article states "Caution This step overrides the shares that already exist on the Windows computer with the share names and permissions that exist in the file you are restoring", however the import of the reg data doesn't interfere with any shares that are named differently to the ones you are importing.

Expert Comment

ID: 33512466
Good work, and good follow up QEMS. I'm glad it worked well for you.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

604 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question