Dude this is gold. I was getting code 10 on the wifi driver on my device manager and I spend more than a few hours to fix it.
I tried everything, reinstalling windows, reinstalling wifi drivers, cmd commands everything.
Then I tried just step 1 and suddenly my Wifi driver and bluetooth driver appear again. I don't even know why everything else didn't work but this one did!