Solved

Mapped drives by geographic location

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

762 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

19 Experts available now in Live!

Get 1:1 Help Now