I am working on a network where there are a lot of users that log on to
the system for short periods, i.e. 2 weeks. They surf the net and
download a lot of files. The hard drive fills up fast and degrades
system performance.
I would like some way of removing locally stored user profiles using a
script. My thought is to roll through each profile on a computer and
check the name against user manager. If it is not listed then delete
the profile. The two concerns I have with this are: 1. It seems that
this is a very inefficient way of accomplishing what I want. and 2.
Sometimes when deleting profiles I have to boot in safe mode because it
says that certain files are in use.
Any suggestions would be greatly appreciated.
Trevor