I would like to request a script when a user insert a usb the script will log it. These are the info inside a log file:
<date created>: USB Connected/Disconnected: <computer name>: <time inserted/eject>
Example:
Code: Select all
02-08-2018: USB Connected: PC01: 10:00:00
02-08-2018: USB Disconnected: PC01: 10:05:00
02-08-2018: USB Connected: PC05: 12:00:00
02-08-2018: USB Disconnected: PC05: 13:00:00
02-08-2018: USB Connected: PC16: 14:30:00
02-08-2018: USB Disconnected: PC16: 14:35:00
it's up to you if it's in 12 or 24 hour format.
It will not create a new log file, it will only update it (if it's possible).
Specification can run also in windows xp and above
is this possible using a script? I requesting this script because I can't find in the internet that fits on our system...
I found USBLog view but when I run it it won't create a log file... I will apply this on my work since we are dealing a students and our CCTV is not enough... we have many blind spots... so I decided to go back here in DosTips to ask for help again. Thanks
UPDATE:
the log file can save on a remote computer so we can isolate it. just tell me where in the part of the code to edit it... thanks again