Hi SRolland...

I use the LOGON.BAT to copy the hosts, lmhosts and services to the local Windows dirs. That is where the client looks for it.

Here's my batch file:
code:
 
Cls
Echo "Copying files. One moment please..."
@Echo Off

:KixDir
If not exist c:\utils\kix\*.* md c:\Utils > NUL
If not exist c:\utils\kix\*.* md c:\Utils\Kix > NUL

If (%OS%) == (Windows_NT) goto CopyNT

:Copy9X
If Exist C:\Utils\Kix\kix412.ok GoTo Logon9X
XCOPY %0\..\kix412\KIX32.EXE c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\kix412\KX16.DLL c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\kix412\KX32.DLL c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\kix412\KX95.DLL c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %0\..\kix412\KIX412.OK c:\utils\kix\ /D /H /I /R /V > NUL

:Logon9X
C:\Utils\Kix\kix32 %0\..\sLogon.kix
Goto End

:CopyNT
If Exist C:\Utils\Kix\kix412.ok GoTo LogonNT
XCOPY %LOGONSERVER%\NetLogon\kix412\KIX32.EXE c:\utils\kix\ /D /H /I /R /V > NUL
XCOPY %LOGONSERVER%\NetLogon\kix412\KIX412.OK c:\utils\kix\ /D /H /I /R /V > NUL

:LogonNT
C:\Utils\Kix\kix32 %LOGONSERVER%\NetLogon\sLogon.kix

:End
EXIT

As you can see, the batch file also takes care of different OS's.

Hope you can use it.

Greetz, Brian
_________________________
Rodney Dangerfield: “My mother didn't breast-feed me. She said she liked me as a friend.”