When I connect a USB pen drive in my computer it randomly disconnects. I already unchecked the power manager option in the device manager. I have the same problem in XP & Windows 7. I tried with Ubuntu on the same machine without any problems.
I had such an issue: too long USB cable was the case. Later it came out again, and I've changed my pen-drive: it was a hardware issue :)
Check if your USB port is in good state, and check whether its connectors to the motherboard are okay and sit tight.
Had a similar problem with a combination of usb card reader and old CF cards.
Basically issue was the card didn't allow simultaneous read writes. But somehow the system did try to do it - which caused it to immediatly eject.
After turning off thumbnails, indexing and also taking care I did not do any browsing on the card during read/writes I could use it "normally".
This might help you out.
Open power options --> change plan settings --> change advanced power settings Check for usb settings --> usb selective suspend mode
Set it to disabled