I had this issue on my laptop. From what I have seen, that specific error is often tied to a driver or background app conflict. I finally got it to work by doing a clean boot to disable all non-Microsoft startup items and services before running the upgrade again.