I am looking for a batch script that can be run as a logon script. the script would disconnect specified network drives eg o:\ or t:\ drives at the next logon. I would want it to just run once for all users.
i need to do this as we share laptops at our school among teachers at our school and they have drives mapped to the students in their classes folders. Normally I re-ghost all the computers each year so the my mapped drive batch script maps the correct student folders on the server for that teacher. However when I change the batch script for the mapped drives if given teacher has already logged onto a computer it still shows the old mapping. I would not want it to unmap and remap drives every time they log on as this a once a year issue and I assume that the 'un-mapping' and 're-mapping' increases startup time.