Home All Groups Group Topic Archive Search About

copy files and keep security

Author
12 Aug 2005 1:59 PM
anoni
hi,

I like to moving some user files from one 2003 server to anther 2003 server
and keep their existing security settings. what is the easiest way to do it.
xcopy, what is the other options?
Thanks.

Author
12 Aug 2005 3:17 PM
Galen
In news:ECEAC59D-63FF-43C6-8926-0C2D3A69688E@microsoft.com,
anoni <an***@discussions.microsoft.com> had this to say:

My reply is at the bottom of your sent message:

> hi,
>
> I like to moving some user files from one 2003 server to anther 2003
> server and keep their existing security settings. what is the easiest
> way to do it. xcopy, what is the other options?
> Thanks.

Some stuff for you... I've only seen this tool in use for what you're going
to do.

http://www.winzero.ca/DataClone.htm

Beyond that, this is some light reading:

http://www.microsoft.com/resources/documentation/windowsnt/4/workstation/reskit/en-us/file_sys.mspx

Additionally:

Created Files or folders - Inherit permissions of the folder they are
created in.
Moved or copied files or folders in the same NTFS volume - Keep their own
original permissions.
Moved or copied files or folders in a different NTFS volume - Inherit the
NTFS permissions of the destination folder.
Movement to any FAT volume - All permissions are lost.

Galen
--

"Chance has put in our way a most singular and whimsical problem, and
its solution is its own reward."

Sherlock Holmes
Author
13 Aug 2005 2:14 PM
Torgeir Bakken (MVP)
anoni wrote:

> hi,
>
> I like to moving some user files from one 2003 server to anther 2003 server
> and keep their existing security settings. what is the easiest way to do it.
> xcopy, what is the other options?
> Thanks.
Hi,

Yes, xcopy.exe and using the /O switch is an option.


The command line tool Robocopy.exe also 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