The reformatting step in the installation process erases the hard drive you’re installing Windows on, which lets the installer set up Windows correctly.