Avatar of redbaran28
 asked on

Copy files and NTFS files without access.

I have a W2003 server that is sitting on a esxi 4 server and I need to copy files/folders to a new drive on the same 2003 server. The issue is that that one folder is the users folder for the My Documents that are redirected to the server from the workstations that exclusive rights only.(only user and system) I have been trying to figure out a way to copy this to the new drive while maintaining the NTFS permissions and ownership.

I have tried xcopy with the /X and /O commands but I get access denied when it gets to the first folder. I have tried a batch file with a system task but can't run it as a the system user.

Any rescue disks that might be able to do this off line?
Can't use a bare metal options as we think there is a issue on the vmdk disk also so we don't want to copy the issue.
Any other ideas?
VMwareMicrosoft Legacy OSOS Security

Avatar of undefined
Last Comment

8/22/2022 - Mon
Paul Solovyovsky

You first need to have admin rights to the source.  once you do have rights you can use robocopy to copy the entire volume with permissions using the /copyall  command.  You can seed it and then use the /mir switch to copy the final changes and this should give you all the permissions and attributes of the original files.  You will still need to recreate the shares.

You may also take an image of the VM and restore the volume with permissions intact.  Something like Symantec System Recovery or Acronis should do the trick.
David Johnson, CD

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question

you could do that from a live linux cd

I will try vesofa option to see if it will allow NT AUTHORITY\SYSTEM to run robocopy batch file with the system task.

Nobus do have a linux live cd disk that you know that will copy all the NTFS info? From what I remember it my copy the files but not the sec and owner info to a new disk.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes

not sure what you mean; afaik you can copy everything
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.

The /ZB switch running at commad prompt worked along with logging to file to look for errors worked. Did not need to run as SYSTEM user but would assume that would have worked also.