RestartUsbPort 1.2.1 
 RestartUsbPort is a command line tool that allows you to reboot any USB port when it crashes without having to restart your machine. Its goal is to be a simple little tool to reboot a USB port that crashes when trying to use it. First of all you need to figure out which port(s) can be rebooted. Usage:
RestartUsbPort[PortId][-l][-na][-w:nnnn]
PortId can be:
- Device instance ID (in quotes because it contains &)
 - driver key name
 - device location information
 - a device friendly name (in quotes if it contains spaces or &)
 - a UsbTreeView-style port sequence
 
-l lists bootable USB ports-na has no information about-w:nnnn timeout to end in milliseconds.
Example:
RestartUsbPort -l
RestartUsbPort "USB\VID_0781&PID_5580\AA010319131128161470"
RestartUsbPort {36fc9e60-c465-11cf-8056-444553540000}\0007
RestartUsbPort Port_#0002.Hub_#0008
RestartUsbPort "Sandisk Extreme"
RestartUsbPort 1-4-2
Also, for the program to work properly you need to run it with administrator privileges.
Some results returned:
0 - successfully rebooted the USB port
1 - no parameters
2 - invalid parameter
3 - the provided ID could not be found or no devices are attached to the gateway
4 - tried rebooting but failed
-  Zentimo xStorage Manager 3.1.2.1301
   Zentimo xStorage Manager is a program that supports user management and effective control of peripheral devices is connected to the computer such as USB Flash drives, portable devices, card readers, nh  -  WinPE Nasiboot v16 Pro 2022
   Win8PE, Win10PE, Win11PE Multiboot USB Kit (x86/x64) integrated with more than 200 software tools and utilities for Windows  -  TweakBit PCSuite 10.0.24
   Software run check out the entire whole of your system to locate the junk files, the incident reduces the speed of the system  -  PGWARE GameSwift 2.10.21.2024
   The combination of these two products PCMedik and GameGain help set the standard for PC and software optimized game  -  KMSonline 2.0.9 Portable
   Toolkit KMS activation to activate online Windows and Office famous of Ratiborus Russia  -  ElectraSoft Mouse Button Control 25.10.31
   The small software program helps you customize your mouse-related specific settings.  -  Clover 3.5.6
   Helps you add Chrome-style tabs to Windows Explorer and allows you to quickly switch between multiple folders  -  AutoShutdown 1.0.0
   An automated computer shutdown tool supports you with actions such as shutting down, shutting down, sleeping, hibering.  -  Advanced System Optimizer 3.81.8181.283
   Optimal Windows system backup the file system, as well as fix bugs in the system registry, and defragment  -  .NET Framework 4.8.1 Build 9037
   Programming background and execute applications on Microsoft Windows operating system allows you to program interface