Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo
- - - - -

Uninstall Offline Windows OS Drivers with Dism Command


  • Please log in to reply
2 replies to this topic

#1 FreeBooter

FreeBooter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:06:00 AM

Posted 21 June 2016 - 12:10 PM

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

 
 
uh1WzPo.png
 
 
Replace the D:\ drive letter with the assigned drive letter of the Windows OS installed partition.
 
 

Useful information!
In computing, an INF file or Setup Information file is a plain-text file used by Microsoft Windows for the installation of software and drivers. INF files are most commonly used for installing device drivers for hardware components.


 
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

 
 
WxomQ5O.png
 
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

 
gATf12I.png
 
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.


Posted Image


BC AdBot (Login to Remove)

 


#2 Suncatcher

Suncatcher

  • Members
  • 48 posts
  • OFFLINE
  •  
  • Local time:06:00 AM

Posted 03 June 2017 - 05:10 AM

How to delete default drivers?

If I try this command with default drivers, I get

Found 1 driver package(s) to remove.Removing 1 of 1 - agp.inf: 
Error - The specified driver cannot be removed. Removing a default driver package is not supported.


#3 FreeBooter

FreeBooter
  • Topic Starter

  • Members
  • 3,137 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Turkey - Adana
  • Local time:06:00 AM

Posted 03 June 2017 - 07:13 AM

You're only allowed removing third party drivers.

Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users