If some Windows functions aren't working or Windows crashes, use the System File Checker to scan Windows and restore your files.
Open the command prompt as an administrator and run the following:
sfc /scannow
Additionally run Deployment and Imaging Tools Environment commands:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth