To fix Windows could not prepare the computer issue, you need to remove all the unnecessary hardware and make sure the BIOS can work with the Windows you are installing. Besides, you can try creating a fresh installation media or perform a clean install.