Jump to content

Recommended Posts

Posted

Hi all,

 

We use local profiles for users (would prefer to use roaming but don't ask!) - anyway, some of our machines only have 80GB hard drives that after a few hundred users logon the hard drives become full - we then need to reimage.

 

We'd like some kind of script that runs on log off to delete the users home directory and the associated registry key so that next time they logon they get a fresh profile copied from default, and all is good.

 

Anyone done this already and can provide assistance?

 

Many thanks

Martin

Posted

Heres the script we use to delete them.

 


\\server\share\software\delprof\delprof2.exe /ed:fairm010 /ed:administrator /q

echo %ComputerName% Has deleted old user profiles. >> "\\server\share\software\delprof\log.txt"

 

This deletes any profile apart from mine and the administrator profile. (And the default windows ones of course)

Posted

Ok I'm struggling. I've got the script deleting profiles fine - I've then added this to group policy as a shutdown script - but it doesn't seem to be doing anything.

 

I can't find any error logs etc :S

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