tomgrindle Posted September 27, 2011 Posted September 27, 2011 I am sorry to bring this back up as I know there have been a few threads about it before .... but we cannot find a solution. We are using mandatory profiles for our students, and they get copied to 'C:\Documents and Settings\' on log on. On log off the profile is supposed to be deleted. This has been working fine previously until not long ago. Because they are not being deleted multiple copies of the profile are being created, such as username.domain and username.000 etc. The files that are being left behind, therefore the profile not being totally deleted are: C:\Documents and Settings\*Username*\Local Settings\History\History.IE5\index.dat C:\Documents and Settings\*Username*\IETldCache\index.dat C:\Documents and Settings\*Username*\Cookies\index.dat We have GPO set to delete profiles on log off, we run the User Profile Hive Cleanup Service, we also have a script that runs ... and it just seems impossible for these profiles to be deleted properly. We run Windows Server 2003 and Windows XP. Any help is gratefully received. Many Thanks Tom
DT2 Posted September 27, 2011 Posted September 27, 2011 Of all the things, have you tried delprof? DT
Arthur Posted September 27, 2011 Posted September 27, 2011 Try DelProf2. It's better than Microsoft's DelProf. e.g. delprof2.exe /u /i /r
Michael Posted September 27, 2011 Posted September 27, 2011 Typically profiles do not get deleted because they're corrupt, hence the 000, 001 you're getting. Try creating a new mandatory profile.
tomgrindle Posted September 27, 2011 Author Posted September 27, 2011 To be honest we haven't tried delprof yet. @micheal : I can understand that bit .... but it the profile is only corrupt because of the index.dat files that are left over ... it deletes the rest of the profile fine. It is almost like there is something using the files when it is trying to be deleted. If we delete them manually we have to restart the machine before we can do it because it complains that the file is in use .... so i presume that is what our script etc will not be deleting them files. Bust what can be hijacking it?
Michael Posted September 27, 2011 Posted September 27, 2011 I'm pretty sure that's normal behaviour that it remains in use, despite being logged off. This is why I have used delprof as a Startup script, so it should delete everything (depending on the delprof switches you use).
tomgrindle Posted September 27, 2011 Author Posted September 27, 2011 OK. I might try delprof then. What switches do you use, and do you use delprof or delprof 2?
Michael Posted September 27, 2011 Posted September 27, 2011 Delprof works with Windows 2000 and Windows XP and Delprof2 works with Windows Vista and Windows 7. If you copy the delprof.exe to the root of C:\ and then from a command prompt run C:\delprof.exe /? it'll give you a list of all the available switches. Alternatively you could probably just Google it too. I've not had the need as yet to use Delprof2 in a Windows 7 environment, but I suspect the process is the same.
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