Windows 10: Backup and Restore Network Shares and Permissions in Windows  

    Backup and Restore Network Shares and Permissions in Windows

    Backup and Restore Network Shares and Permissions in Windows

    How to Backup and Restore Network Shares and Permissions in Windows
    Published by Category: Backup & Restore
    11 Jun 2018
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 31,266

    Show Printable Version 


    How to Backup and Restore Network Shares and Permissions in Windows


    File sharing over a network in Windows 10 allows you to share files and folders on your computer with other users over a private or public network in your workgroup or domain.

    You can set the permissions of a shared file or folder to allow groups or users to have a read only, change (modify), or full control access rights.

    Starting with Windows 10 version 1803, some features of file sharing over a network have changed, including the removal of HomeGroup. However, even though HomeGroup has been removed, you can still share printers and files by using features that are built into Windows 10.

    This tutorial will show you how to backup and restore network shares and permissions in Windows 7, Windows 8, and Windows 10.

    You must be signed in as an administrator to backup and restore network shares and permissions.

    Backups of your network shares and permissions do not include the actual shared folders and files. The backup only includes the currently existing share names and any permissions assigned to those shares made in advanced sharing settings.


     CONTENTS:

    • Option One: Backup Network Shares and Permissions in Command Prompt
    • Option Two: Backup Network Shares and Permissions in Registry Editor
    • Option Three: Restore Network Shares and Permissions


    EXAMPLE: Network shares and permissions
    Name:  Network_Shares.jpg
Views: 356
Size:  41.6 KB Name:  Network_share_permissions.jpg
Views: 351
Size:  57.7 KB






    Backup and Restore Network Shares and Permissions in Windows OPTION ONE Backup and Restore Network Shares and Permissions in Windows
    Backup Network Shares and Permissions in Command Prompt

    1. Open an elevated command prompt.

    2. Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)

    REG EXPORT HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares "%UserProfile%\Desktop\MyNetworkShares.reg"

    Name:  Backup_Shares_and_Permissions_command.jpg
Views: 352
Size:  21.7 KB

    3. A MyNetworkShares.reg file has now been created on your desktop as your backup. You can rename this .reg file if you like, and move it to where you want to keep it saved at.

    4. You can now close the elevated command prompt if you like.






    Backup and Restore Network Shares and Permissions in Windows OPTION TWO Backup and Restore Network Shares and Permissions in Windows
    Backup Network Shares and Permissions in Registry Editor

    1. Press the Win+R keys to open Run, type regedit into Run, and click/tap on OK to open Registry Editor.

    2. Navigate to the key below in the left pane of Registry Editor. (see screenshot below)

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares

    Name:  Backup_Shares_and_Permissions_regedit-1.jpg
Views: 348
Size:  34.5 KB

    3. Right click or press and hold on the Shares key in the left pane of Registry Editor, and click/tap on Export. (see screenshot above)

    4. Navigate to where (ex: Desktop) you want to export this key to as a .reg file, type a name (ex: "MyNetworkShares") you want for the .reg file, and click/tap on Save. (see screenshot below)

    Name:  Backup_Shares_and_Permissions_regedit-2.png
Views: 344
Size:  50.7 KB

    5. You can now close Registry Editor if you like.






    Backup and Restore Network Shares and Permissions in Windows OPTION THREE Backup and Restore Network Shares and Permissions in Windows
    Restore Network Shares and Permissions

    1. Double click/tap on the .reg file (ex: "MyNetworkShares.reg") exported from Option One or Option Two to merge it.

    2. When prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

    3. Restart the computer to apply.


    That's it,
    Shawn





  1.    3 Weeks Ago #1

    Uhm, nice but how do I backup my mapped SMB Network shares? They're not in that reg key....
      My ComputerSystem Spec

  2.    2 Weeks Ago #2

    @Brink any idea why I can't see my SMB Network Shares under that key or how I can export those? I got like 20+ and they're harder to remap and rename than the 5 local drives that are shared and found under that reg key....
      My ComputerSystem Spec


  3. Posts : 31,266
    64-bit Windows 10 Pro build 18214
    Thread Starter
       2 Weeks Ago #3

    @loungebob,

    I'm not sure about SMB network shares.
      My ComputersSystem Spec

  4.    2 Weeks Ago #4

    oh darn. and I can’t find anything either.
      My ComputerSystem Spec


 

Tutorial Categories

Backup and Restore Network Shares and Permissions in Windows Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
How to Backup and Restore Permissions of Files, Folders, or Drives in Windows On NTFS and ReFS volumes, you can set security permissions on files and folders. These permissions grant or deny access to the files and folders. Every container...
Before Creators I had Windows Backup and Restore routine set to make a daily backup of my SSD which contains only the C drive and my programs. Documents, Pictures etc. are redirected to an internal spinning HDD where these folders are actually...
How to Backup and Restore Wireless Network Profiles in Windows 10 When you add or connect to a new wireless network, Windows will create a profile for the wireless network. A wireless (Wi-Fi) network profile contains the SSID (network name),...
Cannot Access Windows Network Shares in Network and Sharing
Three machines: Surface Pro 4 - fully updated Surface Pro 3 - Windows 10, fully updated Lenovo X220T - Windows 8.1 Fully updated All three machines can see all available network devices, including each other. All three machines can...
Hi, I've got 2 Western Digital Network drives hard wired on my network, a My Book World and an EX2. Since upgrading to Windows 10 I've had intermittent problems viewing and setting network drives. I've read a lot of other posts and tried a...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:22.
Find Us