Releases: ng-dst/usbmon
Releases · ng-dst/usbmon
UsbMonitor v1.1
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
- Install UsbMonitor service:
usbmon.exe install
* - (optional) Configure log file path:
usbmon.exe logfile "C:\path\to\log.txt"
* - Start service from Services menu or with
sc start UsbMonitor
* - Connect or disconnect some USB devices
- Open log file or EventVwr.exe (go to Windows Logs/Application)
- Notice Hardware ID value of format
USB\VID_041D&PID_C584&REV_0409
- (optional) To block device, use Hardware ID:
usbmon.exe deny "USB\VID_041D&PID_C584&REV_0409"
* - (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
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
- Install UsbMonitor service:
usbmon.exe install
* - (optional) Configure log file path:
usbmon.exe logfile "C:\path\to\log.txt"
* - Start service from Services menu or with
sc start UsbMonitor
* - Connect or disconnect some USB devices
- Open log file or EventVwr.exe (go to Windows Logs/Application)
- Notice Hardware ID value of format
USB\VID_041D&PID_C584&REV_0409
- (optional) To block device, use Hardware ID:
usbmon.exe deny "USB\VID_041D&PID_C584&REV_0409"
* - (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)