Manually move shared folders to a different location
Applies To: Windows SBS 2008
Windows SBS 2008 provides wizards that help you move data to a different folder or drive. However, the wizards cannot move shared folders that you create. To move shared folders that you create, you must manually create a copy of the folder and folder contents, and then share the newly copied folder.
Warning
Do not use this procedure to manually move data folders that can be moved by using the wizards that Windows SBS 2008 provides.
To ensure success with this process, perform the following steps in the order listed:
Record the custom share permissions for the folder and subfolders that you want to move.
Stop sharing the folder that you want to move.
Copy the folder and contents to a new location.
Share the newly created folder copy.
Delete the original folder.
To record the custom share permissions for the folder and subfolders that you want to move
On the navigation bar, click Shared Folders and Web Sites. The list view displays the shared folders that are located on your server.
In the list view, right-click the shared folder that you want to move, and then click Change folder permissions. The Folder properties page appears.
In Users and groups, select each user or group in the list, and record the permissions that are assigned to that user or group.
When you are finished recording the folder permissions for all users and groups, proceed with the next step.
To stop sharing the folder that you want to move
On the navigation bar, click Shared Folders and Web Sites. The list view displays the shared folders that are located on your server.
In the list view, right-click the shared folder that you want to stop sharing, and then click Stop sharing this folder.
In the Shared Folders dialog box, click Yes to confirm your action.
To copy the folder and contents to a new location
Open a Command Prompt window. To do this click Start, type cmd, and then press ENTER.
Type the following command, and then press ENTER:
robocopy
drive:\currentfoldernamenewdrive:\newfolder name/MIR
where drive:\currentfoldername represents the drive location and folder name of the folder that you want to copy and newdrive:\newfoldername represents the new location and new folder name of the copy. The
/MIR
attribute instructs the command to make a copy of the full directory tree of the specified folder.Confirm that you created a full copy of the shared folder and its contents in the location that you specified, and then proceed with the next step.
To share the newly created folder copy
On the navigation bar, click Shared Folders and Web Sites. The list view displays the shared folders that are located on your server.
In Shared Folder Tasks, click Add a new shared folder. The Provision a Shared Folder Wizard appears.
On the Shared Folder Location page, browse for and select the new folder copy that you created earlier, and then click OK.
In the wizard, click Next to accept the default settings until you arrive at the SMB Settings page.
On the SMB Settings page, select Users and groups have custom share permissions, and then click Permissions. The Permissions for Folder dialog box appears.
In Group or user names, select each user or group in the list, and then assign the permissions that you recorded earlier for each user or group account.
Follow the instructions in the wizard to finish sharing the folder.
To delete the original folder
Open Windows Explorer.
Browse for the original folder, and click the folder to select it.
Do one of the following:
To delete the folder and send it to the Recycle bin, press DELETE.
To permanently delete the folder, press SHIFT+DELETE.