Sometimes Windows system files get corrupted. This may happen because of a crash, or who knows why else. It has happened to me several times. Sometimes you won't even know of a problem. Other times something won't work right and you can't see why.
There are a few ways to discover system file corruption and to have Windows repair them. The two I have used are both command line programs to be launched from an administrative console.
1. sfc ("system file check"). Run it with this command line:
sfc /scannow
With this parameter, it will start an immediate scan and repair or replace damaged system files in place. It will take some time, but you can keep working during the scan.
2. dism ("Deployment Image Servicing and Management tool"). Command line:
dism /online /cleanup-image /restorehealth
Again the scan will take time and you can keep working. The programs may not tell you, but it's probably a good idea to reboot if they have fixed a problem.
I don't know when to prefer one over another. I run sfc first, perhaps because it's easier to remember the command line. If problems are found and claimed to be fixed, it's probably good to repeat the scan.
I mention these utilities even though they are not Leo-specific, because it's hard to discover them online and I have found them helpful.