Michael Posted February 25, 2008 Posted February 25, 2008 Hello all, I'm experiencing a strange Active Directory problem running 2003 Server SP2. I've just created two new pupil users using a template user, however the strange thing is that network drives for Teachers are being mapped. I deleted the two users and re-created them from scratch (thinking maybe the template user was the problem), but the same thing happens. All pupils are using a single mandatory profile (which I know is ok), as all other users logon fine and are only mapped the correct drives. The correct logon script is also being used and the pupils are only members of domain users and students security groups. I've also implemented delprof.exe in a logoff script, however re-logging on as either of the two users, on any machine, is still mapping drives for Teachers. So my question is, what is going on? TIA
Michael Posted February 25, 2008 Author Posted February 25, 2008 I solved my own problem! By editing the logon script, I included every drive from H to Z as follows: net use H: /delete /y net use I: /delete /y net use J: /delete /y net use K: /delete /y net use L: /delete /y net use M: /delete /y net use N: /delete /y net use O: /delete /y net use P: /delete /y net use Q: /delete /y net use R: /delete /y net use S: /delete /y net use T: /delete /y net use U: /delete /y net use V: /delete /y net use W: /delete /y net use X: /delete /y net use Y: /delete /y net use Z: /delete /y This did the trick, but still not 100% sure why it was happening anyway. At least I know my NTFS permissions are configured correctly with children being denied access to staff only drives.
Geoff Posted February 25, 2008 Posted February 25, 2008 The following does the same thing as what you want, in rather less lines. net use * /delete /y 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now