Windows XP Local Locked User Profiles - AUTOMATED DELETION ?
Posted on 2006-10-31
I work in a school district where there are multiple users on each workstation everyday. We have Windows XP SP2 boxes with Novell Netware 6.5 and Zen 7. The applications are all pushed out through Novell Application Launcher.
The issue is almost everyday we are getting calls for strange things occuring on the workstations such as not being able to save word files and other oddities. What we have been able to track this down to is that user profiles are getting stuck locally on the machine. Their should only be the profiles "Default User" "Admin" and "Administrator" on these machines. Instead we are seeing students logins and teachers logins that have gotten stuck on the local machine.
What I need is a way to automatically delete all the profiles except for the ones mentioned above I also need to perform several other procedures such as
Clearing out the temp and temporary internet files each night
Clearing out Microsoft Office Temp Files
I know how to do the later part in a batch file but I am not sure how I can make it so that I can delete all profiles except certain ones. I am looking for either a standard batch file way or a windows scripting way (although I am not all that familiar with windows scriptiing)