troubleshooting Question

Disconnecting mapped drives once

Avatar of johnnydcusa
johnnydcusa asked on
Windows BatchMicrosoft Server OSVB Script
7 Comments2 Solutions489 ViewsLast Modified:
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.

thanks

John
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 2 Answers and 7 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros