Here is a VBScript to automatically clear the cache in Google Chrome. This script has been tested with Google Chrome Final version 1.0.154.36, under Windows XP and Windows Vista systems.
This article and the Script were last updated on Dec 12, 2008.
Download delchromecache.zip and save to Desktop. Unzip the compressed file and extract delchromecache.vbs to a folder (e.g. D:\Scripts). Double-click delchromecache.vbs to clear the cache in Google Chrome. If Google Chrome browser window is open, the script fails to clear the cache and displays a message box.
Note that this script does not clear stored passwords and Cookies by default. Also, it does not clear the Bookmarks.
Customizations
1. To run the script in silent mode (no message windows), open delchromecache.vbs using Notepad and change the code in line #9 from:
intShowMessageBox = 1
to
intShowMessageBox = 0
2. To clear stored passwords and Cookies, change the code in line #8 to:
intClearPasswords = 1
More Information
Google Chrome cache (for the default profile) is stored in the following folder:
(Windows XP)
(Windows Vista)
Related Posts
- How to Clear IE Temporary Internet Files Cache for a Particular Domain
- Internet Explorer Extension to Open Current Web Page Using a Different Browser
- How to Clear the Thumbnail Cache in Windows 7 and Windows Vista
- Search Results
- Thumbnail Preview Not Shown for Pictures in Vista?
If you enjoyed this post, make sure you subscribe to our RSS feed! We feature Tips, Troubleshooting information, Scripts and Utilities for Microsoft Windows Operating Systems!
Prefer an E-mail subscription?





Firefox is slower than Chrome, i realize, but there’s some tab features i can’t do without that only FireFox has
Nice little script, worked perfect. thanks for sticking it on here.
i keep learning about more and more little advantages and features with Chrome, with privacy, for example; now if only they would take care of it’s cookie management glitches…
Isn’t it better to use incognito mode? Or just Clear the Browsing data using the “Customize Chrome” button?