Be sure that the hard drive is good or it will fail to install or have another issue later.
Or why not wipe the drive and sell it as-is?
I have an XPS ONE 2420 BY DELL and was trying to sell the computer and erased the operating system. I recall putting it back on and I was starting to reinstall the drivers and never finished. This was a year ago. Now I turned the computer on and it booted up and asked me my password. I couldn't remember it so automatically the windows updates started downloading all 109 of them. I just went to system restore to restore the computer before the updates were installed. It will not boot up in regular mode. Just safe mode. I kept getting some kind of error code 0F00:075D on the smart long self test. I have no idea what this is or what to do. Can you help or should I get someone to try to fix.