Is there a log off script I can run to remove their local profile?
Is there a log off script I can run to remove their local profile?

use delprof.exe on the resource cd.
delprof /Q will do it quietly
Isn't there a GPO setting to delete cached profiles automatically?
Yes. There is also the User Profile Hive Cleanup Service which can be used in conjunction with that policy setting.
The policy setting is at Computer Configuration->Administrative Templates->System->User Profiles->Delete cached copies of Roaming Profiles
User Profile Hive Cleanup:
http://www.microsoft.com/downloads/d...DisplayLang=en
I do the lot. GPO setting + UPHCLEAN + DELPROF /Q /I /R.
Me too.Originally Posted by ajbritton
kills all known pofiles. dead
OK I guess I should go add some value elsewhereops:
I, too, want (need) a logoff script that will selective delete LOCAL profiles - selective as I want to delete the students' local profile, but not my admin1, administrator, or the teacher's profile. I have read the various postings in this forum and understand, to a point, about UPHClean and Delprof, but I do not understand scripting and script writing enough to know what my logoff script would look like. Also, does UPHClean and Delprof need to be installed on the client? I have also set in the GPO to "enable" the "delete cashed copies of Roaming Profiles" but it does not have any effect in XP Pro. Any assistance would be greatly appreciated!
I thought this as wellIsn't there a GPO setting to delete cached profiles automatically?
There is for roaming/manatory profiles but not for local ones I think.
I, too, want (need) a logoff script that will selective delete LOCAL profiles - selective as I want to delete the students' local profile, but not my admin1, administrator, or the teacher's profile. I have read the various postings in this forum and understand, to a point, about UPHClean and Delprof, but I do not understand scripting and script writing enough to know what my logoff script would look like. Also, does UPHClean and Delprof need to be installed on the client? I have also set in the GPO to "enable" the "delete cashed copies of Roaming Profiles" but it does not have any effect in XP Pro. Any assistance would be greatly appreciated!
[topic merged - please do not start needless topics when they exist thanks - tarquel]
I would also be interesting in such a thing, especially if it takes account that the students dont have any local access rights.........
qq on this: why doesnt the GPO setting (delete local profs) actually work?
Midget
The GPO setting is only for cached copies of ROAMING profiles - therefore wont work on locally stored profiles..
Delprof doesn't need to be copied to the client - I run it from a batch file stored in the NETLOGON share using GPO logoff script
I noticed yesterday that it has stopped working on mine as well - and as a result, causes problems...
[such as clearing a students roaming profile on the server wont have the desired effect if they log on to a machine that still has a copy of their profile]
...so I'm going to look at it - when i get a chance.
As my machines reboot each night, that would be an opportune time for a computer shutdown script to run that clears the profiles.
Anyone got one to hand that saves us having to create one?
Cheers
Nath
Have a look at remote profile cleaner by No Nonsense Software Inc.
http://www.no-nonsens.nl/
You can setup 'templates' telling it exactly which profiles you want to clean on what machines. You can test your settings before you try them too. Plus everything can be done via command line options.
There are currently 1 users browsing this thread. (0 members and 1 guests)