USB flash drive disconnecting and reconnecting continually

Short question
One of my flash drives is continually disconnecting and reconnecting on Windows XP. I plugged it in and for few seconds I can see a drive letter in "My Computer". After few seconds it disappears and then reappears.

How can I fix it?

Details
Flash drive works because it works on Linux on the same computer and works properly on another computer (with Windows XP too). Another flash drive works without any problem on that computer and Windows XP.

I tried removing drivers but it didn't work. After a reinstall the problem shows up again. In the USB Root Hub Properties I unchecked "Allow the computer to turn off this device to save power". It also didn't work.


I've seen this problem a few times in recent years with various USB devices and NICs (Network Interface Cards). The solution was to perform a deep power cycle, which is done as follows:

  1. Shut down your computer (gracefully, using the Operating System's proper "shut down" procedure)
  2. After the computer is powered off, disconnect the AC power (if using a laptop, remove the battery too) and the video display and any other devices that have their own power supplies/sources
  3. Try to turn the computer on at least three times by pressing the power button
  4. Re-connect all devices and the AC power (if using a laptop, re-install the battery first)
  5. Turn the computer on and try to use your USB device again

Step number 3 is what qualifies this as a "deep power cycle" and it is essential with no power sources connected because it has the effect of draining capacitors and other electronic components in your computer that might be retaining an inappropriate [yet subtle] charge.