pnputil uninstall integrated gpu


shoober420

Active member
Member
Local time
7:53 AM
Posts
98
OS
Windows 11 27729
is there a way to uninstall the integrated gpu from the system ("Device Manager > Display Adapters > Right Click "*Integrated GPU* > Uninstall device") using pnputil or another method via cli?

"/disable-device" asks for the specific hardware ID, which i dont want. i want this to uninstall any integrated GPU found no matter what system its run on. plus this method only disables the device, not uninstalls it. so the integrated gpu is still found in the system when querying with wmic.

reason being, for the HighPerfAdapter script so it chooses the correct dedicated GPU instead of the onboard integrated GPU.

 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
You can uninstall the driver but Windows 11 will reinstall it maybe disable the GPU from Device Manager or from BIOS setup utility.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
You can uninstall the driver but Windows 11 will reinstall it maybe disable the GPU from Device Manager or from BIOS setup utility.
my bios is dell, and this machines bios is not very tweakable. theres no option to disable onboard integrated gpu in bios.

i can manually disable and uninstall the integrated gpu in device manager, but i want a method to do this via CLI for convienence, and to be deployed on any machine to disable any onboard integrated GPU
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
You can use Dism command to uninstall third-party drivers i will post a how to Dism video.

In this video, i will show you how to uninstall offline windows operating system drivers with Dism command.,

 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1
i found that "pnputil /remove-device <Instance Id>" will remove the device from Device Manager and thus does what i want. but using "VEN_8*" doesnt appear to remove the device. i have to fully specify the Instance Id for it to work. i want this to remove any Intel integrated GPU, not just mine.

I will try to uninstall the Intel video driver (oem51.inf) and see if that removes the Intel integrated GPU from device manager
 

My Computer

System One

  • OS
    Windows 11 27729
    Computer type
    PC/Desktop
    CPU
    i9 13900kf @5.7ghz all P-Cores
    Motherboard
    Aorus Master Z790
    Memory
    32gb DDR5 7200
    Graphics Card(s)
    RTX 4090
    Other Info
    https://www.github.com/shoober420
Like is said Windows 11 will reinstall the integrated GPU driver as you are not deleting the driver.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Latest Support Threads

Back
Top Bottom