Page 1 of 1

usbitcmd.exe [Bug]

Posted: Thu Jan 20, 2022 12:18 pm
by TheDarkSide
Not showing all USB drives...

USB Image Tool 1.81
COPYRIGHT 2006-2020 Alexander Beug
http://www.alexpage.de

Device | P# | Friendly Name | V# | Volume Name | Path | Size
------------------------------------------------------------------------------
1 | 2 | JMCR SD SCSI Disk Device | 1 | | D:\ | 60874 MB

But...

C:\Raspberry\USBTOOL>usbitcmd.exe d 3

USB Image Tool 1.81
COPYRIGHT 2006-2020 Alexander Beug
http://www.alexpage.de

- Device ---------------------
Name : Generic STORAGE DEVICE USB Device
Number : 3
Phys.Drive : 1
Identifier : USBSTOR\DISK&VEN_GENERIC&PROD_STORAGE_DEVICE&REV_0815\00000
Path : \\?\usbstor#disk&ven_generic&prod_storage_device&rev_0815#0
Size : 31104958464 Bytes
Serial : 000000000815
Location : Port_#0003.Hub_#0003
HardwareID : USB\VID_05E3&PID_0743&REV_0815

In The USB Image Tool Gui I see both USB drives...

Re: usbitcmd.exe [Bug]

Posted: Thu Jan 20, 2022 11:02 pm
by Alex
Please use usbitcmd l /d /n to list all devices in device mode + include non-removable drives. This will require the command line to be started with admin rights. If the device contains no volume (what I suspect), it will be shown only in device mode. The normal list mode lists based on found volumes. If you don't see it with these options activated, please also add /debug option and post the output here.

Re: usbitcmd.exe [Bug]

Posted: Fri Jan 21, 2022 9:23 am
by TheDarkSide
Thx... looks to work fine... my mistake...

Check Admin

C:\Raspberry\z>net session
There are no entries in the list.

C:\Raspberry\z>usbitcmd l /d /n

USB Image Tool 1.81
COPYRIGHT 2006-2020 Alexander Beug
http://www.alexpage.de

Device | P# | Friendly Name | V# | Volume Name | Path | Size
------------------------------------------------------------------------------
1 | 2 | JMCR SD SCSI Disk Device | 0 | boot | D:\ | 7664 MB
3 | 1 | Generic STORAGE DEVICE U | 0 | | | 29664 MB

C:\Raspberry\z>usbitcmd.exe d 1

USB Image Tool 1.81
COPYRIGHT 2006-2020 Alexander Beug
http://www.alexpage.de

- Device ---------------------
Name : JMCR SD SCSI Disk Device
Number : 1
Phys.Drive : 2
Identifier : SCSI\DISK&VEN_JMCR&PROD_SD&REV_\000000
Path : \\?\scsi#disk&ven_jmcr&prod_sd&rev_#000000#{53f56307-b6bf-1
Size : 8036286464 Bytes
Serial : 4&477542B&0&01E2
Location : PCI bus 35, device 0, function 1
HardwareID : PCI\VEN_197B&DEV_2392&SUBSYS_17A7103C&REV_30

- Volume ---------------------
Path : D:\
Name : boot
Serial : 7581-8A48
File system: FAT32
Size : 264289280 Bytes
Free : 214334464 Bytes

C:\Raspberry\z>usbitcmd.exe d 3

USB Image Tool 1.81
COPYRIGHT 2006-2020 Alexander Beug
http://www.alexpage.de

- Device ---------------------
Name : Generic STORAGE DEVICE USB Device
Number : 3
Phys.Drive : 1
Identifier : USBSTOR\DISK&VEN_GENERIC&PROD_STORAGE_DEVICE&REV_0815\00000
Path : \\?\usbstor#disk&ven_generic&prod_storage_device&rev_0815#0
Size : 31104958464 Bytes
Serial : 000000000815
Location : Port_#0004.Hub_#0003
HardwareID : USB\VID_05E3&PID_0743&REV_0815