Everybody encountered it… windows got corrupted and isn’t bootable anymore, and after reinstalling, you to search all the required most recent drivers from all over the web and many wheren’t available anymore or you got infected with a virus that you downloaded instead of a driver.
To backup the drivers you could do this command:
dism /online /export-driver /destination:D:\MyDriverFolder
To restore the
dism /online /Add-Driver /Driver:D:\PcDrivers /Recurse
If you forgot to backup your drivers when your windows was still running, then you might wanna try to backup it with a WindowsPE Disc and type this command:
dism /Image:c:\Windows /export-driver /destination:D:\MyDriverFolder