If you have another computer, disconnect the current disk-drive, and connect your new disk-drive.
Disconnect any Ethernet cable from the computer.
Start to install Windows onto the new disk-drive. When Windows shows "restarting in 30 seconds", power-off your computer. Move the disk-drive back to the other computer, disconnect any Ethernet cable from the computer, and start the computer. Windows should complete the installation. Then, use "change product key" to enter the product-key. Reconnect the Ethernet cable, and then click to "activate" Windows.