To add to wpgwpg's answer, you need to run the Media Creation Tool on some other computer, where you can access Internet. And tell it to create a Windows installation on a USB stick (you only need 4GB of space).
Then, take the stick to the broken computer and install Windows.