Question Locked

Deleting Roaming Profiles after Logoff

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Any thoughts on this:

To summarise the Enviroment : Server 2k3 with Clients Windows Xp.

I have setup a group policy with?delete cached copies of roaming profiles? in ?computer config, admin templates, system, user profiles? set to enabled.The policy is applied to the client PC's.So far so good.

I then logon and logoff as a test user on the client PC. I then logon as admin and check the test user profile but the profile is still there.

I ran ?gpupdate /force? after changing the group policy, I also rebooted the PC.The test user profile does not delete.

Any thoughts?

9 replies

by seanferd

by tino asprilla

Ive given the user profile hive cleanup service a go, its up to UPHClean v2.0 build 2.0.49.0 (beta) for 32 bit platform operating system.
.Doesn't seem to have any effect but I like the idea its offering , if a process is still associated with the profile it could explain maybe why the profile is not being deleted as directed by the group policy.It might be worth looking into what processes are being associated with the user.Im still open to suggestions?

by tino asprilla

Ive given the user profile hive cleanup service a go, its up to UPHClean v2.0 build 2.0.49.0 (beta) for 32 bit platform operating system.
.Doesn't seem to have any effect but I like the idea its offering , if a process is still associated with the profile it could explain maybe why the profile is not being deleted as directed by the group policy.It might be worth looking into what processes are being associated with the user.Im still open to suggestions? Ill monitor uphclean up and see if it comes through.

by tino asprilla

The torubleshooting article put things in the right direction of thinking....but it didn't solve the problem...Ive now turned to delprof.exe with the /r switch being used as a logoff script to delete roaming cached profiles..its interesting the delprof logoff script works in a way; ...some roaming profiles are deleted and some are skipped with "skipping profile because it is not a roaming profile cache" even though the profiles skipped are roaming profiles..Any ideas on this one?

by rob miners

so that you could create a batch file to run against all of the Systems.

How to Use Delprof.exe to Delete User Profiles on a Remote Computer

http://support.microsoft.com/kb/315411

Keep us informed as to your progress if you require further assistance.


If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome. ;) :D :-bd

by tino asprilla

Solution implemented :
Created a batch file with delprof.exe with appropiate swicthes and applied the batch file within group policy as a logoff script.
Works a treat.

Problem solved!

by jordi.pavon

Hi,
I've a similar trouble with roaming profiles, can you share the code of your batch file?

Regards,

This discussion is closed to new replies.