I once had someone on Microsoft Community tell me to run sfc /scannow and bootrec /fixmbr. The issue I had was Explorer.exe (like, the start menu and taskbar) was crashing every time I modified a file. The solution (as far as I ever figured out) was to reinstall Windows.
Honestly, whenever something breaks in Windows and there isn't a quick fix I know or can find easily, I just reinstall. Ultimately you can probably find a fix. But the install process of Windows is pretty painless and fast nowadays. It's not that hard to get all the programs and settings back, with some exceptions of course. And you know, it'll probably, keep working.
Couple days ago I came across a gem,
I was searching why RDP client didn't start, and the official Microsoft support gave a line that looked suspicious, the following comment was something along the lines of "this made my pc unbootable, had to reinstall windows, this fixed it"