browolf Posted January 16, 2008 Posted January 16, 2008 I used to have a logoff script to remove locally cached profiles. Worked on win2000. been trying to use it with some xp machines and its refusing to work. not sure how its not working. logoff takes ages and then the profiles are still there. it's just a shutdown script using delprof. i was wondering if Using Group Policy to delete cached copies of roaming profiles http://support.microsoft.com/?kbid=274152 If you enable Group Policy, any local copy of a user's roaming profile is deleted when the user logs off. would work with mandatory profiles.
ChrisH Posted January 16, 2008 Posted January 16, 2008 None of those GPO settings work 100% thats why we all use delprof and the other user hive service thing to make sure they get released properly.
chalkwellstu Posted January 16, 2008 Posted January 16, 2008 I run delprof for doing this. sorry to have a blonde moment here(but then i am blonde ), but what's delprof and how do you invoke it? Stu
Geoff Posted January 16, 2008 Posted January 16, 2008 Delprof.exe is available in the Windows Server 2003 Resource Kit. It is a command-line utility that you can use to delete user profiles on a local or remote computers running Windows 2000, Windows XP, and Windows Server 2003. User profiles can grow large and may take up considerable disk space, especially if there are several users using one computer. Because of this, you may want to use Delprof.exe to free disk space by deleting profiles that are no longer required. However, because each profile on the computer is presented in order when you run the utility, you may want to use the graphical interface instead of the command-line tool whenever possible. You can get it here: http://www.microsoft.com/downloads/details.aspx?familyid=901a9b95-6063-4462-8150-360394e98e1e&displaylang=en
TechMonkey Posted January 16, 2008 Posted January 16, 2008 +1 for delprof. Run it every now and then or when a station has problems. fixes 99.9% of stains, not sure about statistics for computers though.
GlennT Posted January 16, 2008 Posted January 16, 2008 Hi Browolf, Am I right in thinking you already use Delprof? I agree with the others, Delprof is a great tool. However, if you want to remove the "cache" of roaming profiles [from the M$ article I guess that's what you want to do?], you can create a .reg file with this in.... Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DeleteRoamingCache"=dword:00000001 If you want to remove all local profiles from the machine, let me know as I have a script for that. Cheers, Glenn.
chalkwellstu Posted January 17, 2008 Posted January 17, 2008 You can get it here: http://www.microsoft.com/downloads/details.aspx?familyid=901a9b95-6063-4462-8150-360394e98e1e&displaylang=en thanks Geoff much appreciated and i've been manually deleting them all this time!!!!
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