I was hoping those cmds in the last two articles would have negated the need to reinstall - hope you haven't lost too much stuff.
Once you are back up, get into the habit of creating regular system images onto external media and the means to recover from it - that would have negated the need for all of this.
I always create a system image before test running each new version of the repair program.
A system image is also essential to recover from when a HDD goes down and is the only true defence against Ransomware.
When my Win 10 has a problem that a sfc /scannow cannot resolve, I'll perform a repair install which doesn't affect personal stuff or installed programs.
When you have created Win 10 install media, open Windows/File Explorer - This PC - insert the install media and double click on its drive.
This will start the process when using a DVD but will open to its files when using an USB where you would then double click on setup.exe Application.
This takes 3½ - 4hrs on mine.
I don't believe in tune up programs as Windows has its tune up tools.
Win 10 runs its own maintenance program, it has its own defragger and while it has Disk Cleanup, I use the free version of CCleaner to clean out temp files etc. at the end of each session.
https://www.ccleaner.com/ccleaner?source=cpc&gclid=EAIaIQobChMI0qWmhMHo4gIVhLDtCh2AZgDnEAAYASAAEgKs1PD_BwEIn Options/Advanced uncheck the box for Only delete files in Windows Temp older than 24 hours will clean out a lot more and in the latest version, it has an Easy Clean which I find useful.