How to reset the USB Hub in Windows 10 Commandline

AlmostSerious

In Windows 10 device manager, for the "Generic USB Hub" & "USB Root Hub" there is a new function under advanced tab called: "Reset Hub".

I want to be able to reset these with each wakeup/restart.
Can you tell me how i can call this function via commandline?

Here you can see the new menu item

harrymc

I have found the DevCon sources on github.

On examination of the program, there are no surprises. DevCon uses the WDK for Windows 10, version 1709 (Windows Development Kit) of which it is a part. The WDK is the only tool on Windows to develop, test, and deploy Windows drivers.

Specifically, DevCon uses a unified function, ControlCallback, for doing the operations of Enable, Disable and Restart. Restart is therefore equivalent to doing Disable and Enable.

There is no other tool than the WDK to operate on devices, and there are no other functions in the WDK to enable/disable devices than the ones that are used by DevCon.

As the Device Manager is also written using the WDK, I would say that it almost surely does the same operations for "Reset Hub" as DevCon does for Restart. There are no other operations in the WDK for doing this, as far as I have been able to find.

It should be noted that the operation itself is executed by the driver of the device, to which the WDK passes the command. The actual action that is done depends on the driver of the device. Examining in Device Manager the drivers for the "Generic USB Hub" and "USB Root Hub" devices shows that the same drivers are used for both, so the command "Reset Hub" or Restart very likely does a very similar operation for both devices.

(This answer cannot be definitive, since the source of the Device Manager is not published by Microsoft, but I believe it is correct.)

この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。

侵害の場合は、連絡してください[email protected]

編集
0

コメントを追加

0

関連記事

分類Dev

How i can reset keyboard to their original defaults in Windows 10?

分類Dev

Broken USB in Windows 10 1607

分類Dev

Windows 10 - Disable Reset My PC

分類Dev

How to reset thumbnails in windows 8

分類Dev

Windows 7 USB port not working after Windows 10 dual boot

分類Dev

Windows 10 Windows Explorer shows a working USB drive as a network drive

分類Dev

How to reset the use/password of jenkins on windows?

分類Dev

Windows Phone 8.1: How to get a ListView inside a Hub

分類Dev

Cant access USB to install Windows 10 on DELL Precision 3620

分類Dev

External Hard Drive lost after Making a Windows 10 Bootable USB

分類Dev

KERNELS path for USB device connected to HUB

分類Dev

Installing windows 10 over Ubuntu16.04 LTS; W10 Installation USB not being read

分類Dev

How to access fonts in windows 10

分類Dev

How to switch to PIN in Windows 10

分類Dev

how to host an exe with a dynamic commandline parameter

分類Dev

How to build a Kony iOS Project using commandline

分類Dev

RaPI as NAS; USB to SATA using Powered USB Hub

分類Dev

How do I reset hard drive in order to install Windows 8.1?

分類Dev

How do I reset my installation of Ubuntu on Windows?

分類Dev

How to install FreeBSD 10 from USB Hard drive?

分類Dev

Windows 8 Live Hub Tile

分類Dev

Windows 10ワイヤレスの問題:ERR_CONNECTION_RESET

分類Dev

How can i access control name of MapControl inside a Hub Windows Phone 8.1

分類Dev

Windows10でのUSBデバイス挿入の検出

分類Dev

Windows 10 Media Creation Tool "We can't find a USB flash drive"

分類Dev

USBのWindows10ISOが起動を拒否する

分類Dev

Windows 10 Slow USB 3.0ディスク転送(〜30.0 MB / s)

分類Dev

LinuxでWindows10USBスティックを作成する

分類Dev

USBからWindows10をリセットする

Related 関連記事

  1. 1

    How i can reset keyboard to their original defaults in Windows 10?

  2. 2

    Broken USB in Windows 10 1607

  3. 3

    Windows 10 - Disable Reset My PC

  4. 4

    How to reset thumbnails in windows 8

  5. 5

    Windows 7 USB port not working after Windows 10 dual boot

  6. 6

    Windows 10 Windows Explorer shows a working USB drive as a network drive

  7. 7

    How to reset the use/password of jenkins on windows?

  8. 8

    Windows Phone 8.1: How to get a ListView inside a Hub

  9. 9

    Cant access USB to install Windows 10 on DELL Precision 3620

  10. 10

    External Hard Drive lost after Making a Windows 10 Bootable USB

  11. 11

    KERNELS path for USB device connected to HUB

  12. 12

    Installing windows 10 over Ubuntu16.04 LTS; W10 Installation USB not being read

  13. 13

    How to access fonts in windows 10

  14. 14

    How to switch to PIN in Windows 10

  15. 15

    how to host an exe with a dynamic commandline parameter

  16. 16

    How to build a Kony iOS Project using commandline

  17. 17

    RaPI as NAS; USB to SATA using Powered USB Hub

  18. 18

    How do I reset hard drive in order to install Windows 8.1?

  19. 19

    How do I reset my installation of Ubuntu on Windows?

  20. 20

    How to install FreeBSD 10 from USB Hard drive?

  21. 21

    Windows 8 Live Hub Tile

  22. 22

    Windows 10ワイヤレスの問題:ERR_CONNECTION_RESET

  23. 23

    How can i access control name of MapControl inside a Hub Windows Phone 8.1

  24. 24

    Windows10でのUSBデバイス挿入の検出

  25. 25

    Windows 10 Media Creation Tool "We can't find a USB flash drive"

  26. 26

    USBのWindows10ISOが起動を拒否する

  27. 27

    Windows 10 Slow USB 3.0ディスク転送(〜30.0 MB / s)

  28. 28

    LinuxでWindows10USBスティックを作成する

  29. 29

    USBからWindows10をリセットする

ホットタグ

アーカイブ