Here are two practical methods to get you back online. This method works when your main PC has no network drivers installed (common after a clean Windows install).
Use a secondary device, a USB flash drive, or a Windows Recovery DVD to "sneaker-net" the required drivers onto the offline machine. use a usb drive network connection or windows recovery dvd
Problem: You’ve just reinstalled Windows, or you’re booting into a recovery environment, but you have no internet access. Without drivers, your Ethernet or Wi-Fi adapter won’t work, and without internet, you can’t download the drivers you need. Here are two practical methods to get you back online