Link to home
Start Free TrialLog in
Avatar of fanofchiefs
fanofchiefs

asked on

Delete profile at logoff or logon

Have a Win2k/AD domain with Win2k clients...I need to delete the user profile from the client everytime the user logs off (so the profile will be created at logon w/Default User settings)...These clients are used by children to browse the internet and play games...Can this be done with a script or batch file?...I would like it to be automated (run as a service?)...Thanks in advance...
ASKER CERTIFIED SOLUTION
Avatar of sonorddrum
sonorddrum

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sonorddrum
sonorddrum

Sorry - that should say the default settings CAN be saved (not the modified settings) and will revert to the default setting at each logon.
I know there's a group policy option to delete cached profiles at logout...can't find it right now, but I know it's there! :)
Avatar of fanofchiefs

ASKER

I would like to use JammyPak's suggestion...I know how to use GPO's but haven't found that option...Help me JammyPak....Thanks
Here's an article for deleting cached copies of roaming profiles using GPO...this isn't *exactly* what you wanted, since it's not recreating a local profile at each logon.

http://support.microsoft.com/?kbid=274152

Using a single, roaming, mandatory profile for every user sounds like it might be the easiest thing to do. Then, anytime you want to change something you just have to replace that one profile.
On the clients its under Computer Configuration > Administrative Templates > System > Logon > Delete Cached copies of roaming profiles.  I'm not sure if its in the same place to create a GPO.
Avatar of Irwin W.
This is a most excellent feature.  However, I would like to take this one step further and I do not know if it is quite possible yet.  I would like to make the policy be that "if after 30 days a local profile is NOT used, then it is to be deleted from the workstation".  Is this possible?  I used to run Netware and ZEN For desktops and this was a feature that worked GREAT! on my 2k and XP workstations.  now that I am using AD I have lost this feature.  As an admin, I don't want to be running around unnecessarily to workstns delting profiles when a user is no longer around.
Nappy_d,

You would need a script for this, and I don't know any code to do it. Sorry.