woody Posted September 28, 2006 Posted September 28, 2006 Is there a log off script I can run to remove their local profile?
CyberNerd Posted September 28, 2006 Posted September 28, 2006 use delprof.exe on the resource cd. delprof /Q will do it quietly
NetworkGeezer Posted September 28, 2006 Posted September 28, 2006 Isn't there a GPO setting to delete cached profiles automatically?
Slartibartfast Posted September 28, 2006 Posted September 28, 2006 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/details.aspx?FamilyID=1b286e6d-8912-4e18-b570-42470e2f3582&DisplayLang=en
ajbritton Posted September 28, 2006 Posted September 28, 2006 I do the lot. GPO setting + UPHCLEAN + DELPROF /Q /I /R.
ChrisH Posted September 28, 2006 Posted September 28, 2006 I do the lot. GPO setting + UPHCLEAN + DELPROF /Q /I /R. Me too.
NetworkGeezer Posted September 28, 2006 Posted September 28, 2006 kills all known pofiles. dead OK I guess I should go add some value elsewhere :oops:
Behuck Posted October 16, 2006 Posted October 16, 2006 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!
tosca925 Posted October 16, 2006 Posted October 16, 2006 Isn't there a GPO setting to delete cached profiles automatically? I thought this as well
Norphy Posted October 16, 2006 Posted October 16, 2006 There is for roaming/manatory profiles but not for local ones I think.
Behuck Posted October 16, 2006 Posted October 16, 2006 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]
Midget Posted October 16, 2006 Posted October 16, 2006 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
Gatt Posted October 17, 2006 Posted October 17, 2006 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
tarquel Posted October 17, 2006 Posted October 17, 2006 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
Geoff Posted October 17, 2006 Posted October 17, 2006 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.
ajbritton Posted October 17, 2006 Posted October 17, 2006 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 Why not just put the batch file and DELPROF in the GPO as well? That way it's cached on the PCs and should run if disconnected.
tarquel Posted October 17, 2006 Posted October 17, 2006 Pay Geoff....Pay? hehe [PS i'm going to merge this with the exact same topic as the other one thats at the top of this board *rolls eyes*] Nath
Geoff Posted October 17, 2006 Posted October 17, 2006 It's donationware. You just have to redownload it every 2 months: Remote Profile Cleaner is available as donationware only. The complete program is available as a Windows installer and can be downloaded from the links on the bottom of this page. Please notice that a serial number is not required to install or use Remote Profile Cleaner for non-commercial usage. Unregisterd versions will expire two months after their release date. If you choose to register your copy of Remote Profile Cleaner, a serial number is send to you as soon as we receive your minimum donation of € 45.00
pinemarten Posted October 17, 2006 Posted October 17, 2006 Craig "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" tried that & it doesn't work for me - batch file doesn't support UNC path & also I think user has insufficient access to run delprof - any ideas?
Behuck Posted October 17, 2006 Posted October 17, 2006 I have placeed a bat file to run Delprof in NETLOGON and using GPO logoff script. I believe that it is deleting my test profile, but the logoff script runs before the "network connections" screen and then "saving your settings" screen appears, which I believe, is placing the profile right back in the "Documents and Settings" folder. How do I set the logoff script to run at the very end or how do I switch off the "save your settings" process?
Geoff Posted October 17, 2006 Posted October 17, 2006 you can't delete a profile that's in use. you can't alter when logoff scripts are run within the logoff process.
Gatt Posted October 17, 2006 Posted October 17, 2006 run it at machine startup. D'oh - silly me - I run it at startup :oops:
woody Posted October 17, 2006 Author Posted October 17, 2006 The only problem I can see now is slower logon times if the computer has to create a local user profile everytime someone logs on.
boomam Posted October 2, 2008 Posted October 2, 2008 (edited) I do the lot. GPO setting + UPHCLEAN + DELPROF /Q /I /R. The GPO setting doesnt appear to work for me? Does anyone have a guide on how to use delprof & uphclean? Or do i literally just wack delprof into netlogin/a share, set it as a log off script with the /q /i /r variables? Then install the UPHClean on each workstation? Edited October 2, 2008 by boomam
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now