You should be able to upgrade it to the latest version of Windows 10 with a fresh install which should get you security updates for a while. You'll probably end up losing your previous data though, but having the install media on an external drive might let you upgrade without having to completely format. Sadly I imagine you'll run into the same issue after the next massive Windows update. As others suggested, running Linux would probably alleviate these issues.