Note

Windows Driver Hell

I had to do a factory reset on a hand-me-down Samsung 500t tablet that was not acting right. After the factory reset, the wi-fi and touchscreen weren’t working and there was a long list of devices missing drivers in the device manager.

I used another computer to extract the drivers from an old Paragon HD backup of the tablet (also handed down to me fortunately!) and transferred them via flash drive to C:\500tdrivers

For you folks who don’t already know, this folder contains a backup of every driver on your computer:

C:\Windows\System32\driverstore\filerepository

I started out right-clicking each device in Device Manager and locating the inf file. This was taking way too long and I am not cut out for this kind of boring task. This process can get a little ridiculous when there are too many devices missing drivers.

This is the fix:

  1. Right-click Powershell and click run as administrator
  2. Run this command: Set-ExecutionPolicy -ExecutionPolicy Unrestricted
  3. Now, launch Powershell ISE as an administrator
  4. Copy and paste the below into the PowerShell ISE script pane

Make sure you have your files ready on the C drive before you begin.

You can get all the drivers from your old computer or VM or backup

Get-ChildItem “c:\500tdrivers” -Recurse -Filter “*.inf” | ForEach-Object { pnputil.exe -a $_.FullName }

For unsigned drivers you will have to click “install” on the warning popup unfortunately