Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mapped drives by geographic location

Posted on 2008-10-16
3
Medium Priority
?
168 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 2000 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…

886 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