Fun with the registry: Saving shares and share permissions from a server (and moving them to a new server)
Posted by: Jerry Lees
File Server, File Shares, fun with the registry, Lanmanserver, Migrating Servers, registry, tips and tricks
On occasion you have to rebuild servers, some are worse than others to rebuild. File Servers are not that difficult to rebuild, but one of the tedious tasks in moving a file server is setting up all the shares that have been added over time all at once. you know the drill:
Point. Click. Click. Click. Add. Double check settings. Click OK. Pray it’s right.
Well, all the shares and the share permissions that are associated with each share are actually saved in the registry! You can save a TON of time and look like a super hero IT professional– and be lazy! By simply exporting the proper key in the registry and importing it to the new server! (Note: If your drive letters change you will need to update the paths in the registry to get them to work.) The registry key is:
Keep in mind… your editing the registry on your fresh new server… so I’ll blatantly copy Microsoft’s stereotypical disclaimer:
Caution, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow the steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:322756 (http://support.microsoft.com/kb/322756/ ) How to back up and restore the registry in Windows