Windows 10 and later seems to too slow for old 2GB RAM PCs with slow HDD. so you need to use Linux distros. Let's see which linux distros is fastest for Low end PCs.
The following Distros are tested:
1. Redcore Linux (Gentoo Linux based, runs on KDE Plasma 5)
2. KDE Neon (Ubuntu LTS based, runs on KDE Plasma 6)
3. EndeavourOS (Arch Linux based, runs on LXDE)
4. Lubuntu 24.04 (Runs on LXQT)
5. antiX 22 and 23 (Usually based on Debian 12 for AntiX 23 and Debian 11 for AntiX 22)