Well, hopefully this will help some. I work on many computers and with a google search many get this error... 0X80070017.
It seems to be a write read error....especially when upgrading your operating system when it taxes the computers memory and hard drive. Some say check the hard drive...some say check the memory.
In the end after running several diagnostic tools I FINALLY found the problem. My customer was a smoker and the cooling fan was completely clogged. I blew some air blast through the cooling fins which blew out a ton of disgusting smoke and ashes.
I tried to load several operating systems..even going back to Window XP and it slowed to a crawl......
Anyway...after restoring the cooling it loading lighting fast and both the memory and hard drive are running fine.
Hope this helps you....