Questions tagged [devcon]

Devcon is the name for the Windows Device Console. It is available since Windows 2000 and called to get detailed information about devices from the command line. With the program Devcon.exe, you can enable, disable, install, configure, and remove devices.

Use this tag for all questions regarding the previously mentioned functions.

11 questions
78
votes
5 answers

Quick Method to install DevCon.exe?

As refered to by Microsoft: DevCon (Devcon.exe) is included when you install the WDK, Visual Studio, and the Windows SDK for desktop apps. But these programs take hundreds of MBs, and I don't need the full suite installed on my Windows. Isn't…
2
votes
0 answers

How to fully disconnect and reconnect a USB keyboard from PC on Windows?

I have my USB keyboard (ASUS ROG Strix Scope RX) that has LED lights, connected to my laptop. I need its LEDs to turn off when turning off my external monitor (the only one I use actually, since the lid of my laptop is closed), so I use OpenRGB to…
2
votes
1 answer

How to reset video driver without using the shortcut? (CTRL + SHIFT + WIN + B)

I need to reset the video driver on a Windows 10 machine running ARM32. The old common shortcut (CTRL + SHIFT + WIN + B) works! yes! and produces a single beep as expected, but the keyboard won't be always present so I need to do this via…
1
vote
0 answers

Disconect+Connect (Reload) INTERFACE USB

I'm having an issue with a KVM and windows 10 that is well know 1, 2 and 3. When I switch my KVM to this Win10 machine, the USB interface doesnt recognize the devices plugged to the KVM so I have to manually unplug and plug the USB cable to make it…
1
vote
1 answer

Automatically restart USB audio device after return from standby

I have a speaker system with a built in USB audio interface connected to my PC. When the PC returns from standby, audio output is not working, even though the device is shown as audio output. To get audio output again, I have to manually select…
Spatz
  • 11
  • 1
1
vote
0 answers

How to watch devcon output and save it to a file

I installed devcon utility like described here. Now I run it with C:\devc>devcon.exe find * and have two issues: Console window close immediately after execution and I don't have time there is nothing to see. How to suspend it? How to redirect its…
ibse
  • 111
1
vote
0 answers

How to turn off touchscreen earlier when stylus gets detected?

I have an HP convertible with stylus input. The windows options offer the function to turn off touchscreen, when the stylus is near enough to the touchscreen. My problem is, that it only switches the touchscreen off, when the stylus is like 1-2cm…
Kiljab
  • 11
1
vote
0 answers

DevCon.exe installation

I've got a problem during installation devcon. Devcon is a MSC software to manage with peripherials moare accurate. I know that devcon is a part of WDK, but i want to install just devcon without other tools. To launch devcon.exe should i add…
1
vote
1 answer

devcon.exe cannot disable usb device

I have a USB barcode scanner connected to a windows 10 tablet. I need to switch this barcode scanner on/off from a powershell script running on windows). Reading the microsoft doc online, would seem tat devcon.exe is the way to go. I installed the…
fat
  • 121
0
votes
1 answer

(SOLVED) how to enable and disable device in one batch file

I want a shortcut that enable/disable a network card according to its status. I figured out how to enable or disable using either devcon, wmic and pnputil or found some Q&As here that suggest scripts that include conditional code but none of them…
0
votes
1 answer

How to restart usb hub with devcon?

I have usb hub with 8 devices. This is the list of my usb devices: PS C:\Users\Administrator> devcon listclass usb Listing 16 devices in setup class "USB" (Universal Serial Bus controllers). USB\VID_045B&PID_0210\6&9217727&0&1 …
ogbofjnr
  • 133