In my school, we have tablets running Windows 8.1 connected to the domain. Therefore, each student must log in with a username and password.
User accounts are deleted every 7 days when Windows starts.
However, this cleanup isn't working properly, and the recycle bins aren't actually emptied ($Recycle.bin grows very quickly). The same goes for the Windows\Temp folder (which contains remnants of wapt package installations, for example). I've also noticed the accumulation of scheduled tasks specific to each user (User_Feed_Synchronization-{...}, SqmUpload_S-1-5-21-..., Optimize Start Menu Cache Files-S-1-5-21-...).
I considered creating a scheduled task to empty the recycle bin using the command
Code: Select all
rd /s /q %SystemDrive%\$Recycle.binDo you have any ideas about these problems?
I would like to deploy the solution via a wapt package of course which would clean all this up on each reboot given that I have 90 tablets to process before the disk becomes full.
Thank you in advance for your advice
Matthew
