Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

Your Answer


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.