I wouldn't even dream of attempting an upgrade. I'd format the harddrive and install the new version of Windows from scratch.
That's the easiest way to fix any random error in Windows. Just reformat.