Microsoft KB Archive/329640

= How to Move Small Business Server 2000 Company and Users Shared Folders =

Article ID: 329640

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Small Business Server 2000 Standard Edition
 * Microsoft BackOffice Small Business Server 2000 Service Pack 1

-



This article was previously published under Q329640



SUMMARY
By default, the Company Shared Folders ( :Company) folder and the Users Shared Folders ( :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:  Open Windows Explorer, right-click the  , 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. Click Sharing. Write the information that appears on the Sharing tab. The information that you require includes the following settings:  Share name Comment User Limit Permissions</li> Caching</li></ul>

</li> Click the Permissions button.</li> 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.</li> 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.</li> For each accounts that is listed in the Name window, write down the account and the permissions assigned to it.</li> Click the Advanced button.</li> 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).</li> Click OK.</li> 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 &quot;Company Shared Folders&quot; or &quot;Users Shared Folders&quot; and you must check the NTFS permissions for all the files or subfolders that are contained in these subfolders.</li> 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.</li> Set the NTFS permissions exactly as the originals on the folders, subfolders and files.</li> Unshare the folders on drive C (or on their current drive letter.)</li> 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.</li> Restart the server.</li> Open a command prompt, and then run the following command:

net share

</li> <li>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.</li> <li>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.</li> <li>Delete the original folders.</li></ol>

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 : as the destination drive and the name   as the folder name. Drive : can be any drive on the server. The name  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. <ol> <li>Select a destination drive and folder name for the share you are moving.</li> <li>Open a command prompt.</li> <li>Copy the contents of the Users Shared Folder folder. To do so: <ol style="list-style-type: lower-alpha;"> <li>Type the following command at the command prompt, and then press ENTER:

xcopy &quot;c:\Users Shared Folders&quot; &quot; :\ &quot; /e /v /i /h /x /y

NOTE: Remember to substitute the correct values for :\ .</li> <li>Right-click the  :\  folder, and then click Properties.</li> <li>Click Security.</li> <li>Verify that the accounts have the same NTFS permissions on this folder as the NTFS permissions assigned to the original folder.</li> <li>Click Advanced.</li> <li>Verify that the settings on each of the three advanced permissions tabs (Permissions, Auditing and Owner) are the same as on the original folder.</li> <li>Click OK.</li> <li>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.</li> <li>Click OK.</li> <li>In Windows Explorer, select a user's folder that is stored in the :\  folder. Follow steps 3.b through 3.i, but this time use the chosen user's folder instead of the root of  in step 3.b.</li> <li>Verify that the Allow inheritable permissions from parent to propagate to this object check box is checked.</li> <li>Click OK.</li> <li>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.</li></ol> </li> <li>Right-click the original C:\Users Shared Folders folder, and then click Properties. <ol style="list-style-type: lower-alpha;"> <li>Click Sharing.</li> <li>Write the information that appears on the Sharing tab. The information required includes the following settings: <ul> <li>Share name</li> <li>Comment</li> <li>User Limit</li> <li>Permissions</li> <li>Caching</li></ul>

</li> <li>Click Permissions.</li> <li>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.</li> <li>Click to select the Do not share this folder option.</li> <li>Click Apply, and then click OK.</li></ol> </li> <li>Right-click the  :\New Shared Folder folder (substitute the correct values to match the actual drive letter and folder name), and then click Properties. <ol style="list-style-type: lower-alpha;"> <li>Click Sharing.</li> <li>Click the Share this folder option.</li> <li>Type the same share name and comment that the original folder uses.</li> <li>Type the same User Limit that the original folder used.</li> <li>Click Permissions.</li> <li>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.</li> <li>Click Caching, set the same caching settings as were used on the original folder, and then click OK.</li> <li>Click Apply, and then click OK.</li></ol> </li> <li>Copy the contents of the C:\Company Shared Folder folder. To do so: <ol style="list-style-type: lower-alpha;"> <li>Type the following command at the command prompt:

xcopy &quot;c:\Company Shared Folders&quot; &quot; :\ &quot; /e /v /i /h /x /y

NOTE: Remember to substitute the correct values in the :\  entry, and then press ENTER.</li> <li>Right-click the  :\  folder, and then click Properties.</li> <li>Click Security.</li> <li>Verify that the same accounts have the same NTFS permissions on this folder as the NTFS permissions assigned to the original folder.</li> <li>Click Advanced.</li> <li>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.</li> <li>Click OK.</li> <li>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.</li> <li>Click OK.</li> <li>In Windows Explorer, select a user's folder that is stored in the :\  folder. Follow steps 6.b through 6.i, but this time go to the chosen user's folder instead of the root of  in step 6.b.</li> <li>Verify that the Allow inheritable permissions from parent to propagate to this object check box is checked.</li> <li>Click OK.</li> <li>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.</li></ol> </li> <li>Right-click C:\Company Shared Folders (the original one), and then click Properties. <ol style="list-style-type: lower-alpha;"> <li>Click Sharing.</li> <li>Write down the information that appears on the Sharing tab. The information that you require includes the following settings: <ul> <li>Share name</li> <li>Comment</li> <li>User Limit</li> <li>Permissions</li> <li>Caching</li></ul>

</li> <li>Click the Permissions button.</li> <li>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.</li> <li>Select the Do not share this folder option.</li> <li>Click Apply, and then click OK.</li></ol> </li> <li>Right-click  :\ , and then click Properties.

NOTE: Remember to substitute the correct values to match the actual drive letter and folder name. <ol style="list-style-type: lower-alpha;"> <li>Click Sharing.</li> <li>Click the Share this folder option.</li> <li>Enter the same share name and comment that the original folder uses.</li> <li>Enter the same User Limit that the original folder used.</li> <li>Click Permissions.</li> <li>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.</li> <li>Click Caching, set the same caching settings as were used on the original folder, and then click OK.</li> <li>Click Apply, and then click OK.</li></ol> </li> <li>Open a command prompt, and then run the following command:

net share

</li> <li>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.</li> <li>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.</li> <li>Delete the original folders.</li></ol>

Additional query words: smallbiz sbs company users shared folders moving relocating

Keywords: kbhowto KB329640

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.