File share migration – Phase 3 – importing file share information


Following Phase 2 of file share migration, phase 3 will import file share information. That’s share names, associated share paths, and share level permissions. Fortunately, this information is stored under the registry key

HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

During phase 1 of the file share migration, the Get-FileShares function has already copied these registry entries to a .reg file for us and saved it to the source server. Line 4 of the log file identified exact location:

2015.03.11 02:55:09 PM: Information is saved in file \\NYFILSRV01P-SK3\C$\WINDOWS\Shares.reg

To import all these settings simply browse to and double-click on this .reg file from the new Windows 2012 R2 server to import it into the registry.

Migrate-Files-11

Click Yes to proceed.

Migrate-Files-12Finally, restart the Server service for the new shares to take effect:

Migrate-Files-13

or, of course we can use the Powershell cmdlets Restart-Service and Get-Service

Migrate-Files-19

Advertisements

One response

  1. Pingback: File share migration – Phase 4 – Dealing with files that failed to copy | Sam's Corner

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s