Jump to content

Recommended Posts

Posted

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.

Posted
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.
Posted
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

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...