Procedura per salvare i nomi e permessi di condivisioni di rete che utilizzano Netbios.
- Launch regedit
- Export HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares registry key from the source server
- Disable SERVER service on the source server (to be sure no one is modifying data during migration)
- Run RoboCopy using /COPYALL key (or /SEC key at least)
robocopy source destination /MIR /SEC /E - Import registry file (exported in the first step) to the destination server
- Restart SERVER service on the destination server (required for imported registry file to take an effect)
Importante: Tramite questa procedura tutte le precedenti condivisioni vengono eliminate e sostituite con quello attuale. Per vedere le condivisioni è sufficiente, sul server, dare il comando net share
[update 2015.11]
To preserve all permissions you need to copy all file utilizing robocopy command
/DCOPY:T /COPYALL /MIR
[update 2015.11]
To preserve all permissions you need to copy all file utilizing robocopy command
/DCOPY:T /COPYALL /MIR