Can't backup since 1803 update of Windows 10

Disabling the Volume Shadow Service helps now too. But of course, it’s not ideal for other issues.

Output for reparse point
The OneDrive directory is synced to D:\OneDrive - xxx
Het bestand of de map is geen reparsepunt. means: The file or folder is not a reparsepoint.

PS C:\WINDOWS\system32> fsutil reparsePoint query ‘D:\OneDrive - xxx’
Error: Het bestand of de map is geen reparsepunt.
PS C:\WINDOWS\system32> fsutil reparsepoint query C:\Users\info\OneDrive
Error: Het bestand of de map is geen reparsepunt.
PS C:\WINDOWS\system32> fsutil reparsePoint query ‘D:\OneDrive - xxx\Documents’
Reparse Tag Value : 0x9000601a
Tag value: Microsoft
Tag value: Directory

Reparse Data Length: 0x00000110
Reparse Data:
0000: 01 80 94 01 09 b1 00 46 65 52 70 12 f3 18 d5 00 …FeRp…
0010: 90 01 00 00 02 00 09 00 00 07 00 01 00 58 00 00 …X…
0020: 00 60 0a 00 04 00 5c 00 38 05 10 11 70 00 30 01 .....\.8...p.0. 0030: 60 08 3c 1d 28 00 9c 00 ea 56 00 48 02 00 06 30 .<.(…V.H…0
0040: 01 18 00 0e 09 04 00 37 65 37 37 64 33 64 31 00 …7e77d3d1.
0050: 36 39 32 62 34 62 38 66 00 61 65 39 61 35 66 34 692b4b8f.ae9a5f4
0060: 39 00 39 36 32 32 33 30 36 35 03 05 2b 25 27 62 9.96223065…+%'b
0070: 63 38 36 38 38 00 63 39 36 34 37 35 34 36 00 33 c8688.c9647546.3
0080: 34 61 35 38 31 62 37 00 34 35 61 63 38 30 38 61 4a581b7.45ac808a
0090: 04 30 62 04 4f 09 33 64 63 39 00 39 64 31 35 35 .0b.O.3dc9.9d155
00a0: 65 30 62 20 34 35 64 35 62 80 14 63 38 00 63 38 e0b 45d5b…c8.c8
00b0: 64 39 37 33 34 39 04 38 37 84 13 0a 30 63 33 66 d97349.87…0c3f
00c0: 00 64 61 34 37 36 64 63 64 20 34 63 33 30 38 00 .da476dcd 4c308.
00d0: 2b 34 64 00 37 37 31 63 31 38 66 33 0c 30 64 84 +4d.771c18f3.0d.
00e0: 13 25 03 02 37 61 63 00 32 61 35 31 36 2d 63 34 .%…7ac.2a516-c4
00f0: 00 37 64 2d 34 63 63 30 2d 00 62 38 36 62 2d 37 .7d-4cc0-.b86b-7
0100: 32 37 02 36 00 28 64 30 66 63 61 00 00 f5 06 06 27.6.(d0fca…

The solution to this problem is to either

  • Disable the files on-demand feature (this means OneDrive does not keep all files stored locally and does automagically load it once you access a file)
  • or exclude OneDrive from backups and trust that Microsoft has a adequate backup strategy (or ask them about it)

Or if you’re not actually using OneDrive uninstall it.

Ok,
We are not alone:

https://social.technet.microsoft.com/Forums/en-US/d612c19a-0f18-431a-9d75-9fb5dfd11aca/windows-10-1803-client-backups-failing-media-write-protected-errors
https://social.msdn.microsoft.com/Forums/en-US/7c42d8f6-e38d-4a25-8ea3-152aa5710e0a/getfileattributes-returns-error-19-getfileattributes-the-media-is-write-protected-for?forum=windowsgeneraldevelopmentissues

The problem seems to be when a service (urbackup in this case) tries to access the onedrive folder through VSS.

Disabling files-on-demand seems to solve it for some people (it did for me untill the previous windows version).
In one of the topic they said to delete all reparse points in the onedrive folder (after disabling the files-on-demand feature of course).

I’ve done this now on one pc and everything seems to be backing up fine !

For those willing to try this (I’m not responsible if any data loss might occur because of these commands)
Open powershell, cd to the onedrive folder
Check for reparsepoints:
gci -recurse -force | % { $.FullName; fsutil reparsepoint query "$($.FullName)" }
Delete those reparsepoints
gci -recurse -force | % { $.FullName; fsutil reparsepoint delete "$($.FullName)" }

This only handles the subdirectories, it might also be necessary to check the onedrive folder itself.

regards,
Stijn

@menzo Can you mark the best summary of fixing/working around this issue so when people are looking for an answer they can find it quickly. This is a long thread now.