Maybe you can?
LSemi gives a good list of the problems, but may be too pessimistic with "you can't".
Most of the problems can be arrested by cooling the device down close to absolute zero. In physics jargon, the decay processes are thermally activated. The question is whether you can get an electronic device down to that temperature without causing irreparable damage while cooling it or thawing it (exactly the same problem as with cryo-sleep for people in sublight starships).
Electronics is generally tougher than biology.
The obvious exception is data stored as packets of electrons in flash memory and similar. It relies on regularly being powered up so it can check for and repair any bit-rot while powered down. Charge will not leak away because of thermal effects close to absolute zero, but is still subject to corruption by radiation such as cosmic rays. This will accumulate with time, and reach a point where the data is irretrievably corrupted after thawing it out.
Some electrolytic capacitors contain a water-based electrolyte paste. If this expands as it freezes, the capacitor will be destroyed. Most quality motherboards these days advertise solid capacitors, which may be more freezable. The big capacitors in power supplies aren't of this type, though. Electrolytes in batteries, similar questions.
I'd guess that you can cryo-freeze and thaw motherboards, processors, SSDs and probably displays and hard drives (they can go well below freezing point without being destroyed, look at the minimum storage temperatures specified for military grade HDs). Petroleum lubricants do not expand on freezing. About liquid crystals in displays, I would hope that a thin film of liquid in a somewhat flexible container (poke your screen!) would freeze OK.
Freeze-thaw cycles will tend to cause soldered joints to fail, but here we are talking just about one big freeze and one thaw. The frequent heating and cooling of a computer turned on and off daily is probably more damaging.
A museum might well buy several of each item it wanted to preserve. One for display, which would become non-functional within decades. Others, for cryo-preservation, so at least one of each component has a good chance of survival. Power supplies and batteries have a simple specification (voltages and currents required, ATX or similar power button logic), so as long as technological civilisation persists, the simplest preservation answer is to reconstruct a power supply at the time one wanted to thaw and power up the preserved technology. If civilisation fails, so does cryo-preservation.
BTW This sounds like a fun bit of research for anyone with access to a very low temperature freezer or lots of liquid nitrogen.