Repair Windows 10+ image
When windows 10 is not functioning properly
OPEN CMD AS ADMIN
# 1. use the System File Checker (SFC) command tool to repair the current setup
sfc /scannow
# 2. perform a quick check
DISM /Online /Cleanup-Image /CheckHealth
# 3. performs a more advanced scan to determine if the OS image has any problems
DISM /Online /Cleanup-Image /ScanHealth
# if everything else fails, use the following
# scan and repair common issues automatically
DISM /Online /Cleanup-Image /RestoreHealth
# run sfc again
sfc /scannow
Credit: Mauro Huculak