Hi afzalhussain

What clients? Win9x or NT?

If Win9x then ensure KXRPC is running on all PDC/BDC's that may authenticate logins. Some discussion on this board whether RPC is needed or not? Your choice.

Here is my login.bat as used at one of our clients. (not saying you have to do it this way! just test it on your systems) It's fairly basic but it's the best way to start.

;login.bat
;this copies the reqd files over to the client (you could run kix32 direct from netlogon if you like) then runs kix32 script at the end

CLS

ECHO Verifying/Upating Script & Software Installs, Please Wait...

IF "%OS%" == "Windows_NT" GOTO WinNT
REM * If can't detect WinNT, assume system is Win95/98
rem XCOPY %0\..\KXRPC.EXE %WINDIR%\SYSTEM\ /D /H /I /R /V > NUL
XCOPY %0\..\KIX32.EXE %WINDIR%\SYSTEM\ /D /H /I /R /V > NUL
XCOPY %0\..\KX16.DLL %WINDIR%\SYSTEM\ /D /H /I /R /V > NUL
XCOPY %0\..\KX32.DLL %WINDIR%\SYSTEM\ /D /H /I /R /V > NUL
XCOPY %0\..\KX95.DLL %WINDIR%\SYSTEM\ /D /H /I /R /V > NUL
ECHO Finished Verifying/Upating Script Installation.
GOTO Runscript

:WinNT
XCOPY %0\..\KIX32.EXE %WINDIR%\SYSTEM32\ /D /H /I /R /V > NUL

ECHO Finished Verifying/Upating Script Installation.
GOTO Runscript

:RunScript
CLS
ECHO Mapping NT Directories Please Wait...

%WINDIR%\SYSTEM\kix32.exe %0\..\maps.kix

EXIT

-----------

maps.kix

IF INGROUP ("yourusers")
USE U: "\\server\users"
USE R: "\\server\share"
$drive="\\server\"+@userid+chr(36)
USE X: $drive
endif

----------

The users home dir's are hidden shares, the $drive="\\server\"+@userid+chr(36) maps as X: \\server\fred$ on Win9x systems. Or you could try use x: "\\server\@userid$$".

Notice winset is not used.

Hope this helps.

Rgds
Don