I've been having some difficulties with seeing local network maps using logon scripts on Server 2008 R2.
For the sake of this conversation, I have two users, one is the domain administrator account admin
and the other is a standard user user
who only belongs to the Domain users
group. When admin
logs on, the logon script runs, a log file tells me that net use
was successful, and in explorer I can see the mapped drives. When the standard user
logs in, I know the script runs (via examination of a log file), and the net use
commands complete successfully, but I don't see the drives in explorer (or via the net use
list or anything). So it seemed like they were being mapped in a different context/session. I read all over the place that setting the EnableLinkedConnections
registry key solves this problem for administrators by sharing mapped drives between the two contexts (fully elevated session vs. the UAC administrative-stripped session), so this didn't seem to apply to my problem. However, when I set this key (basically out of desperation), now the drives show up for user
!
So my question is, everything I've read has indicated that only the administrators have these two separate UAC contexts/sessions, but somehow this has resolved the issue for non-admin acccounts. I'd like to understand more about why that works, in case this is indicative of another existing problem with my configuration.
Any insight would be greatly appreciated, thanks.