Jump to content

Recommended Posts

Posted

Hi, I would like to delete user profiles when they logoff XP Pro, I need to do this because the desktop are re-appearing after deletion.

 

for instance

 

I remove the student profile from the server,

Student logins to a computer where which they have used before and

surprise surprise everything comes back to the desktop.

 

I'm sure (read guessing) this is a AD setting?

 

best Roland

Posted

Yes theres an AD policy to deal with this:

 

Computer Config>Admin Template>User Profiles>Delete Cached copies of roaming profiles

 

This will delete the profile from the local machine when it logs off after it updates the roaming profile. However I've found that it often leaves the local profile behind on laptops that run on wireless so will need something like delprof to get rid.

Posted

I use the AD setting in GPO but is works fine if the machine logs off correctly. If the kid just shuts it down by the power button or there is apower fialure for some reason then the pofile gets left.

 

I too use a script that runs on log off that deletes all the local user profiles except, administrator, default and one other ( which escapes me) This is fine on curriculum machines but don't run it on a OU that has staff laptops in becasue this could cause major problems with how you have your staff laptops set.

 

PM me if you want a copy of the script.

Posted

I don't have roaming profiles, so the profiles are all quite small anyway.

 

I _do_ end up with 1,000s of profiles on each machine eventually.

What we do is, regularly is run delprof, either, on the machine, or remotely.

 

Usually for each classroom we run delprof from a .BAT file, that starts at PC1 and goes until it gets to the last one. We do this in the holidays usually, but we have run this during lesson time, no-one seems to notice it.

Posted

We go about it in 2 ways:

 

Deploy the user profile hive cleanup service MSI (on microsofts website somewhere) you need this to "unlock" their profile on logoff so it can be deleted at next startup.

 

Use a computer startup script via a GPO (but not linked to staff OU's) that runs delprof silently. Seems to work OK and only adds a few seconds to the startup time of a PC.

Posted

Using Delprof too as a Startup Script (easiest way)

 

The "Cached Profile" setting in GPO is for Roaming profiles only - if you dont use Roaming Profiles it has no effect.

  • 4 weeks later...
Posted

We run delprof when the user logs on to the laptop locally. This deletes all the other profiles, but not the local one they are logged on with

 

Are network printers stored under the network profile, because when we delete the network login profiles, staff lose their network printers and have to add them again ?

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