https://knowledgebase.macrium.com/display/KNOW7/Error+0x80070510+when+deleting+backup+files
Turns out this is Macrium backup which I’m using.
Turns out the KB2726958 was causing the issue. Checking the blurb on it, no mention its supported on Windows 10.
https://www.microsoft.com/en-us/download/details.aspx?id=45202
Removed the patch and no longer crashing.