When you have a drive with bad sectors this is when you backup what you can lose IMMEDIATELY then figure out how to get a good drive installed and cloned so you can move on without spending days installing the OS, drivers and more.
Before you try another short term fix, do you have backup copies of what you can't lose?
About a month ago my computer went through multiple inappropriate shutdowns (due to my ups battery dying) and thus ended up freezing (having a side by side configuration error)and bsod-ing(the stop code was critical process died) I had to do a clean re install of windows 10 but the computer was inappropriately shut down again and I had to install windows again
Since then my pc has had multiple issues
Sometimes it gave issues during startup such as getting an unexpected i/o error
It froze again one day, and I had to reset windows to get it to work
It had another error after updating (freezing) and I had to use system restore for it to work
After the restore it seemed to work normally for a while
Now it's freezing up again,(but it doesn't freeze up immediately on startup it freezes randomly)
system restore doesn't seem to work
I have 12kb in bad sectors
And sfc/scannow found corrupted files it could not fix but they managed to be fixed with dism - restore health
But the computer still freezes up!!!
I left the computer running pretty normally and when I came back after about half an hour it was automatically on the unexpected i/o error screen (probably bsod occurred and the i/o error came up on restart)
It seems that I am restoring /resetting the system every few days
What can be done about this?