Answer the question
In order to leave comments, you need to log in
How to clear the browser cache on a network with a domain?
Greetings!
There is a domain on Win2008R2, on 22 computers. Client machines are mainly on Win8x64 and Win7x64. All users sit on different browsers: Chrome, Opera, FireFox, IE.
All users automatically need to clear the cache, history, etc. when logging out.
Is it possible to automate this process with the help of domain policies? If there are no such difficulties with IE, then with other browsers I have no idea what to do.
At the moment I found a stub in the form of a batch file for Chrome:
pushd "%LOCALAPPDATA%\Google\Chrome\User Data\Default" 2>NUL && (
set /p "=* Google Chrome... "<NUL
call :kill chrome
for /f "delims=" %%I in (
'dir /b ^| find /v /i "bookmarks" ^| find /v /i "extension" ^| find /v /i "preferences"'
) do (
if exist "%%~fI\" (
rmdir /q /s "%%~fI"
) else del /f "%%~fI" >NUL
)
popd
echo Done.
)
Answer the question
In order to leave comments, you need to log in
chrome/ff/opera/etc are not corporate-controlled, so it's easier to put everyone behind IE10-11 and use group policies.
PS IE11 is very nice, I've been using it since January
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question