SOLVED
I've been going this way:
(1) i run hobocopy to a destination directory with some write protected files this seems to appear (i found this in another thread here and the result seemed similar)
(2) The source directory contains files with write protection, therefor I think hobocopy copies the files with write protection and the destination file is then also write protected.
At the second run, hobocopy (i tried /incremental and /full, it's both the same result) on the same destination directory then throws an error 5 because the destination file is write protected (?).
So far so good, I remove the write protection attribute on the destination directory with the batch command "attrib -r %dest_dir%\*.* /s" before hobocopying but still (at least) one file throws that error. After inspecting my logfile i tracked it down that this one file is a thumbnail file (which for me seems to be produced by some image indexing/chaching software).
(3) after testing some more options i found the solution: "attrib -s -h -r %dest_dir%\*.* /s" does the job for me, when I run it before hobocopy.
TO ALL OTHERS WHO READ THIS, PLEASE BE AWARE:
"-s" removes the attribute "system" from all files (this means you may see files in the deatination directory that are system files)!
"-h" removes the attribute "hidden" from all files (this means you can see all hidden files, thius may be confusing for some users)!
Attrib can only remove the "r" (readonly) attribute from files, if these files are non-system and non-hidden, therefor this is a workaround not a real fix.
CAREFUL: I have no solution for restoring the attributes to its original state after the backup process.
%dest_dir% is a batch variable that has previously been set by "set dest_dir=<path>" if you need to use it, you can also use a real pathname instead of this variable.
@Craig:
I'd suggest to add a hint text to "error 5" (that this may be a readonly destination file).
Because the thrown error reads (and this looks like the source file is blocked, because it refers the shadow copy) :
"Error 5 accessing file \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy..."