Erreur32 revisó este gist 3 months ago. Ir a la revisión
1 file changed, 69 insertions, 2 deletions
windows_tips.md
| @@ -11,10 +11,77 @@ Remove-Item "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache_*.db" -Forc | |||
| 11 | 11 | Start-Process explorer | |
| 12 | 12 | ``` | |
| 13 | 13 | ||
| 14 | - | # 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: | |
| 14 | + | 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: | |
| 15 | 15 | ``` | |
| 16 | 16 | Search for cleanmgr and click the Disk Cleanup option. | |
| 17 | 17 | Select the C drive or any drive letter that corresponds with your system drive and click OK. | |
| 18 | 18 | Check Thumbnails in the Files to delete list. | |
| 19 | 19 | Click OK, then click Delete files. | |
| 20 | - | ``` | |
| 20 | + | ``` | |
| 21 | + | ||
| 22 | + | # Cache | |
| 23 | + | ||
| 24 | + | ### CMD | |
| 25 | + | ||
| 26 | + | DNS | |
| 27 | + | ``` | |
| 28 | + | ipconfig /flushdns | |
| 29 | + | ipconfig /displaydns | |
| 30 | + | ``` | |
| 31 | + | ||
| 32 | + | Renouveler IP (DHCP) | |
| 33 | + | ``` | |
| 34 | + | ipconfig /release | |
| 35 | + | ipconfig /renew | |
| 36 | + | ``` | |
| 37 | + | ||
| 38 | + | Réinitialiser pile réseau | |
| 39 | + | ``` | |
| 40 | + | netsh winsock reset | |
| 41 | + | netsh int ip reset | |
| 42 | + | netsh winhttp reset proxy | |
| 43 | + | ``` | |
| 44 | + | ||
| 45 | + | Purger cache ARP | |
| 46 | + | ``` | |
| 47 | + | arp -d * | |
| 48 | + | ``` | |
| 49 | + | ||
| 50 | + | Nettoyage disque (Windows) | |
| 51 | + | ``` | |
| 52 | + | cleanmgr | |
| 53 | + | cleanmgr /sageset:1 | |
| 54 | + | cleanmgr /sagerun:1 | |
| 55 | + | ``` | |
| 56 | + | PowerShell | |
| 57 | + | ||
| 58 | + | Purger cache DNS client | |
| 59 | + | ``` | |
| 60 | + | Clear-DnsClientCache | |
| 61 | + | Get-DnsClientCache | |
| 62 | + | ``` | |
| 63 | + | ||
| 64 | + | Réinitialiser réseau | |
| 65 | + | ``` | |
| 66 | + | netsh winsock reset | |
| 67 | + | netsh int ip reset | |
| 68 | + | Restart-Computer | |
| 69 | + | ``` | |
| 70 | + | ||
| 71 | + | Supprimer fichiers temporaires (user) | |
| 72 | + | ``` | |
| 73 | + | Remove-Item "$env:TEMP\*" -Recurse -Force -ErrorAction SilentlyContinue | |
| 74 | + | Remove-Item "C:\Windows\Temp\*" -Recurse -Force -ErrorAction SilentlyContinue | |
| 75 | + | ``` | |
| 76 | + | ||
| 77 | + | Purger caches Microsoft Store (si besoin) | |
| 78 | + | ``` | |
| 79 | + | wsreset.exe | |
| 80 | + | ``` | |
| 81 | + | Navigateurs (cache DNS interne) | |
| 82 | + | ``` | |
| 83 | + | Chrome/Edge | |
| 84 | + | ``` | |
| 85 | + | ouvre `chrome://net-internals/#dns` (ou edge://net-internals/#dns) → Clear host cache | |
| 86 | + | ||
| 87 | + | et `chrome://net-internals/#sockets` → Flush socket pools | |
Erreur32 revisó este gist 3 months ago. Ir a la revisión
Sin cambios
Erreur32 revisó este gist 3 months ago. Ir a la revisión
1 file changed, 6 insertions, 1 deletion
windows_tips.md
| @@ -1,4 +1,9 @@ | |||
| 1 | - | # The cache files are 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. | |
| 1 | + | # The cache files | |
| 2 | + | ||
| 3 | + | --> located at `%LocalAppData%\Microsoft\Windows\Explorer` | |
| 4 | + | ||
| 5 | + | 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. | |
| 6 | + | ||
| 2 | 7 | ``` | |
| 3 | 8 | Stop-Process -Name explorer -Force | |
| 4 | 9 | Start-Sleep -Seconds 2 | |
Erreur32 revisó este gist 3 months ago. Ir a la revisión
1 file changed, 15 insertions
windows_tips.md(archivo creado)
| @@ -0,0 +1,15 @@ | |||
| 1 | + | # The cache files are 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. | |
| 2 | + | ``` | |
| 3 | + | Stop-Process -Name explorer -Force | |
| 4 | + | Start-Sleep -Seconds 2 | |
| 5 | + | Remove-Item "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache_*.db" -Force | |
| 6 | + | Start-Process explorer | |
| 7 | + | ``` | |
| 8 | + | ||
| 9 | + | # 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: | |
| 10 | + | ``` | |
| 11 | + | Search for cleanmgr and click the Disk Cleanup option. | |
| 12 | + | Select the C drive or any drive letter that corresponds with your system drive and click OK. | |
| 13 | + | Check Thumbnails in the Files to delete list. | |
| 14 | + | Click OK, then click Delete files. | |
| 15 | + | ``` | |