So, this is what I am doing. Connecting Arduino Leonardo to my Laptop. It gets detected in device manager. (I have updated the driver as well). However I soon hear a beep and Leonardo gets uninstalled. If I push 'Reset' button it gets detected again however after a few seconds it gets disconnected again. The device manager displays the following message - "Currently, this hardware device is not connected to the computer. (Code 45)". Please help.
Note: It was working fine couple of weeks back
I am using Windows 7