If you are planning to migrate your file server to Windows Server 2012 from a previous version of Windows, such as Server 2008 R2 or earlier, you may find that recreating all the shares is a laborious process. Backing up and restoring the file shares is a much quicker way to recreate file shares in Windows Server 2012, File and Storage Services (File Server). Here’s how to backup and restore shares from a previous version of windows, to a Windows Server 2012 file server:
- On the 2008 R2 server (or previous), click run and type regedit then click OK
- Navigate to HKLM/System/CurrentControlSet/Services/LanmanServer/Shares
- Right click on the Shares folder and click Export
- Save the file and copy it to the Server 2012 file server
- Run the file on the Server 2012, importing the key containing the backed up shares
- Reboot the 2012 file server
Now that the file shares have been restored to the Windows Server 2012 file server, users should be able to connect to the restored shares, although in my experience, some users may be required to log off then on to be able to connect.