Moving Files/shares alongwith their security/share permissions

A

Akhlaq Khan

A couple of hard drives on my servers (win2k SP4) ran out of space and i had
to replace it with a larger one (120 GB). now i need to move files from
older drives to this new drive. The old drives had many shares and custom
security permissions on various folders. Simply copying/moving through
windows means i will lose all the security settings and i will have to
redefine them which is a nightmare for me :(

I searched on microsoft site for a solution and found a "scopy.exe" command
line tool which used to do the job in NT 4.0. i want to know is there a
counterpart for win2k ? if yes, where can i find it ? i looked in win2k
reource kit but couldn't find "scopy.exe".

Also, if ther are any other third-party utilties (free preferably), that can
do the job, please let me know.

thanks ...
akhlaq.
 
M

Marcelo

Scopy was replaced with Xcopy en W2K. Use that tool for NTFS permissions,
and you could use permcopy (this one is part of the resource kit) for the
share permissions.

Marcelo Ponce
mcp, mcp+i, mcsa, mcse
nt4 - w2k
 
A

Akhlaq Khan

thanks but how do i look for this tool ?

i installed reskit on one of the servers and typed "permcopy" at the command
prompt, but it didn't recognize the command. is there some special way of
using it ?

thanks,
akhlaq.
 
S

Steven L Umbach

Here is a link that may be of help. Read section on using robocopy and
permcopy as possibilities which are Resource Kit tools. I would try to use
Ghost images first myself in your situation being that the drives are
replacements on the same computer. --- Steve

http://tinyurl.com/p8hz
 
A

Akhlaq Khan

i tried using XCOPY but i couldn't find any SWITCH that would copy the
security permissions along with the files...

this is what i found out when i typed c:\xcopy /?
----------------------------------------------------------------------------
XCOPY source [destination] [/A | /M] [/D[:date]] [/P] [/S [/E]] [/V] [/W]
[/C] [/I] [/Q] [/F] [/L] [/H] [/R] [/T] [/U]
[/K] [/N] [/O] [/X] [/Y] [/-Y] [/Z]
[/EXCLUDE:file1[+file2][+file3]...]

source Specifies the file(s) to copy.
destination Specifies the location and/or name of new files.
/A Copies only files with the archive attribute set,
doesn't change the attribute.
/M Copies only files with the archive attribute set,
turns off the archive attribute.
/D:m-d-y Copies files changed on or after the specified date.
If no date is given, copies only those files whose
source time is newer than the destination time.
/EXCLUDE:file1[+file2][+file3]...
Specifies a list of files containing strings. When any of
the
strings match any part of the absolute path of the file to be
copied, that file will be excluded from being copied. For
example, specifying a string like \obj\ or .obj will exclude
all files underneath the directory obj or all files with the
.obj extension respectively.
/P Prompts you before creating each destination file.
/S Copies directories and subdirectories except empty ones.
/E Copies directories and subdirectories, including empty ones.
Same as /S /E. May be used to modify /T.
/V Verifies each new file.
/W Prompts you to press a key before copying.
/C Continues copying even if errors occur.
/I If destination does not exist and copying more than one file,
assumes that destination must be a directory.
/Q Does not display file names while copying.
/F Displays full source and destination file names while
copying.
/L Displays files that would be copied.
/H Copies hidden and system files also.
/R Overwrites read-only files.
/T Creates directory structure, but does not copy files. Does
not
include empty directories or subdirectories. /T /E includes
empty directories and subdirectories.
/U Copies only files that already exist in destination.
/K Copies attributes. Normal Xcopy will reset read-only
attributes.
/N Copies using the generated short names.
/O Copies file ownership and ACL information.
/X Copies file audit settings (implies /O).
/Y Suppresses prompting to confirm you want to overwrite an
existing destination file.
/-Y Causes prompting to confirm you want to overwrite an
existing destination file.
/Z Copies networked files in restartable mode.

The switch /Y may be preset in the COPYCMD environment variable.
This may be overridden with /-Y on the command line.
----------------------------------------------------------------------------

as you can see there is no switch for copying security permissions .... any
other ideas ?

thanks
akhlaq.
 
P

Paul Adare

microsoft.public.win2000.security news group, Akhlaq Khan
i tried using XCOPY but i couldn't find any SWITCH that would copy the
security permissions along with the files...

Have a look at that again, particularly the /O switch. ACL - Access
Control List - Permissions.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top