I seem to have some trouble being able to clear temporary and internet files
from the server.
I have files i cannot delete because they have invalid characters, what i
don't understand is how windows allowed the website to put that file there
in the first place.. any ideas on how to get rid of them?
also, What is the best way to clear temp files everyday on a terminal
server. any tips?
Thanks
Andre
There may be a Group Policy Setting to select this
option "Empty Temporary Internet Files when browser is
closed". I'll check.
>.
>
C:\Documents and Settings\User\Local Settings\Temporary Internet
Files\Content.IE5
Under this Content.IE5 dir IE creates randomized direcotry names that are
never the same so how you automate the delting of the directories when there
are possably hundereds of users with these local setting and then many many
randomized directory names under each Content.IE5 dir.
I see this problem on occasion it it almost always shows itself first in the
backup log as a backup failure. When you try to go to that file(s) with a
file manager and delete it it will not let you. You go into IE as that user
and say delete all internet files and temp files, it runs but leaves all
bad files and the Dir's there are in place. (sound familiar??)
Anyway I've been looking for the printout I make of the command and
switches you need but can not find them
I am sure it was the RM command and you want to use the swithc that says
delete all contents of the DIR and all subfolders.
I typically run the Users IE Tools\ Internet Options\ Delete files FIRST.
THis will clear all legitimate uncorupted Dir's leaving just the Dir's that
have corrupt files in them.
Get yourself the MS Powertool called Command Here. It allows you to use the
Win file manager to get down to all these deep deep dir's fast. Once you are
on that users Content.IE5 dir you can launch the CMD which should start in
that Dir. Run RM or RD (I forget) and use the switches that say delete all
contents and sub folders. This should leave the Content.IE5 dir but delet
all below this.
The reason I caution on you scripting this is that you should not just
delete these DIr's and not let IE know about it. It may create some
instability fore you or your users. It's best to use IE to clear these files
and use this command line to delete only the Dir's that have corrupt files
in them.
Hope this helps. This problem drove me insane for a long time and I have no
idea why MS does not have this documented in a Tech note I can find. A Lot
of people have run into this on their terminal servers so it's not this rare
and uncommon thing. I have still seen no explanation from MS as to why this
happens
"Andre Zavaglia" <a_zav...@gfrnutritionals.com> wrote in message
news:OtoXxJQi...@TK2MSFTNGP09.phx.gbl...