If your WiFi driver is uninstalled automatically, recover the driver first, then disable automatic driver installation and ...
This hidden Windows backup tool saved me after a bad driver update; your PC has a built-in time machine just for these disasters.