1. Create a group for each server that holds users directories.  example:
Server1,Server2
2. Put the users in the approprate server group that you just created.  If
their users directory is located on Server2, add them to the Server2 global
group.
3. For each user take out the home directory location in their account.
4. Add the group you added them to, to their account.

Example of login batch file.
net use z: %logonserver%\netlogon
c:
cd winnt\system32

if exist ifmember.exe goto Script
copy z:\ifmember.exe ifmember.exe
goto Script

:Script
if exist h:\%username% goto End
goto Start

:Start
ifmember "Server1"
if not errorlevel 1 goto Next1
net use h: \\Server1\users
goto End

:Next1
ifmember "Server2"
if not errorlevel 1 goto End
net use h: \\Server2\users
goto End

:End
net use /delete z:
Exit


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 1:47 PM
To: NT System Admin Issues
Subject: NEW to login scripts


Well im not new to it but haven't done one yet! I have a windows 2000 server
that I would like to set up a user/unsername folder and have them loginto
the domain and have the user script run and map the appropriate drives. How
can I make a script? Is there a script maker or something to do it or is it
hand coded? Sorry to sound dumb but very new to it.

thanks

http://www.sunbelt-software.com/ntsysadmin_list_charter.htm


**********************************************************************
"This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the e-mail originator.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses. However, 
please check this e-mail for virus infection for which
CDG Management LLC accepts no responsibility"
**********************************************************************


http://www.sunbelt-software.com/ntsysadmin_list_charter.htm

Reply via email to