How To Clear Your Cache and Cookies using Command Prompt
ฝัง
- เผยแพร่เมื่อ 8 ก.พ. 2025
- clearing cache
clear out cache
clear internet cache
In this video, we'll explore 6 special Command Prompt (cmd) commands to clear all cache on a Windows computer. Clearing cache is crucial for improving system responsiveness and speed by removing unnecessary data and reducing the workload on the system's resources.
First, learn how to open Command Prompt with administrative privileges. Simply search for "cmd" in the Start menu, right-click on "Command Prompt," and select "Run as administrator."
Once in Command Prompt, we'll guide you through specific commands to clear different types of caches:
To clear the Windows Store cache, use the command: wsreset.exe. This maintenance step ensures smooth functioning of the Microsoft Store app, enhances performance, and resolves app installation and update issues.
Clear temporary files with the del command. For instance, del /q /s /f %TEMP%\* deletes all files and folders in the temporary directory, contributing to system performance and disk space management.
Clear the thumbnail cache with the command: del /f /s /q /a %LocalAppData%\Microsoft\Windows\Explorer\thumbcache_*.db. This optimizes disk space usage, enhances file browsing performance, and ensures accurate thumbnail previews.
Learn to clear the Windows Update cache to resolve update-related issues. Stop the Windows Update service with net stop wuauserv and rename the SoftwareDistribution folder. Restart the service with net start wuauserv for a smoother update process.
Clear the DNS resolver cache with ipconfig /flushdns for improved internet connectivity, security, and performance.
Lastly, clear the icon cache with ie4uinit.exe -ClearIconCache to address icon-related issues, enhance system performance, and ensure up-to-date thumbnail previews.
Follow along with our step-by-step instructions to optimize your Windows computer's performance and ensure a smoother computing experience.
Excellent ❤
How would you script this to be part of the restart/shutdown process?
Excellent but why hasn't MS with all its obscene profits, given us these commands in a Windows menu somewhere? We need to be DOS experts to do this? Really? If it's so damn important, then my cat should be able to do it with a mouse.
❤