Good advice. But there is one more small-ish pitfall for the unwary. If
a power supply refuses to start when cold, it's usually an electrolytic
cap. But in many cases it's not one of the big caps but the small one
that is located in the start-up / auxiliary section.
Mains power supplies usually have an auxiliary section that is used to
power the internal needs of the primary side switching circuitry. This
section is powered by a small auxiliary winding on the transformer in
steady-state. But because it needs to start up first, and because at
first the main transformer is not yet operating, it is precharged with a
high value resistor (or sometimes a string of 2 or 3 resistors in
series) directly from the rectified mains. There is a small (47 uF or
similar, 25 to 35 V typically) electrolytic. At first it gets precharged
through the resistor up to the point where the controller chip can start
up. Once the controller starts, it would rapidly drain the small cap, so
the main switching circuitry has to come on line fast in order to top up
the the auxiliary supply cap and keep it from discharging.
Now this small cap only provides little reserve. It's usually sized very
spartanically and it lasts for just one try and only if the start-up
timing of the switching circuitry is not delayed for any reason. If it
drains before the switcher can fully start, the switcher will stop and
wait for another retry at a later time.
Often this small cap is considered "non-critical" and carelessly placed
by the power supply designer into whatever corner had whatever little
free space. This may happen to literally be a "corner" of a heatsink!
When this cap dries out either from overheating of just being selected
from the cheapest manufacturer, it will rise in ESR and thus no longer
provide the peak current that the controller needs in order to start.
This either delays the start to the point where the cap is drained or
causes it to outright abort prematurely because the auxiliary supply
rail tanks right at the first few switching cycles.
When warmer it has lower resistance, thus it can provide higher peak
currents and have better chances of starting the supply successfully.
Also if the supply is working continuously for many years and never
switched off, the condition of this capacitor is of no consequence
during operation. Even if somebody just cut it out of a working power
supply, there are usually some small ceramics on the rail and the
auxiliary transformer winding will keep them topped up, so that the
supply would quite likely keep on working. But if the supply ever gets
switched off, even for a very short time, it will never start up again.
If you see this type of behavior, find and replace the cap in the
auxiliary section. You can normally identify it as being physically
small, a low voltage type (from 25 to 50 V) and being connected to a
sizeable precharge resistor that gets supplied from the high voltage
DC rail.
If you don't have an exact replacement, it's normally OK to use the
next higher capacitance as long as the voltage rating fits. If you
find that yours sits in the corner of a heatsink, use a low ESR high
temperature rated replacement (no matter what the original has been)
and some reasonable reserve capacitance-wise won't hurt either.
Dimitrij