G
Guest
By the subject, some of you will say this is easy and/or already been
answered a million times. Well, my particular case has not. And I've
searched through the messages for the past hour and a half to see if it has.
With that, I'll begin my explanation.
------------
The Setup
------------
I am the lab administrator at Greenville Technical College. There are
thirty machines in my lab, and one of my jobs is monitoring what the students
are doing. If they're just playing around online, or looking at things they
ought not be looking at, I need to notify them that they are violating lab
policy. If it becomes an excessive issue, I'll need to revoke their lab
priveliges and notify my boss, with evidence, of the offense.
All machines use WinXP Pro SP2 in a domain environment.
-----------------
Whats Needed
-----------------
Ultimately, I need a batch that clears the temporary internet files,
history, and cookies from the current logged on user. I would like (but not
necessary) to be able to run this script from my computer here in the office
(office is attached to the lab of 30 machines) for any 1 particular machine,
or for all at once. I understand that it might be easier to have it in a
startup folder, and run a reboot batch nightly. If this be the case, then I
already have a working reboot batch for all machines.
-------------
The Issues
-------------
I have done some extensive internet research to try and cover this topic,
but to no avail. Every sample batch people have used or recommended doesn't
exactly work as stated. I've ran a few, and as it's running it shows that it
is in the process of deleting temporary files, and indeed does clear out the
Content.IE5 folder and all its subdirectories of randomly generated names.
However, if I then go to that specific computer node, and browse to
"C:\Documents and Settings\%username%\Local Settings\Temporary Internet
Files", they are all still there.
Now, I know there is an option in IE to clear the cache upon exiting the
browser, however, this is not acceptable. If there is a potential offending
internet user, I'll need evidence to prove it. And if all he/she has to do
is close the browser to clear their tracks, I'm up the creek. The reason
this is such a big deal is because we've had to expell people in the not so
distant past for such offenses, and we're just trying to keep guard and keep
our labs clean.
That being said, my boss initially wanted me to write a batch to copy over
the contents of the potential offender's Temporary Internet Files, History,
Cookies, etc., to my computer in the office for future review. I wrote one
to do that, but in the process, I found that it had copied over 15,000 files
because the TIF's were never cleared out (or had been a long time since the
last clear). This left wayy too many files to have to search through, so
that's when I decided it necessary to clean them all out at the end of the
night, and if its necessary to dump that information to my computer on the
next day, then there is only that day's information to sort through--if that
makes sense.
I apologise for the length of this post, but I had to be detailed to make
sure I got my point across. Thanks to you all in advance for any knowledge
or help on the situation you may provide. I have received help from this
community before, and I trust that the brilliant minds here will be able to
handle this one!
answered a million times. Well, my particular case has not. And I've
searched through the messages for the past hour and a half to see if it has.
With that, I'll begin my explanation.
------------
The Setup
------------
I am the lab administrator at Greenville Technical College. There are
thirty machines in my lab, and one of my jobs is monitoring what the students
are doing. If they're just playing around online, or looking at things they
ought not be looking at, I need to notify them that they are violating lab
policy. If it becomes an excessive issue, I'll need to revoke their lab
priveliges and notify my boss, with evidence, of the offense.
All machines use WinXP Pro SP2 in a domain environment.
-----------------
Whats Needed
-----------------
Ultimately, I need a batch that clears the temporary internet files,
history, and cookies from the current logged on user. I would like (but not
necessary) to be able to run this script from my computer here in the office
(office is attached to the lab of 30 machines) for any 1 particular machine,
or for all at once. I understand that it might be easier to have it in a
startup folder, and run a reboot batch nightly. If this be the case, then I
already have a working reboot batch for all machines.
-------------
The Issues
-------------
I have done some extensive internet research to try and cover this topic,
but to no avail. Every sample batch people have used or recommended doesn't
exactly work as stated. I've ran a few, and as it's running it shows that it
is in the process of deleting temporary files, and indeed does clear out the
Content.IE5 folder and all its subdirectories of randomly generated names.
However, if I then go to that specific computer node, and browse to
"C:\Documents and Settings\%username%\Local Settings\Temporary Internet
Files", they are all still there.
Now, I know there is an option in IE to clear the cache upon exiting the
browser, however, this is not acceptable. If there is a potential offending
internet user, I'll need evidence to prove it. And if all he/she has to do
is close the browser to clear their tracks, I'm up the creek. The reason
this is such a big deal is because we've had to expell people in the not so
distant past for such offenses, and we're just trying to keep guard and keep
our labs clean.
That being said, my boss initially wanted me to write a batch to copy over
the contents of the potential offender's Temporary Internet Files, History,
Cookies, etc., to my computer in the office for future review. I wrote one
to do that, but in the process, I found that it had copied over 15,000 files
because the TIF's were never cleared out (or had been a long time since the
last clear). This left wayy too many files to have to search through, so
that's when I decided it necessary to clean them all out at the end of the
night, and if its necessary to dump that information to my computer on the
next day, then there is only that day's information to sort through--if that
makes sense.
I apologise for the length of this post, but I had to be detailed to make
sure I got my point across. Thanks to you all in advance for any knowledge
or help on the situation you may provide. I have received help from this
community before, and I trust that the brilliant minds here will be able to
handle this one!