If your Wi-Fi driver won’t install, update your Windows first (via Ethernet or USB tethering), then retry the Wi-Fi driver.
After installation, verify success:
This is the easiest method, but it requires that you already have some form of internet connection (e.g., USB tethering from your phone or a second working adapter). how to install driver for network adapter