We have migrated from Windows XP to Windows 7 at a high school and have run into a problem. The computer lab machines can have upwards of 5-10 different people log into the machine each day. As time goes on, the local cache of user accounts fills up the small hard drives we have. We don't have money to upgrade so we need to find a way to delete the profiles monthly.
In the past we have used delprof from microsoft which worked great. The problem is that delprof doesn't work for windows 7. Does anyone have a way to delete a profile from a batch/powershell script? If you simple delete the files, you get an error the next time the user logs in.
Thanks in advance