I also had this problem in my first PC build. What you have to do is download Windows Media Creation Tool, and follow the instructions to download Windows onto a USB Drive. Then, shut down your PC and then when booting up, boot into your BIOS, and select the USB to boot up from. Now, finish installing Windows, but DO NOT install any WiFi drivers, etc. Sometimes, these drivers are not coded properly, resulting in this problem. Only install the drivers if your network does not work. Also, install the latest BIOS update (by going into your motherboard's website) and then install any Windows updates available. I hope this helps.