Avatar of TrendsNZ
TrendsNZFlag for New Zealand

asked on 

Moving User Shared Folders to another partition on SBS 2003

Moving User Shared Folders on SBS 2003

A couple of weeks ago I was installing backup and anti-virus software on the company sbs server and thought while I have the network to myself I would try to move the User Shared Folders as I am running out of space on that partition.

I have been searching the net and the forums here and I have read there are 2 ways to accomplish  this, one is using xcopy and the other robocopy to retain permissions and ownership.

I tried to use the Microsoft TechNet way using xcopy but this didn’t work:
http://technet.microsoft.com/en-us/library/cc708031%28WS.10%29.aspx
I have searched the experts exchange knowledge base but here are no definitive instructions for the switches needed for using robocopy.

I was wondering if someone could please tell me what syntax I would use for using robocopy to move the User Shared Folders to another drive (including switches)?
Currently the User Shared Folders are located on D:\drive and I would like to move them to E:\drive

Also I was wondering where the best place to put robocopy, should it be placed I the system32 folder or the root of C:\drive ?


SBSMicrosoft Server OSMicrosoft Legacy OS

Avatar of undefined
Last Comment
TrendsNZ
Avatar of c1nmo
c1nmo
Flag of United Kingdom of Great Britain and Northern Ireland image

The technet article looks correct to me, where did you run into problems?
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

Hi there

when I ran the command line syntax it said invalid argument (I think it was that error,  it was a few weeks ago and I had quite a bit to do at the time).

I looked this up and found that other people had run into the same problem so I tried other variations of the syntax that people suggested but it still came up with the same error.

Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

One thing I was wondering was apart from disconnecting the users who where currently connected to the shares, should I of removed the sharing from the original User Shared Folders? and did I need to create a User Shared Folders folder on the new partition or should this be generated automatically?

ASKER CERTIFIED SOLUTION
Avatar of c1nmo
c1nmo
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

I will give it a go again once I have let staff know but if anybody could let me know what the switches are for robocopy for copying User Shared Folders from the D:\drive to the E:\dive in-case xcopy fails again that would be awesome.

Cheers
Avatar of c1nmo
c1nmo
Flag of United Kingdom of Great Britain and Northern Ireland image

You must run cmd under administrative privileges i.e. right-click 'run as administrator'

 robocopy.exe /COPY:DATS /S d:\users e:\users
Avatar of marek1712
marek1712
Flag of Poland image

c1nmo - SBS2003 doesn't have UAC...
@TrendsNZ: I've used /DATSOU or /COPYALL and it orked just fine.

To recreate the shares export the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
And import it on target machine, ensuring first the paths are correct.
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

Hi Marek

Thanks for the info, I am just moving the the User Shared Folder to a different partition on the same server. Would there still be a need to edit the registry?

I have scheduled a time to do this task tomorrow night.

Thanks James
Avatar of marek1712
marek1712
Flag of Poland image

No, there's no need. The only thing you have to keep in mind are permissions of the share itself (not only the NTFS ones).
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

Hi guys

I'm about to move the User Share folders in a few hours. Just one more question if anybody is about.

The My documents folders are redirected by a GPO, do I need to do anything with this before the move or will it be ok?

Thanks

 User generated image
SOLUTION
Avatar of marek1712
marek1712
Flag of Poland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

Hey guys all completed successfully thanks for your input and advice!
Avatar of TrendsNZ
TrendsNZ
Flag of New Zealand image

ASKER

Although the Microsoft TechNet article was the main source of information it was great to have the support from the c1nmo and marek1712.
SBS
SBS

Small Business Server (SBS) is a line of server operating systems targeted at small businesses by bundling the operating system with a number of other Microsoft products that would normally need to be purchased or licensed separately. The most notable inclusions are Exchange, SQL Server, SharePoint and ISA/TMG (Microsoft's firewall and proxy server).

59K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo