How to delete temp internet files all accounts

By glenn.hunter ·
I am looking for a way to cleanup all temporary internet files on my multiuser PCs. With 20 accounts on each one it can take quite some time to clean the all up. Any ideas?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Local Settings

by SAJChurchey In reply to How to delete temp intern ...

Temporary Files for Internet Explorer are stored in "C:\Documents and Settings\%username%\Local Settings\Temporary Internet Files"

There is a setting in Internet Explorer to delete the Temporary Internet Files automatically on exit (Advanced), and consequentially there may be a GPO that corresponds to this as well. This is probably the easiest way to accomplish this.

You can probably script the removal of these on a single machine or use a logon script. If these are roaming profiles, your best bet is to get your user's to change the internet explorer setting.

Collapse -

Software or Batch File

by t_w_dragon In reply to How to delete temp intern ...

Perhaps the easiest way is software based. I personally love System Mechanic by Iolo. It spans multiple browsers and checks locations per user as well.

An alternative way is to create a batch file to do it for you once you have all the locations, then supress errors so that it doesn't halt on a locked file waiting for your input.

Collapse -


by JamesRL In reply to How to delete temp intern ...

is what you want. It will clean temp files of all kinds, cookies, history files everything.

Regular use is good.


Collapse -

Try this Batch File

by Jacky Howe In reply to How to delete temp intern ...

Just add a shortcut to the C:\Documents and Settings\All Users\Start Menu\Programs\Startup

I run this batch file on startup that removes Temp files ========

cd \
cd %USERPROFILE%\"Local Settings"\"Temporary Internet Files"
del *.* /s /q
rmdir . /s /q

cd \
del *.* /s /q
goto INIT

@echo off
set cStatflag=0

cd \
cd %TEMP%

del *.* /s /q
rmdir . /s /q

if %cStatflag%==1 goto FINISH

cd \
set cStatflag=1



Collapse -

Forgot to

by Jacky Howe In reply to Try this Batch File

mention. Make sure that you copy the whole area between ======= if not you could end up with a PC with a lot of empty Folders.

Collapse -


by wesley.chin In reply to How to delete temp intern ...

What is the OS?

And when do you want the cleanup to occur?

At what frequency?

Related Discussions

Related Forums