I need to migrate users home folders to a new server. About 60 GB in all. So
they need to be copied or moved with permisions and hopefully any share
permisions intact.

Can this be done with objFolder.CopyHere? or objFolder.Copy? Or would it be
easier/better to use xcopy or something?

Thanks

Re: Copy folder with permisions intact by Torgeir

Torgeir
Wed Jul 20 10:50:58 CDT 2005

Bartly wrote:

> I need to migrate users home folders to a new server. About 60 GB in all. So
> they need to be copied or moved with permisions and hopefully any share
> permisions intact.
>
> Can this be done with objFolder.CopyHere? or objFolder.Copy? Or would it be
> easier/better to use xcopy or something?
>
> Thanks
Hi,

I suggest you look into the command line tool Robocopy.exe, it
supports both transferring of permissions and ownership information.


Robocopy.exe is in the free Windows Server 2003 Resource Kit:

http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en

(The kit will install on WinXP or later, the individual files can
then be copied to another computer if needed)


See rktools.chm and robocopy.doc for documentation for Robocopy.exe.



--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Re: Copy folder with permisions intact by Bartly

Bartly
Wed Jul 20 11:09:04 CDT 2005

Thank you, I do have the resource kit and will check it out.

"Torgeir Bakken (MVP)" wrote:

> Bartly wrote:
>
> > I need to migrate users home folders to a new server. About 60 GB in all. So
> > they need to be copied or moved with permisions and hopefully any share
> > permisions intact.
> >
> > Can this be done with objFolder.CopyHere? or objFolder.Copy? Or would it be
> > easier/better to use xcopy or something?
> >
> > Thanks
> Hi,
>
> I suggest you look into the command line tool Robocopy.exe, it
> supports both transferring of permissions and ownership information.
>
>
> Robocopy.exe is in the free Windows Server 2003 Resource Kit:
>
> http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&DisplayLang=en
>
> (The kit will install on WinXP or later, the individual files can
> then be copied to another computer if needed)
>
>
> See rktools.chm and robocopy.doc for documentation for Robocopy.exe.
>
>
>
> --
> torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
> Administration scripting examples and an ONLINE version of
> the 1328 page Scripting Guide:
> http://www.microsoft.com/technet/scriptcenter/default.mspx
>