How to Move Small Business Server 2000 Company and Users Shared Folders (329640)



The information in this article applies to:

  • Microsoft Small Business Server 2000
  • Microsoft Small Business Server 2000 SP1

This article was previously published under Q329640

SUMMARY

By default, the Company Shared Folders (share name:Company) folder and the Users Shared Folders (share name:users) folder are created on drive C during a Small Business Server (SBS) 2000 installation. You can select the location of these folders during Setup to set the folder name and destination drive. If you have to move the folders later, you must move them manually. This article describes how to manually move these folders.

Note These folders must reside on the SBS server, not in another network location.

MORE INFORMATION

Use either of the following methods to move the Company Shared Folders folder or the Users Shared Folders folder. In method one, you manually copy the permissions of all folders, subfolders and files, and then manually transfer these permissions to the relocated folders. In method two, you use the Windows 2000 Xcopy.exe utility to reduce the amount of manual copying you do.

Method One

To move either the Company shared folder or the Users shared folder:
  1. Open Windows Explorer, right-click the foldername, and then click Properties.

    NOTE: By default, the name for the Company shared folder is Company Shared Folders, and the name for the Users shared folder is Users Shared Folders.
  2. Click Sharing.
  3. Write the information that appears on the Sharing tab. The information that you require includes the following settings:
    • Share name
    • Comment
    • User Limit
    • Permissions
    • Caching

  4. Click the Permissions button.
  5. Write down the account names in the Names window and the share permissions assigned to each account. Click each account, to view the share permissions that are assigned to it.
  6. Click Security.

    NOTE: The Allow inheritable permissions from parent to propagate to this object check box is cleared. This check box must remain cleared on the corresponding NTFS Security tab on this folder on the drive to which the folder is copied.
  7. For each accounts that is listed in the Name window, write down the account and the permissions assigned to it.
  8. Click the Advanced button.
  9. For each account, click the account, and then click View/Edit. Write down each advanced permission assigned to the account and how these permissions are to be applied (You can view the value in the Apply onto: window that is above the Permissions window).
  10. Click OK.
  11. Note whether the Allow inheritable permissions from parent to propagate to this object check box is selected. You must duplicate the setting on the relocated folders.

    NOTE: This process applies to any subfolders that are below the root of the "Company Shared Folders" or "Users Shared Folders" and you must check the NTFS permissions for all the files or subfolders that are contained in these subfolders.
  12. Create folders with the same names on drive E (or other appropriate drive letter), and then copy the contents from the folders on drive C (or the current drive letter) to the new folders.
  13. Set the NTFS permissions exactly as the originals on the folders, subfolders and files.
  14. Unshare the folders on drive C (or on their current drive letter.)
  15. Share the folders on drive E (or appropriate drive letter) with the same share name, comment, user limit, caching, and permissions settings as on the original folder.
  16. Restart the server.
  17. Open a command prompt, and then run the following command:

    net share

  18. Examine the results of the net share command in the command prompt and verify that the Users shares (or the Company shares) were moved to the drive you wanted. To do so, verify that the path to the share name is correct.
  19. Test the access of the users to the shared folders to make sure that they can make connections and that the contents of the folders are correct.
  20. Delete the original folders.

Method Two

Method two uses Xcopy.exe when you move the folders. Use the following procedure to move either the Company Shared Folders shares or the Users Shared Folders shares to another drive by using any folder name for the new location. However, use the same share names for the new folders.

The following procedure uses drive X: as the destination drive and the name New Shared Folder as the folder name. Drive X: can be any drive on the server. The name New Shared Folder is arbitrary and you may change it.

The following procedure assumes that the Company share is located at C:\Company Shared Folders and the Users share is located at C:\Users Shared Folders on the server at the start of this procedure. If not, substitute the correct values for the original folder path when you use the steps.

If either the source folder name or the destination folder name contains spaces, enclose in quotation marks the source path and the destination path that are used in the xcopy command line.
  1. Select a destination drive and folder name for the share you are moving.
  2. Open a command prompt.
  3. Copy the contents of the Users Shared Folder folder. To do so:
    1. Type the following command at the command prompt, and then press ENTER:

      xcopy "c:\Users Shared Folders" "X:\New Shared Folder" /e /v /i /h /x /y

      NOTE: Remember to substitute the correct values for X:\New Shared Folder.
    2. Right-click the X:\New Shared Folder folder, and then click Properties.
    3. Click Security.
    4. Verify that the accounts have the same NTFS permissions on this folder as the NTFS permissions assigned to the original folder.
    5. Click Advanced.
    6. Verify that the settings on each of the three advanced permissions tabs (Permissions, Auditing and Owner) are the same as on the original folder.
    7. Click OK.
    8. Verify that the Allow inheritable permissions from parent to propagate to this object check box is cleared.

      NOTE: If the xcopy command line used in step 3.a performed as expected, the check box should be cleared.
    9. Click OK.
    10. In Windows Explorer, select a user's folder that is stored in the X:\New Shared Folder folder. Follow steps 3.b through 3.i, but this time use the chosen user's folder instead of the root of New Shared Folder in step 3.b.
    11. Verify that the Allow inheritable permissions from parent to propagate to this object check box is checked.
    12. Click OK.
    13. Repeat steps 3.j through 3.l for several other users' folders to make sure that you copied the correct NTFS permissions were correctly copied to the new user folders.
  4. Right-click the original C:\Users Shared Folders folder, and then click Properties.
    1. Click Sharing.
    2. Write the information that appears on the Sharing tab. The information required includes the following settings:
      • Share name
      • Comment
      • User Limit
      • Permissions
      • Caching

    3. Click Permissions.
    4. Write down the account names in the Names window and the share permissions assigned to each account. Click each account to view the share permissions that are assigned to it.
    5. Click to select the Do not share this folder option.
    6. Click Apply, and then click OK.
  5. Right-click the X:\New Shared Folder folder (substitute the correct values to match the actual drive letter and folder name), and then click Properties.
    1. Click Sharing.
    2. Click the Share this folder option.
    3. Type the same share name and comment that the original folder uses.
    4. Type the same User Limit that the original folder used.
    5. Click Permissions.
    6. Add the same accounts in the Name window as were assigned to the original folder and assign the same share permissions to each one. To do so, for each account, click the account and then click to select the appropriate check boxes, and then click OK.
    7. Click Caching, set the same caching settings as were used on the original folder, and then click OK.
    8. Click Apply, and then click OK.
  6. Copy the contents of the C:\Company Shared Folder folder. To do so:
    1. Type the following command at the command prompt:

      xcopy "c:\Company Shared Folders" "X:\New Shared Folder" /e /v /i /h /x /y

      NOTE: Remember to substitute the correct values in the X:\New Shared Folder entry, and then press ENTER.
    2. Right-click the X:\New Shared Folder folder, and then click Properties.
    3. Click Security.
    4. Verify that the same accounts have the same NTFS permissions on this folder as the NTFS permissions assigned to the original folder.
    5. Click Advanced.
    6. Verify that the settings on each of the three advanced permissions tabs (Permissions, Auditing and Owner) are set the same as on the original folder.
    7. Click OK.
    8. Verify that the Allow inheritable permissions from parent to propagate to this object check box is cleared.

      NOTE: If the xcopy command line used in step 6.a performed as expected, the check box should be cleared.
    9. Click OK.
    10. In Windows Explorer, select a user's folder that is stored in the X:\New Shared Folder folder. Follow steps 6.b through 6.i, but this time go to the chosen user's folder instead of the root of New Shared Folder in step 6.b.
    11. Verify that the Allow inheritable permissions from parent to propagate to this object check box is checked.
    12. Click OK.
    13. Repeat steps 6.j through 6.l for several other users' folders to make sure that you copied the correct NTFS permissions to the new user folders.
  7. Right-click C:\Company Shared Folders (the original one), and then click Properties.
    1. Click Sharing.
    2. Write down the information that appears on the Sharing tab. The information that you require includes the following settings:
      • Share name
      • Comment
      • User Limit
      • Permissions
      • Caching

    3. Click the Permissions button.
    4. Write down the account names in the Names window and the share permissions assigned to each account. Click each account to view the share permissions that are assigned to it.
    5. Select the Do not share this folder option.
    6. Click Apply, and then click OK.
  8. Right-click X:\New Shared Folder, and then click Properties.

    NOTE: Remember to substitute the correct values to match the actual drive letter and folder name.
    1. Click Sharing.
    2. Click the Share this folder option.
    3. Enter the same share name and comment that the original folder uses.
    4. Enter the same User Limit that the original folder used.
    5. Click Permissions.
    6. Add the same accounts in the Name window as were assigned to the original folder and assign the same share permissions to each one. To do so, for each account in the Permission window, click the account and then click to select the appropriate check boxes, and then click OK.
    7. Click Caching, set the same caching settings as were used on the original folder, and then click OK.
    8. Click Apply, and then click OK.
  9. Open a command prompt, and then run the following command:

    net share

  10. Examine the results of the net share command in the command prompt and verify that the Users shares (or the Company shares) were moved to the drive you wanted. To do so, verify that the path to the share name is correct.
  11. Test the access of users to the Company Shared Folders and the Users Shared Folders to make sure that they can access the relocated folders.
  12. Delete the original folders.

Modification Type:MinorLast Reviewed:8/26/2003
Keywords:kbhowto KB329640