Link to home
Start Free TrialLog in
Avatar of victor2008
victor2008Flag for United States of America

asked on

Need a script to clear browsing history, download history, and empty the cache for Chrome for all users on the computer (win8/higher)

Here's an example of one I found but need it to clear all users on the computer's Chrome.

@echo off
set ChromeDir=C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data
del /q /s /f "%ChromeDir%"
rd /s /q "%ChromeDir%"
cls
IF %ERRORLEVEL%==0 (
@echo "Success Message"
exit0
) ELSE (
@echo "Error Message"
exit 1001
)

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial