Am I going to have a bad time if I use these components for a box that will most likely be in operation for 5+ years?
Thanks!
Apart from that, some electrolytic capacitors may degrade over time in storage. If you use them they should self heal a little. Tantalum electrolytic capacitors are stable.
If you switch the battery, it boots, passes memtest, and works fine it should be almost like new. Run tests in BIOS to make sure.
Storage affects lifetime but not as much as use. It should be fine for next 5 years.
https://en.wikipedia.org/wiki/Capacitor_plague
its possible there are some capacitors that are old and dry.