Questions tagged [devcon]

DevCon is a command line device manager for Windows system used to list , enable, disable, install, configure, and remove devices.

DevCon is built-in command and needs to be downloaded from Mcrosoft's site.

Dcoumentation:

42 questions
0
votes
1 answer

Why is my USB device sometimes creating another entry in the windows (7&10) registry?

What can cause a USB device to have double entries for the same device in the registry? How are the numbers following the "9&" derived (see below), i.e., 3406C40F and 2D6B958A, in case this is a hint to what is causing this problem. My guess is…
piton
  • 113
  • 2
0
votes
0 answers

Remove network adapter windows 7

Good day to you all. I am a beginner in the batch-file. Why doesn't my code want to work properly? In what direction to dig? for /F %%a in ('devcon driverfiles ^=net ^| find "PCI\"') do ( devcon remove %%a ) Devcon give an error…
MrHoj
  • 13
  • 2
0
votes
1 answer

Passing variable to PowerShell

I'm trying to pass a variable to this command in PowerShell Start-Process $devconloc -ArgumentList "\disable" '"'$GPUList[1]'"' -ErrorAction Stop $GPUList[0] is a hardware ID and needs to be passed to devcon.exe in…
user3080562
  • 103
  • 1
  • 10
0
votes
0 answers

Run devcon from batch to print in files

I'm trying to write a batch to print through devcon and process the files later. Here's my code :: Change working directory to devcon CD /d C:\Program Files (x86)\Windows Kits\10\Tools\x64 :: List all devices devcon findall =USB ^>…
George P.
  • 140
  • 1
  • 1
  • 7
0
votes
1 answer

How to detect the network interface is "initialized"

My USB network adapter (latest drivers) disappear from "network connections" window in control panel when computer wake up from sleep. So construct batch file to resetting adapter using devcon. After adapter reset I want to add some IP subnets…
user2956477
  • 1,208
  • 9
  • 17
0
votes
1 answer

want to disable / enable usb3 host controller

Looked here first on how to do that and found a lot of references but not up-to-date (windows 10) Tried "net start usbstor" but that is not supported it seems. It appears I need devcon.exe which is part of a huge windows 10 sdk download includeing…
0
votes
1 answer

devcon disable device not found win 10

I've recently spilled some coffee on my laptop (Asus ROG G55VW) and it messed my keyboard up. i now connected a usb keyboard and use it instead. The problem is that my normal keyboard sometimes interferes with my new one for no reason (since it is…
YoniPorat
  • 1
  • 1
0
votes
1 answer

Programmatically Retrieving Network Adapter "Location Information" from Device Manager Details Tab

I need to be able to retrieve (programmatically via C#) some of the information available through Windows Device Manager. Specifically I am referring to information on the Details tab of a Device Properties dialog box. In my case I need to…
Pungo120
  • 105
  • 1
  • 13
0
votes
2 answers

How to disable serial port using devcon

I am trying to disable usb-serial ch340 port using devcon as shown in picture. I tried following commands devcon disable usb*, devcon disable com* as shown in picture but did not work. How can I disable it.
Hot Cool Stud
  • 1,145
  • 6
  • 25
  • 50
0
votes
1 answer

devcon can't separate two devices when using the find command

I am trying to disable one my graphics cards, but I am have some issues trying to only disable one. When I type. devcon find PCI\VEN_10DE&DEV_05E3&SUBSYS_0F3919F1&REV_A1\4&FA060A&0&0009 I…
0
votes
3 answers

List Driver related files and their versions

Is there any way or tutorials where I can: List all of the files related to the driver List File version of those file (.exe, .dll, .sys and etc.) I am trying to compile a list of all of the drivers installed in the computer and mainly list all of…
Imsa
  • 1,105
  • 2
  • 17
  • 39
-2
votes
1 answer

getting remote drivernodes using "devcon drivernodes"

I was trying to get the below information related to the drivers. Name, INFFile, Vendor, Version, Description, and Date. All the information i could find it using the below command. "devcon drivernodes" But this is only working in local machine.…
Pratap
  • 63
  • 4
1 2
3