There is another thread where a solution was to turn off Windows Defender Ransomware protection. That worked for me.
Link: The writer process ended unexpectedly.