Windows 10: How to disable unknown USB device using devcon or any command line app?

Discus and support How to disable unknown USB device using devcon or any command line app? in Windows 10 Software and Apps to solve the problem; In the device manager there is "Unknown USB Device Device Descriptor Request failed"If I disable or uninstall the device then enable or "scan for... Discussion in 'Windows 10 Software and Apps' started by Joseph Stateson, Apr 19, 2023.

  1. How to disable unknown USB device using devcon or any command line app?


    In the device manager there is "Unknown USB Device Device Descriptor Request failed"If I disable or uninstall the device then enable or "scan for changes" the device is activated and works although it is no longer shown in the device manager. It does show up using usbview.exe. I would like to automate a disable followed by a scan. I tried to use devcon as shown below but it seems not possible to identify the device as any attempt to narrow down the "ID" fails.One would expect devcon64.exe find "USB*VID_0000*" to work but it does not.C:\AMD>devcon64.exe find usb\* USB\VID_04CA&PID_0

    :)
     
    Joseph Stateson, Apr 19, 2023
    #1
  2. nir2014 Win User

    how to disable / enable devices using command line in Windows 10

    Hello friends,

    Prior to updating to 1803 my headphones/laptop speakers were working just fine. When I connect my USB headphones, audio automatically redirected to headphones but not any more (after updating to 1803). Now, I need to manually disable speakers after connecting headphones (vice versa for speakers) to make them work.

    I'm more of a typing guy (text/command line etc.) than GUI so I would like to know how could I enable/device through command line. I tried DevCon tool ( DevCon Status | Microsoft Docs ) but when I run it says successful but it does NOT actually disable the device. Of course, I used "Elevated command prompt (admin)"

    Any advise on how to disable/enable devices in Windows 10 command-line please? Thanks!!


    How to disable unknown USB device using devcon or any command line app? 189912d1527100292t-how-disable-enable-devices-using-command-line-windows-10-a-image.png
     
    nir2014, Apr 19, 2023
    #2
  3. Windows 10 USB not recognized after devcon disable

    Hi Rock,

    There are reasons why you are encountering issues after using DevCon
    to disable your flash drive. The DevCon functions should work in these type of scenarios. We recommend that you read this

    article
    to learn more about how DevCon works as an alternative to Device Manager.

    Should you have additional questions, feel free to post them on this thread.
     
    Jefferson Ore, Apr 19, 2023
    #3
  4. RockFoxx Win User

    How to disable unknown USB device using devcon or any command line app?

    Windows 10 USB not recognized after devcon disable

    I'm running Windows 10 Pro version 1703

    I was looking for a way to programmatically “Safely Remove Hardware” and I found reference to the devcon.exe. I found devcon program in Windows Driver Kit (WDK) and I think it was version 7. I couldn’t get it to disable a USB flash drive “SanDisk Cruzer
    USB Device”. Then I discovered a WDK for Windows 10 1703 and I installed it. I tried running in Powershell

    .\devcon disable USBSTOR\DISK”&”VEN_SANDISK*

    and still it wouldn’t work. I then tried PpwerShell in Administrator mode and the disable worked.

    But now I couldn't get it to enable. I could not access my flash drive even after several restarts and many tries at devcon enable and devcon restart. It was not shown in Device Manager. I took my flash drive to another PC and it worked perfectly. I even
    reformatted it on the other PC. When I plugged it into my main PC it beeped but would not show up in Device Manager or Windows Explorer.

    As a last resort I did a System Restore to a day ago before I installed Devcon. Now the flash drive is recognized and shows up in Device Manager and Windows Explorer.

    Is there a problem with devcon? Or maybe I messed it up by trying Devcon version 7 followed by devcon 10.
     
    RockFoxx, Apr 19, 2023
    #4
Thema:

How to disable unknown USB device using devcon or any command line app?

Loading...
  1. How to disable unknown USB device using devcon or any command line app? - Similar Threads - disable unknown USB

  2. Error when using devcon to disable a USB port.

    in Windows 10 Gaming
    Error when using devcon to disable a USB port.: I would like to have a usb port on my pc disable using devcon in a powershell script but it wont disable but will enable. I have tried the both of the hardware IDs but that hasnt helped. System infomation: windows 11 Pro, i5 12600k, nvidia 4060 oc, western digital black sn770...
  3. Error when using devcon to disable a USB port.

    in Windows 10 Software and Apps
    Error when using devcon to disable a USB port.: I would like to have a usb port on my pc disable using devcon in a powershell script but it wont disable but will enable. I have tried the both of the hardware IDs but that hasnt helped. System infomation: windows 11 Pro, i5 12600k, nvidia 4060 oc, western digital black sn770...
  4. unknown usb device

    in Windows 10 Gaming
    unknown usb device: unknown usb device https://answers.microsoft.com/en-us/windows/forum/all/unknown-usb-device/98b3560d-7dd4-4b49-9156-f074adc42492
  5. How to disable unknown USB device using devcon or any command line app?

    in Windows 10 Gaming
    How to disable unknown USB device using devcon or any command line app?: In the device manager there is "Unknown USB Device Device Descriptor Request failed"If I disable or uninstall the device then enable or "scan for changes" the device is activated and works although it is no longer shown in the device manager. It does show up using...
  6. How do disable unknown USB device using devcon or any command line app

    in Windows 10 Gaming
    How do disable unknown USB device using devcon or any command line app: In the device manager there is "Unknown USB Device Device Descriptor Request failed"If I disable or uninstall the device then enable or "scan for changes" the device is activated and works although it is no longer shown in the device manager. It does show up using...
  7. How do disable unknown USB device using devcon or any command line app

    in Windows 10 Software and Apps
    How do disable unknown USB device using devcon or any command line app: In the device manager there is "Unknown USB Device Device Descriptor Request failed"If I disable or uninstall the device then enable or "scan for changes" the device is activated and works although it is no longer shown in the device manager. It does show up using...
  8. How to Enable or Disable Hibernation using PowerCFG command line in Windows 10

    in Windows 10 News
    How to Enable or Disable Hibernation using PowerCFG command line in Windows 10: [ATTACH]Hibernation allows you to save the state of the computer without losing any unsaved […] This article How to Enable or Disable Hibernation using PowerCFG command line in Windows 10 first appeared on TheWindowsClub.com. read more...
  9. Unknown USB Device

    in Windows 10 Drivers and Hardware
    Unknown USB Device: I got a new Windows 10 update, after installing it I noticed that my microphone doesn't get detected. I uninstalled the update and went back to the version where my microphone still worked. I've tried uninstalling the drivers for it but it still doesn't work. Everything I've...
  10. how to disable / enable devices using command line in Windows 10

    in Windows 10 Drivers and Hardware
    how to disable / enable devices using command line in Windows 10: Hello friends, Prior to updating to 1803 my headphones/laptop speakers were working just fine. When I connect my USB headphones, audio automatically redirected to headphones but not any more (after updating to 1803). Now, I need to manually disable speakers after connecting...