I find it easier to just buy a new computer. I said easier, not cheaper. But, after a few years my machine is out of date anyway.
BTW, I don't throw out the desktop when it gets replaced. The current one gets designated as a word processor, disconnected from the internet, with most other programs removed.