bb
Here's a simple way - set up a computer shutdown script containing the
following:
-----------------------------------------------
FOR /F %%A IN ('DIR/B "C:\Documents and Settings"') DO DEL/S/F/Q
"C:\Documents and Settings\%%A\Local Settings\Temporary Internet Files\*.*"
FOR /F %%A IN ('DIR/B "C:\Documents and Settings"') DO RD/S/Q "C:\Documents
and Settings\%%A\Local Settings\Temporary Internet Files\"
"C:\Documents and Settings\user\Local Settings\Temporary Internet
Files\OLK*"
The question becomes, how do you determine the OLK* folder name of any given
client (to delete is contents) since they appear to be randomly named?
"Lanwench [MVP - Exchange]"
<lanw...@heybuddy.donotsendme.unsolicitedmailatyahoo.com> wrote in message
news:eCkHKqTa...@TK2MSFTNGP05.phx.gbl...
Thanks for your reply Lanwench.
cd %userprofile%\Local Settings\Temporary Internet Files\OLK*
del *.* /s /f /q
"Barkley Bees" <bark...@nomail.com> wrote in message
news:OrrnPuU...@TK2MSFTNGP02.phx.gbl...
Barkley Bees schrieb:
> I don't suppose something like this could be added to the shutdown script:
>
> cd %userprofile%\Local Settings\Temporary Internet Files\OLK*
> del *.* /s /f /q
How about a Group Policy that deletes the "Temporary Internet Files"
upon browser (IE) close?
CLASS USER
CATEGORY "Custom Internet Explorer Settings"
POLICY "Delete Temporary Internet Files on IE close"
KEYNAME "Software\Microsoft\Windows\CurrentVersion\Internet
Settings\Cache"
VALUENAME "Persistent"
VALUEON NUMERIC 0 VALUEOFF NUMERIC 1
END POLICY
END CATEGORY
cheers,
Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
"Florian Frommherz [MVP]" <flo...@PLEASELEAVETHISOUT.frickelsoft.net> wrote
in message news:%23NJqFEW...@TK2MSFTNGP02.phx.gbl...
Barkley Bees schrieb:
> Hi Florian. Thanks for your suggesting! But our aim is only to delete
> temporary Outlook 2003 files (%userprofile%\Local Settings\Temporary
> Internet Files\OLK*) at log off or shutdown, not the IE cache itself.
Ah - okay. In your initial posting, you mentioned IE as well. Then
you'll have to stick with scripting.
I don't know, but since temp file folders fill up with gunk rapidly, and
these folders are *not* entirely purged within IE when you choose the option
to delete them, why not just do the easy and efficient thing and purge them
all with the command line/batch file stuff? I do this at all my client
offices.