If you have these things plugged into a power strip, replace that. I had one that was zapping out the power adapters on everything that was plugged into it that was causing the issues that you describe.
A power strip is only good for a few years but people don't pay much attention to them and end up using them far beyond that.