This actually helped me. It wasn't the RAM that was corrupted but some Windows files that got corrupted during one of their updates.
So running the command prompt steps helped fix it. PC is back to running smoothly.
I usually keep updates off but thought it was time to update at some point. How wrong I was.
Thank you for this!