# The cache files --> located at `%LocalAppData%\Microsoft\Windows\Explorer` if you want to check their size before and after clearing—seeing them drop from hundreds of megabytes to near-zero confirms the operation worked. ``` Stop-Process -Name explorer -Force Start-Sleep -Seconds 2 Remove-Item "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache_*.db" -Force Start-Process explorer ``` Removing the thumbnail cache deletes the corrupted entries. It also forces Windows to rebuild a clean version and fixes the flickering. There are two ways to delete the Windows thumbnail cache. The first is using Disk Cleanup. Follow these steps: ``` Search for cleanmgr and click the Disk Cleanup option. Select the C drive or any drive letter that corresponds with your system drive and click OK. Check Thumbnails in the Files to delete list. Click OK, then click Delete files. ``` # Cache ### CMD DNS ``` ipconfig /flushdns ipconfig /displaydns ``` Renouveler IP (DHCP) ``` ipconfig /release ipconfig /renew ``` Réinitialiser pile réseau ``` netsh winsock reset netsh int ip reset netsh winhttp reset proxy ``` Purger cache ARP ``` arp -d * ``` Nettoyage disque (Windows) ``` cleanmgr cleanmgr /sageset:1 cleanmgr /sagerun:1 ``` PowerShell Purger cache DNS client ``` Clear-DnsClientCache Get-DnsClientCache ``` Réinitialiser réseau ``` netsh winsock reset netsh int ip reset Restart-Computer ``` Supprimer fichiers temporaires (user) ``` Remove-Item "$env:TEMP\*" -Recurse -Force -ErrorAction SilentlyContinue Remove-Item "C:\Windows\Temp\*" -Recurse -Force -ErrorAction SilentlyContinue ``` Purger caches Microsoft Store (si besoin) ``` wsreset.exe ``` Navigateurs (cache DNS interne) ``` Chrome/Edge ``` ouvre `chrome://net-internals/#dns` (ou edge://net-internals/#dns) → Clear host cache et `chrome://net-internals/#sockets` → Flush socket pools