Solved

Mapped drives by geographic location

Posted on 2008-10-16
3
162 Views
Last Modified: 2012-05-05
Hi,

How do I create drive mappings dependant on which office a user is logging on in?
I already have this for users that are permanant in each office but there are staff who roam between the offices with laptops. Up to now the laptops have not been in the domain but now when not in their "home" office, the users get extremely slow performance due to using the VPN rather than connecting to the local server.

Cheers,
Gordon
0
Comment
Question by:tangerine27
3 Comments
 
LVL 5

Expert Comment

by:mredfelix
ID: 22731302
if your using WshNetwork then use ISMember

so you do something like
if ismember("group1") then
'do something
end if

if ismember("group2") then
'do something else
end if

have a look at the script here

http://www.visualbasicscript.com/m_30858/tm.htm
0
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 22731492
Create a script for each location and add each one to a separate GPO (under the node User Configuration\Windows Settings\Scripts\Logon).  Link these GPOs to Active Directory sites rather than to OUs.  This way, the appropriate drives will get mapped for users who log into computers at that site.  If a computer changes sites it will automatically get the new site's policy.
0
 

Author Closing Comment

by:tangerine27
ID: 31506749
Thanks very much this is what I need to do - I suspect that I will need to ask suplementary questions about sites though as I think the existing setup is incorrect.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

805 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question