For starters, I know about net use
for this, but I need a more sophisticated solution.
We have two branches, and both have a server with shared drives, both of which have are (or will have) the same information (files, installaters, etc.). It works OK; users can access it and map drives, etc.
But I'd like configure a GPO for situations where one colleague from branch 1 will be connected to network in branch 2, and have a drive auto-mapped from branch 2 instead of branch 1.
If I tell my colleague "you can find it on Store server" then he only click to mapped drive independently on branch where he is.
Server with AD: Windows 2008 R2
Clients: Windows 7, 8
Best Answer
You want to use Group Policy Preferences Mapped Drive Items. You can use item-level targeting to map drives based on the OU of the computer, which seems like it should satisfy your requirements.