Xcopy or Robocopy


hello,

i want move folder on 1 server to server.  example: server 1 e:test server2 f:test.

i keep whole shabang in tact (permissions, etc...) from test folder , subfolders intact.  not want inherit permissions parent destination drive.  basically, test folder should not inherit permissions drive f:.  should use robocopy or xcopy or solution? if either can job, can provide example command line?  tried testing cant seem right.  i'll either test folder, test folder subfolders no files or doesnt copy.  ive notice on output logs , using robocopy gui, these access denied errors.  need edit registry in order this? ive read somewhere may need done.  suggestions appreciated.

thanks!!

hi

no idea if 'correct' way it, , annoyingly still have fiddle shares, have scheduled task doing pretty describe. command line use follows:

robocopy.exe e:\test\ f:\test\ /copyall /dcopy:t /mir /r:6 /w:60 /e /zb /mt:30 /log+:e:\miref.log /xx /v

obviously you'll need edit source , destination fields , log file output directory/path/name

as scheduled task had ensure checked 'run highest privileges' checkbox or failed (on server 2008r2).

hth

 



Windows Server  >  File Services and Storage



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2