If a specific driver is causing blue screens or system instability: pnputil /delete-driver oem0.inf (Note: Replace "oem0.inf" with the published name found in the enumeration list.) 3. Querying Hardware with WMIC and PowerShell
The most basic command simply opens the familiar Device Manager window. This is useful if your Start Menu is unresponsive or you are working within a limited shell. device manager cmd prompt
Save this as device_actions.bat and run as Admin: If a specific driver is causing blue screens
The quickest way to access the Device Manager interface via the command line is by calling the Microsoft Management Console (MMC) snap-in. devmgmt.msc device manager cmd prompt
pnputil /delete-driver oemX.inf /uninstall /force