Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to move a shared folder from one NTFS disk to another in Server 2008, and keep it shared? Or does the share point have to be recreated?

share|improve this question
add comment

2 Answers

I've done successfully in Win2008, move "Shared Document" with everything inside from drive "D" to drive "E"

(01) C:\MrCMD>REG EXPORT "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Shares" "a_shares.reg" [enter]

(02) C:\MrCMD>REG EXPORT "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Shares\Security" "a_shares_security.reg" [enter]

(03) C:\MrCMD>ICACLS "D:\Shared Document" /SAVE "ACL_Shared_Document.txt" /T [enter]

(04) CUT "D:\Shared Document" AND PASTE "E:\Shared Document"

(05) C:\MrCMD>ICACLS "E:" /RESTORE "ACL_Shared_Document.txt" [enter]

Or.. Alternatively..

(00) C:\MrCMD>ROBOCOPY "D:\Shared Document" "E:\Shared Document" /E /COPYALL /MOVE [enter]

But, still create New Share for "E:\Shared Document" with appropriate Sharing Permission.

Thank You. :)

share|improve this answer
add comment

You can move the folder with no problems, but you will need to recreate the share unfortunately, unless anyone else knows how to, but in my experience, you will need to copy/move the shared folder to the other drive and create the share again.

share|improve this answer
    
The LanManServer service references folders to share by their drive-letter and path. When you move the folder you need to "re-share" in the new location. It should be fairly painless. –  Evan Anderson Jan 25 '11 at 20:47
    
What if I then changed the drive letter of the new drive, and the path was the same? I seem to recall this coming back to life at some stage. –  mattdwen Jan 25 '11 at 22:00
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.