Device Manager Cmd Prompt Jun 2026

pnputil /enum-devices > devices.txt notepad devices.txt

:If you specifically need a list of installed device drivers, use the PnP utility and redirect the output to a text file. device manager cmd prompt

To disable a specific device (e.g., a webcam or network adapter) using its Friendly Name: pnputil /enum-devices > devices

Or using the full path:

powershell "Get-PnpDevice | Where-Object $_.FriendlyName -like '*keyboard*' | Select-Object InstanceId, FriendlyName" pnputil /enum-devices &gt

devcon status * devcon restart "PCI\VEN_8086&DEV_2668"