Friday 22 April 2016

How to uninstall Graphics card / Other drivers using Command prompt / Recovery console?

you want to uninstall Graphics drivers or any other drivers from Command prompt or Recovery console

For XP--- Microsoft's own Devcon.exe is the command-line version of Device Manager. Besides the original it even can be downloaded online.

 FOR  Vista ,7, 8 or 10 etc operating system of Microsoft PNPUTIL.EXE  is The Solution
So first we will see XP solution

First open command prompt if you are on C:\

Type---  cd   \windows\system32    press Enter

Now that you are at C:\WINDOWS\SYSTEM32

Type ---devcon help  press Enter

A complete list of Commands will be Displayed

but if it says devcon not recognized as internal or external command
then using hirens boot cd
logging in Mini XP, search for I386 at C:\ drive

you will find in the results devcon_I386.exe

If you're using a 32-bit version of XP, This is the file for you

If you are using 64-bit version of XP then the file for you is devcon_Ia64.exe

Both files are located at---

at C:\Documents and settings\USER\Local Settings\Temp\UTPS\Common

Copy it and Paste in C:\Windows\system32


Rename it  devcon.exe

Or download online and paste it in the above mentioned folder


and then Starting Command Prompt on the drive of your insatallation wich by Default is C:\   Type ---devcon help

and a List of Commands Appear

 devcon status *  List running status of devices

 or devcon hwids * to get a List of all Hardware ID's

 or

 devcon findall =usb (foramore compact listing) should tell you the hardware ID of the device. For example:

USB\VID_0781&P|D_71l3\0001162825 Name: USB Mass Storage Device

Driver is running.

You can then try removing the device with devcon remove USB\VID_0781&PID_7113

For Graphics card like ASUS Radeon 5450

On Command  ---  devcon findall *

 it will show A List and in It

PCI\VEN_1002&DEV_68F9&SUBSYS_04631043&REV_00\4&41FE850&0&00E0 : video controller

your command then will be

devcon remove PCI\VEN_1002&DEV_68F9       and press  Enter

and the Graphics Card drivers will be uninstalled and Message to this effect will appear on screen.

If you are using Vista ,7,8 or 10 etc operating system of Microsoft then the Command will be

again being on C:\windows\system32>pnputil  -e   pnputil space dash then e

and press enter

will show a list of installed drivers

Then to remove  pnputil  -f  -d  <hardware ID>    press enter

for example  pnputil  -f  -d  oem15.inf

Press enter

driver package deleted successfully meass
 age will appear on screen

[Remember pnputil.exe should be present in your C:\windows\system32  folder,if it isn’t there, search for it in your instasllation drive wich by default is  C:\ or download it and place it in C:\windows\system32   Folder]

And so

driver package deleted successfully meassage will appear on screen