﻿id	summary	reporter	owner	description	type	status	component	version	resolution	keywords	cc	guest	host
14958	"Robocopy fails with ""ERROR 87 (0x00000057) Time-Stamping Destination"""	m6477		"With VirtualBox 5.0.12, both host and guest machines are Windows 7 Pro SP1 64-bit, robocopy.exe (v5.1.10.1027 as included with Windows 7) fails to copy files to a folder shared from the host thus:
{{{
C:\temp>robocopy \temp \\vboxsvr\temp

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows

-------------------------------------------------------------------------------

  Started : Mon Dec 21 01:00:28 2015

   Source : C:\temp\
     Dest = \\vboxsvr\temp\

    Files : *.*

  Options : *.* /COPY:DAT /R:1000000 /W:30

------------------------------------------------------------------------------

                           4    C:\temp\
100%        New File                  17        MyFile.txt.txt
2015/12/21 01:00:29 ERROR 87 (0x00000057) Time-Stamping Destination File C:\temp\MyFile.txt.txt
The parameter is incorrect.
}}}

The file has reasonable date/time stamps (created & modified); both host and guest drives use NTFS.

The exact same test, with the same files, works OK in 5.0.10, but when I update to 5.0.12 (including updating Guest Additions) it fails.

If I use xcopy (in VB 5.0.12) instead of robocopy, it works OK.

If I copy the files with Windows explorer (in VB 5.0.12), it works OK.

Possibly the problem is related to robocopy's normal practice of setting the destination file's modified date to 1 Jan 1980 while it is copying, then setting it to match the source file after all the data is copied.

Attached are the .vbox and log files (including those from v5.0.10, which works OK)"	defect	closed	other	VirtualBox 5.0.12	fixed			other	other
