Solved

Mapped drives by geographic location

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
AD Migration / Upgrade 4 56
Copy an entire Active Directory Domain to a dev environment 4 176
2003 Server DNS/FS errors 6 65
Delete Disconnected Site from Active Directory 3 25
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

821 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