Did you know that you can use Windows Registry Editor to check if a USB device was connected or not to your computer!by ‘USB Device’ i mean any device that can be connected via USB port of your computer.In some cases it can be a very serious matter.for example your friend’s external hard drive is caught by the police and it contained child pornography.it is very crucial to prove that it is not yours.
one of the way for checking is to use ‘Registry Editor’ in Windows Operating System.Everytime when a device is connected to USB port of your computer.windows stores its serial number and device information in its registry.and you can find them later ?
Here’s how to find the device information.
Step-1
Press window key + R (open Run..)
Step-2
Type ‘regedit’ (without quotes) and press enter.
Step-3
Go to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet00x\Enum\USBSTOR
Note:controlSet00x ,where x can be any number depending you
Step-4
Here’s the list of all the USB devices such as Pendrives,External Hard drives etc ,connected to your computer.
Note:controlSet00x,where x means a number.
Click any Device ,they all have a unique device id assigned by manufacturer.and thus you can identify if a particular USB Device was attached to your pc or not!
Here’s what information your computer collected about a USB Device!
So, Next time if your pen drive is stolen! checking the suspect’s registry information might be a good idea!

Ashutosh has found security issues that prevented leak of personal information belonging to 100 million+ people. He specialize in finding vulnerabilities in Web, Mobile applications, IT infrastructure, and consulting organizations on why, how, and when to fix them.
He is working with Deloitte since Jun 2017 as a Cyber Security Consultant/Engineer, Acknowledged by organizations like Google, Twitter, US Department of Defense, Symantec, United Nations, Rapid7, Trend Micro, Avira, United Airlines, IBM, Go Airlines, etc. for finding out security flaws in web applications.