I was wondering if anyone has a logoff script that will delete a users profile when they log off. This is to prevent profiles from accumulating on the harddrive.
Did you ever find such a script? I am also interested in a script which would do the exact same thing; nothing worse than finding 5,000 profile directories on a hard drive.
You don't need a script for this.
This change in the Windows Register will do the Trick
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: DeleteRoamingCache
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = disabled, 1 = enabled)
Will this setting work if we are not using roaming profiles (i.e. we just have a local default user profile but lots of students loggging on)? The profile directories build up pretty fast.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.