This is more of maintenance than a repair. The windows temp folder can grow rather large when not emptied. It can also have files that windows tries to use instead of the proper ones. Also some viruses and infections will be in the temp folder.
Command(cmd):
@echo on
set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
ATTRIB -A -R -S -H "%%%TEMP%%%\*.*" /S /D
del /f /s /q "%%%TEMP%%%\*.*"
rd "%%%TEMP%%%" /s /q
ATTRIB -A -R -S -H "%%%WINDOWS%%%\Temp\*.*" /S /D
del /f /s /q "%%%WINDOWS%%%\Temp\*.*"
rd "%%%WINDOWS%%%\Temp" /s /q
Copy to Notepad and save something.cmd name and click on it twice.