Solved

Mapped drives by geographic location

Posted on 2008-10-16
3
161 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

930 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now