https://livehelpbook.com/error-code-0x80070641/

Error Code 0x80070641 Installation Failure on Windows Fixed

Possible solution are given in the post to fix Error Code 0x80070641, were windows services could not be accessed