Skip to content

Releases: ng-dst/usbmon

UsbMonitor v1.1

01 Dec 19:51
Compare
Choose a tag to compare

v1.1: Minor fixes

This release has some QoL improvements and a new uninstall option.

About

UsbMonitor service reports USB devices insertion / removal to Event Log and to log file (if set).
Can block specific devices based on their Hardware ID.

Usage

  1. Install UsbMonitor service: usbmon.exe install*
  2. (optional) Configure log file path: usbmon.exe logfile "C:\path\to\log.txt"*
  3. Start service from Services menu or with sc start UsbMonitor*
  4. Connect or disconnect some USB devices
  5. Open log file or EventVwr.exe (go to Windows Logs/Application)
  6. Notice Hardware ID value of format USB\VID_041D&PID_C584&REV_0409
  7. (optional) To block device, use Hardware ID: usbmon.exe deny "USB\VID_041D&PID_C584&REV_0409"*
  8. (optional) To unblock device, use Hardware ID: usbmon.exe allow "USB\VID_041D&PID_C584&REV_0409"* and enable it in Device Manager (if needed)

* requires administrative privileges (Run as Admin)

UsbMonitor v1.0

26 Nov 12:24
Compare
Choose a tag to compare

Release

This is UsbMonitor's first release.

UsbMonitor service reports USB devices insertion / removal to Event Log and to log file (if set).
Can block specific devices based on their Hardware ID.

Usage

  1. Install UsbMonitor service: usbmon.exe install*
  2. (optional) Configure log file path: usbmon.exe logfile "C:\path\to\log.txt"*
  3. Start service from Services menu or with sc start UsbMonitor*
  4. Connect or disconnect some USB devices
  5. Open log file or EventVwr.exe (go to Windows Logs/Application)
  6. Notice Hardware ID value of format USB\VID_041D&PID_C584&REV_0409
  7. (optional) To block device, use Hardware ID: usbmon.exe deny "USB\VID_041D&PID_C584&REV_0409"*
  8. (optional) To unblock device, use Hardware ID: usbmon.exe allow "USB\VID_041D&PID_C584&REV_0409"* and enable it in Device Manager (if needed)

* requires administrative privileges (Run as Admin)