Uninstall Offline Windows OS Drivers with Dism Command
You can uninstall the third party drivers from offline Windows Operating Systems using Command Prompt within Windows Recovery Environment.
Uninstalling third party driver while Windows OS offline can be helpful in situations where Windows OS will not boot or have a Blue Screen Of Death (BSOD) because of a driver you have installed.
Dism command can only be use with following operating systems:
- Windows 7
- Windows 8
- Windows 8.1
- Windows 10
Boot the computer into Windows Recovery Environment and open the Command Prompt.
Display information about all drivers in an offline operating system.
Dism /image:D:\ /Get-Drivers
Replace the D:\ drive letter with the assigned drive letter of the Windows OS installed partition.
Display information about an INF file installed.
Installed 3rd party drivers will be named OEM1.inf, OEM2.inf, and so on.
Use the Published Name: from the list generated by the /Get-Drivers parameter to view information on installed drivers.
Example:
Dism /image:D:\ /Get-DriverInfo /Driver:oem1.inf
Replace the D:\ drive letter with the assigned drive letter of the Windows OS installed partition.
Also replace the oem1.inf driver name with driver name you want to view its details.
Remove driver package from an offline Windows operating system.
Example:
DISM /Image:D:\ /Remove-Driver /Driver:oem1.inf
Replace the D:\ drive letter with the assigned drive letter of the Windows OS installed partition.
Also replace the oem1.inf driver name with driver name of the driver you want to uninstall.