A. After you install the utility on the target server, perform the following steps:
- Log on to the target server as an Administrator (and ensure the account also has local Administrator rights on the source server) and start the Microsoft File Server Migration Wizard (Start, Microsoft File Server Migration Toolkit, File Server Migration Wizard).
- On the Welcome page, click New to start a new migration project.
- Click Next on the introduction screen.
- Select a name for the project and a location to save the settings. By default, the folder C:\FileServerMigration is selected. Click Next.
- If you want to keep the existing UNC paths, you need to specify the DFS root server. In this example, we won't use that functionality, so clear the "Use the following DFS root server" check box and click Next.
- Select the location for the migrated content to be copied to, as the figure shows, and click Next.
- Click Finish at the project summary window.
- You must now add the servers from which you want to migrate data by clicking the Add Server button.
- Enter the name of the server and click OK, as the figure shows. Repeat this step for each server you want to add.
- You can expand each added server to view the shares it plans to migrate and clear the check boxes as desired. You can also set the options to stop sharing the original source once the data has been migrated and to migrate security settings, as the figure shows.
- After you've selected all servers and shares, click Continue.
- Once settings are validated, the migration stage moves to "Ready to copy" as the figureshows. Click Continue to proceed with the file copy.
- After the file copy finishes, click Continue again to finalize the configuration changes and security settings (at this point the NTFS permissions have not been set and shares haven't been created, only the data copied). Open files are skipped during this phase; missed files will be copied during the final stage.
- You will be prompted to click Yes to confirm the finalize process. Any additional files and file changes will be copied over, and NTFS and share permissions are applied along with audit and ownership information. During this phase, users will be disconnected from the source server to ensure that files aren't locked or modified during their final migration.
- Click OK to the Migration success dialog box.
- Click the View Report button to see a detailed status of the entire migration process
Take note that the new share has the name of <original share name>_ <name of original server> (e.g., Data_savdaldc02), so you might want to change this share name after migration.
USING COMMAND LINE
UTILITY.
1. reg export
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares c:\BackupSharedPerm.reg
2. If you
need to restore, copy and paste the file to C: location, just run:
3. reg
import c:\BackupSharedPerm.reg
4. Note: After
restore you need to restart theServerservice.
5. net
stop lanmanserver
6. net
start lanmanserver
Backup and Restore
network Shared Folder Permissions:
Generally, shared folder permissions are
stored in registry at the following location.
1. HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares,
you
need to backup and restor this key values using export and import options.
2. Step 1: Open
the registry ( Run | Regedit.exe )
3. Step
2: Navigate to the following location:
4. HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
5. Step 3:
Right Click on Shares Registry key in the Left pane, from context
menu selectExport.
6. Step4: Give
the filename as BackupSharedPerm.reg
7. In
order to restore, copy BackupSharedPerm.reg file and paste this
file to another server where you want to restore and then double click on
that file to import.
Feel free if you have any questions.