11 - Devcon.exe Windows
While the graphical Device Manager is the go-to tool for most Windows 11 users, system administrators, developers, and power users often need a faster, scriptable alternative. Enter devcon.exe (Microsoft Device Console). This command-line utility acts as a powerful text-based interface to Plug and Play (PnP) devices, allowing you to enable, disable, restart, update, and query hardware devices directly from the terminal.
Get-PnpDevice -PresentOnly | Where-Object $_.FriendlyName -like "*NVIDIA*" | Enable-PnpDevice -Confirm:$false devcon.exe remains a handy, lightweight tool for scripting hardware control on Windows 11. It gives you surgical precision over Plug and Play devices without needing to click through Device Manager. For legacy scripts and fine-grained batch operations, it's invaluable—though you should also familiarize yourself with pnputil and PowerShell cmdlets as the future-forward path. devcon.exe windows 11
devcon status * This shows every PnP device with “running,” “stopped,” or “disabled” status. devcon find *VEN_10EC* # finds all Realtek devices devcon find *PCI\VEN_8086* # finds all Intel PCI devices 3. Enable or Disable a Device Disable: While the graphical Device Manager is the go-to
Syntax: