Hi,
The "Windows could not complete the installation. To install Windows on this computer, restart the installation error" occurs when there is a corruption in the installation file. We've checked the link that you've included in your post and found out that the solution was for Windows 7, that's why it did not work on your Windows 10 PC. To help resolve your issue, we suggest following the troubleshooting steps provided by Andre Da Costa in this thread that was found helpful in resolving similar concern.
Should you need further assistance, feel free to post your query anytime.