Windows logs different activities under event logs, which can be accessed via Event Viewer, including connecting or removing a USB flash drive. But Windows doesn’t track this thing by default. Instead ...
Powershell command can help you retrieve all software installation and removal events from the Event Log. The WinEvent option can go through the log files, filter based on source, and show the result.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results