1.    21 Sep 2017 #1
    Join Date : Aug 2015
    Posts : 36
    Windows 10

    "Reset Hub" - any command line or powershell equivalent?


    Hi experts,

    I have a USB device that will malfunction from time to time and I've found by pressing the 'Reset Hub' button to disable/enable the Root Hub to which this device is connected, things will go back to normal once again.

    Click image for larger version. 

Name:	ResetHub.JPG 
Views:	10 
Size:	24.1 KB 
ID:	154370

    The thing is, I'd like to see if there is a command line / powershell equivalent of this button so I can write a batch file of some sort and use task scheduler to automate the USB reset. Any help appreciated !

    Thank you.
      My ComputerSystem Spec
  2.    21 Sep 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,990
    Win 10 Pro (1703)
      My ComputerSystem Spec
  3.    21 Sep 2017 #3
    Join Date : Aug 2015
    Posts : 36
    Windows 10
    Thread Starter

    Quote Originally Posted by dalchina View Post

    Thanks for your response first of all ! I tried devcon actually before posting here, wasn't working as expected...

    ... but I decided to try again after seeing your post, and finally realized what I was missing was a command line UI that has administrator rights!

    So yeah devcon works perfectly. Thanks once again!!

    Just for those who one day may stumble upon this post having the same question I had, here is the solution:

    Downloading devcon - https://networchestration.wordpress....orking-method/

    Using devcon to reset device - basically follow delchina's link above, the restart parameter should work as long as you have admin rights. Also the format of the Root Hub (at least on my device) is the following instead of what's written in the guide:

    @USB\ROOT_HUB\*3B6FF* <-- try something like this
      My ComputerSystem Spec
  4.    21 Sep 2017 #4
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,990
    Win 10 Pro (1703)

    Well done!
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
Solved Context menu now has "Powershell" instead of "Command Prompt"
So I updated to the CU over a week ago, and I noticed an odd change. The "Open command prompt here" option in the shift+right-click context menu has been replaced by "Open Windows Powershell here" instead. Powershell does not work with the apps I...
General Support
Equivalent or alternative to the "netdiag" command for Win10
the "netdiag" command is not available in Windows 10. Is there any equivalent available?
Network and Sharing
Command Line Option For Changing "size of text, apps" etc.
I currently use a macro to change the size of text, apps, and other items from 150% to 100% and back to 150%. When at 100% I can run Sysinternals' "BGinfo.exe" - Background Info - to update the info on the desktop's background. BGinfo.exe works...
Customization
Installation & Upgrade PowerShell PackageManagement (OneGet) - Install Apps from Command Line
If you are not familiar with package managers I recommend you read first the short Chocolatey package manager tutorial at our sister site Windows Eight Forums as an introduction to this tutorial: Chocolatey - Install Apps from Command Line. Although...
Tutorials
How to open the "Custom sizing options" window using command line?
I want to use the command line to open the "Custom sizing options" window in Windows 10, please view the image, thank you. 99228
Customization
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:14.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums