Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Script from HELL

Status
Not open for further replies.

VRIT

IS-IT--Management
Sep 2, 2002
60
GB
Hi,

This may take some time to explain but please bear with me.

Alpha server is located on Site A, Beta server is located on site B. Both Alpha and Beta servers hold login scripts for local users so the mapped share in Alpha would be along the lines of \\ALPHA\generalshare whereas the script for BETA would be \\BETA\generalshare (excluding the net use etc). Now what I would like is to create a login script so it picks up which location you are in, so someone from site C attaches there laptop to site A and it then runs the login script from site A instead of site C (therefore creating local mappings instead of going over the WAN to site A).

If I can figure out how to make a script that can check which site you are logining on from I can then remove site scripts and make one general one *cheer*.

Thanks in advance.
 
Dear all,

I have managed to design a script which not only maps login drives, it also establishes which users are in which OU, this then allows me to map specific drives depending on location and department.

Works wonders.

VRIT
 
FYI

You should always post the solutions you find to help others who maybe wondering the same things you were.

2 cents,

Fred
 
Apply your login script in Active Directory Group policy.

Assign the policy to the site, this is done in active directory sites and services, not users and computers.

Should work a treat.

Chris

Chris Styles

NT4/2000 MCSE
 
VRIT,
would you please post your script here, i need policy scripts and don't have time to test !!!!!!!!!!!!!!!!!?????????

Francois

Francois Chaer
Network Admin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top