Group Policy - login Script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have over 100 sites each with a Win2k server. I want to have a generic
login script that will map a standard share on each server at each site.
Currently we create a GPO for each site but we result with a massive sysvol
due to each site having a local DC.

We tried using a standard DNS hostname eg share.mydomain.com and listed all
the servers with the share record so there is 100+. It works ok in that the
DNS server returns the record from the same subnet but the problem is that if
it is down it return an A record from anther site.

Whats the best way for me to have a standard login script at all sites?

Any assistance is appreciated.
Regards,
Mathew
 
Do the computer or user names have any "site-identifying" features, i.e.
"ws-01-SiteA" or anything? If it's all one big domain you'll need something
to tell the script what to do. There are probably other things, but if
computer or user names were unique to a site, you could use a wsh script to
extract the site from %computername% or %username% and branch to the
appropriate section of code.

....kurt
 
Kurt,
Thanks for the reply... Assuming I do have a qualifier I can search for how
would i then pick the specific server for each site? I dont want to contain
100+ share locations in the one script.
Regards,
Mathew
 
Somewhere you'd have to have the site mapped to the share on the server you
want that site to use. If you don't want it in the script, you could create
an external file with the mappings and have the script look it up. ON the
other hand, if server availability is the main issue, having all of the
information in the script would allow any user at an site to use any DC as
the logon server and still get the proper share mapped. If you write your
script using "case" rather than a bunch of "if" statements it might be a
fairly large script, but only the portion relevant to the site would be
executed, so I don't see an issue with size.

....kurt
 
Thanks for the feedback Kurt.... I thought about querying an external file
but wanted to keep it in AD. Will see how we go with putting it in the script.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top