Batch

Clear_and_Reset_Thumbnail_Cache

 

Prompt_to_Clear_and_Reset_Thumbnail_Cache

 

@echo off

:: Created by: Shawn Brink
:: Created on: October 17, 2021
:: Tutorial: https://www.elevenforum.com/t/clear-and-reset-thumbnail-cache-in-windows-11.2051/

echo.
echo The explorer process must be temporarily killed before resetting the thumbnail cache. 
echo.
echo Please SAVE ALL OPEN WORK before continuing.
echo.
pause

echo.
taskkill /f /im explorer.exe
timeout 2 /nobreak>nul
echo.

DEL /F /S /Q /A %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db

timeout 2 /nobreak>nul
start explorer.exe
echo.
pause

Repair Windows 11

@echo https://www.thewindowsclub.com/windows-10-activation-error-0xc0000022
@echo 0xC0020036
@echo off
date /t & time /t
echo Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /StartComponentCleanup
echo ...
date /t & time /t
echo Dism /Online /Cleanup-Image /RestoreHealth
Dism /Online /Cleanup-Image /RestoreHealth
echo ...
date /t & time /t
echo SFC /scannow
SFC /scannow
date /t & time /t
pause

FixWindows11 (at all)

REM https://www.youtube.com/watch?v=s-9mN8CyKaw
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
Perfect.hr - kresimir ivkovic Software Developer