Share via

Robocopy File transfer

Whitney Kenny 236 Reputation points
2021-11-21T06:50:52.683+00:00

I transferred file shares using robocopy, the cmd says the transfer was successful but I am not able to see the shares. What exactly is the problem here?

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments

Answer accepted by question author

Leon Laude 86,201 Reputation points
2021-11-21T07:25:32.097+00:00

Hi @Whitney Kenny ,

Robocopy will simply copy the data, permissions, audit but not the actual "shares", for the shares you'll need to export the following registry key:
SYSTEM\CurrentControlSet\Services\LanmanServer\Shares and import it on the new server.

This is covered in the Microsoft documentation over here:

Saving and restoring existing Windows shares
https://learn.microsoft.com/en-us/troubleshoot/windows-client/networking/saving-restoring-existing-windows-shares

----------

If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

Best regards,
Leon

Was this answer helpful?

0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.