Link to home
Start Free TrialLog in
Avatar of redbaran28
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?
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

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.
SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
you could do that from a live linux cd
Avatar of redbaran28
redbaran28

ASKER

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.
not sure what you mean; afaik you can copy everything
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.