Title: RE: [ActiveDir] Logon Script
The more accepted idea (if there is a need to retain legacy for some time) is to create a batch file (or copy it from the 2000 ResKit - lmbridge.cmd) that will copy the files from the 2000 server to NT 4.0:
 
From:  http://www.microsoft.com/technet/treeview/default.asp?url="">

Synchronize File Replication Services

The two file replication services, LMRepl for Windows NT 4.0 and NT File Replication service (NTFRS) for the SYSVOL on Windows 2000, are not compatible, meaning they do not replicate files between them. Therefore, administrators have to create a manual process that copies new scripts from the logon folder in the SYSVOL to the LMRepl export folder on the Windows NT 4.0 domain controller.

The easiest way to perform this operation is as follows:

  1. On the Windows NT 4.0 domain controller, which was configured as LMRepl export server, create a batch file that copies all files from the netlogon share on the PDC to the <repl\export\scripts> folder.
  2. Add this batch file to the list of tasks that are executed once a day by the scheduling service.
  3. Configure the scheduling service to use a user account that has the rights to access the netlogon share on the PDC. Simple user rights are sufficient.

Note The Windows 2000 Server Resource Kit has a more sophisticated script called lmbridge.cmd. It allows use of either xcopy or robocopy.

To create the batch script:

  1. On HB-ACCT-ROW-DC3 (the LMRepl export server), create the following batch file:

    Net use o: /delete
    Net use o: \\hb-acct-row-dc1\netlogon
    Echo y| copy o:\*.* %systemroot%\system32\repl\export\scripts
    Net use o: /delete

  2. Save the batch file, for example, as c:\tools\brepl.bat.
  3. Open a command prompt and type the following command to configure the schedule service:

    at 12:00am /every:m,t,w,th,f,sa,su c:\tools\brepl.bat

  4. Open the server manager, select HB-ACCT-ROW-DC3, and select Services from the Computer menu.
  5. In the Services dialog box, select Schedule in the Service box, and click Startup.
  6. In the Service dialog box for the Schedule service, select Automatic as startup type. In the Log On As: section, select This Account, and press the browse button (…). The object picker dialog opens. Select a user account in the object picker that has read access to the netlogon share on the PDC, like the repl service account that is used by the LMRepl directory synchronization service, and click OK.
  7. Enter the password that is used by this account. Press OK and then click Close to close all dialogs.

To test the synchronization, create a new empty logon script called test3.cmd in the logon scripts folder on the Windows 2000 domain controller. Execute the script manually and check whether it appears on all Windows NT 4.0 domain controllers in the repl\import folder.

Rick Kingslan  MCSE, MCSA, MCT
Microsoft MVP - Active Directory
LAN Administration - Windows 2000
West Corporation
[EMAIL PROTECTED]



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pararajasingam,Anton
Sent: Monday, November 24, 2003 8:07 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] Logon Script


If you don't have AD installed, then you must be running NT4?? - if so you cant place logon scripts on the W2K server! - you have to place them in the netlogon share of the NT4 PDC/BDCs! - someone please correct me if I'm wrong.

The path is WINNT\SYSTEM32\repl\import\scripts - I think

Anton



-----Original Message-----
From: George Arezina [mailto:[EMAIL PROTECTED]]
Sent: 24 November 2003 12:50
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Logon Script

Can anyone tell me where to place a logon script when I do not have AD
installed? When AD is installed it is located in
C:\WINNT\SYSVOL\sysvol\domainname\scripts.
However, I can't seem to find the correct place for it when I do not have AD
installed on a W2K server.
Thanks in advance.


  
George Arezina
BA, A+, Net+, MCSE 2000
Information Technology Consultant
National Bank of Serbia
Pop Lukina 7-9, 11000 Belgrade.
P E-mail: [EMAIL PROTECTED]
g Phone:+381 (11) 3202-474
  GSM:  +381 (63)  342-321
 



List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/



******************************************************************************
The information contained in this e-mail is confidential. It may also be protected by legal privilege.
It is intended only for the stated addressee(s). If you are not an addressee you must not disclose, copy, circulate nor use the information contained in it.
If you have received this e-mail in error please inform the sender immediately and delete it and any copies from your system.
******************************************************************************

Reply via email to