Okay, let's go back to square one [Razz]

First of all, please do this step-by-step, double-checking everything to make sure it works. There is no point in going to step 2) if step 1) doesn't work.

Step 0:
Download Kixtart 4.02

Step 1:
If you only have a PDC then you will put your script into %SYSTEMDRIVE%\Winnt\System32\Repl\Import\Scripts which is normally mapped as \\PDC\NETLOGON (replace PDC with the name of your PDC)

If you have a PDC and one or more BDC then you will have to put your scripts into %SYSTEMDRIVE%\Winnt\System32\Repl\Export\Scripts and enable replication on the PDC. This will copy the scripts automatically to the 'import' directories of the PDC and all BDCs as soon as the file is changing in %SYSTEMDRIVE%\Winnt\System32\Repl\Export\Scripts.

If you have Windows 9x computers that are logging into the domain, install the Kixtart RPC server on all domain controllers as per manual or use the XNET example script in the Kixtart download to install the RPC server.

DO NOT USE KIXTART 4.10b1 BECAUSE IT IS BETA AND NOT TO BE USED IN A PRODUCTION ENVIRONMENT!!!

Check out http://81.17.37.55/board/ultimatebb.php?ubb=get_topic;f=10;t=000024

Step 2:
Create a simple login batch file like LOGIN.BAT:
code:
ECHO Running login script

PAUSE

Put it into the appropriate directory based on step 1) and check it is getting replicated.
Assing the script LOGIN.BAT as the login script to a test user in the 'User Manager for Domains'

Step 3:
Log in with the test user from a workstation and make sure that the login script runs.

Step 4:
Modify the login script LOGIN.BAT to
code:
ECHO Running Kixtart login script

%0\..\KIX32.EXE %0\..\LOGIN.KIX

PAUSE

Copy KIX32.EXE, KX*.DLL into the appropriate directory based on step 1) and check it is getting replicated.
Create a text file called LOGIN.KIX containing the lines
code:
? 'Kixtart Login Script'
? 'Username : ' + @USERID
? 'Computer : ' + @WKSTA

Step 5:
Log in with the test user from a workstation and make sure that the login script runs.

Step 6:
Success, have a beer, report back to the BBs that it's working

Step 7:
Get fancy, modify the script for drive and printer mappings

Step 8:
Browse the BBS for more advanced login script features

Step 9:
Get Kixtart to brew a cup of coffee for you [Wink]

[ 10 April 2002, 18:31: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.