I ran into this, I had go into the dev manager and click show all devices then delete all the nvidia that shows there.
restart. then go back in there and load the driver manually with the inf file. (load the oldest version if it finds 2 options)
Then download the original one that came with your card, or if you have the (evga, msi, etc.) disk use that. do a custom install so you can select fresh install.
It should finish with out error.
I had the issue where it failed.. then it didnt recognize my card as an nvidia.. then it kept saying i need to restart before i continue, then it kept failing.. it was miserable.. this was the only thing that worked..