It's definitely the way KiXtart is being called.
Please be aware that Windows XP interprets %0 differently than Windows 9x/NT/2000. Please implement any of the login.bat examples that have been posted here and use Kixtart 4.x. You also need to consider that only users with local administrative rights can e.g. copy into the %WINDIR%
Below is an example login.bat for all Windows OS:
code:
@ECHO OFF
REM format console window to default size
MODE CON: COLS=80 LINES=25
ECHO Verifying / Updating Script Software Installation
REM detect the operating system and go to the appropriate segment
VER | find "NT" > nul
IF not errorlevel 1 GOTO Win_NT
VER | find "2000" > nul
IF not errorlevel 1 GOTO Win_2K
VER | find "XP" > nul
IF not errorlevel 1 GOTO Win_XP
VER | find "98" > nul
IF not errorlevel 1 GOTO Win_98
VER | find "95" > nul
IF not errorlevel 1 GOTO Win_95
VER | find "Millennium" > nul
IF not errorlevel 1 GOTO WIN_ME
GOTO DOS
REM client is running DOS
:DOS
ECHO.
ECHO No Login Script Available For DOS Clients
ECHO.
GOTO End
REM client is running Windows 9x
:Win_95
:Win_98
:Win_ME
ECHO.
ECHO Checking KiXtart files for Windows 9x/ME
ECHO.
REM the DEL command removes any Kixtart file from the %WINDIR%\SYSTEM directory
IF EXIST %WINDIR%\SYSTEM\KIX32.EXE DEL %WINDIR%\SYSTEM\KIX32.EXE >NUL
IF EXIST %WINDIR%\SYSTEM\KX*.DLL DEL %WINDIR%\SYSTEM\KX*.DLL >NUL
IF EXIST %WINDIR%\KIX*.DAT DEL %WINDIR%\KIX*.DAT >NUL
%WINDIR%\COMMAND\XCOPY %0\..\KIX32.EXE %WINDIR%\ /D /H /I /R /V /C >NUL
%WINDIR%\COMMAND\XCOPY %0\..\KX*.DLL %WINDIR%\ /D /H /I /R /V /C >NUL
%WINDIR%\COMMAND\XCOPY %0\..\KIXTART.411 %WINDIR%\ /D /H /I /R /V /C >NUL
GOTO Run9xScript
REM client is running Windows NT/2000/XP
:Win_NT
:Win_2K
:Win_XP
ECHO.
ECHO Checking KiXtart files for Windows NT/2000/XP
ECHO.
REM the DEL command removes any Kixtart file from the %WINDIR%\SYSTEM32 directory
IF EXIST %WINDIR%\SYSTEM32\KIX32.EXE DEL /F /Q %WINDIR%\SYSTEM32\KIX32.EXE >NUL
IF EXIST %WINDIR%\SYSTEM32\KX*.DLL DEL /F /Q %WINDIR%\SYSTEM32\KX*.DLL >NUL
IF EXIST %WINDIR%\KX*.DLL DEL /F /Q %WINDIR%\KX*.DLL >NUL
IF EXIST %WINDIR%\KIX*.DAT DEL %WINDIR%\KIX*.DAT /Q >NUL
ECHO y| XCOPY %LOGONSERVER%\NETLOGON\KIX32.EXE %WINDIR%\ /D /H /I /R /V /C >NUL >NUL >NUL
ECHO y| XCOPY %LOGONSERVER%\NETLOGON\KIXTART.411 %WINDIR%\ /D /H /I /R /V /C >NUL >NUL >NUL
GOTO RunScript
REM run the logon script for Windows NT/2K/XP
:RunScript
ECHO Loading Logon Script for Windows NT/2K/XP, Please Wait...
ECHO.
REM check whether Kixtart is installed locally
IF EXIST %WINDIR%\KIXTART.411 GOTO LocalExe
IF EXIST %LOGONSERVER%\NETLOGON\KIXTART.411 GOTO RemoteExe
GOTO KixtartError
REM Kixtart is installed locally
:LocalExe
%WINDIR%\KIX32.EXE %LOGONSERVER%\NETLOGON\LOGIN.KIX
GOTO End
REM Kixtart is not installed locally
:RemoteExe
%LOGONSERVER%\NETLOGON\KIX32.EXE %LOGONSERVER%\NETLOGON\LOGIN.KIX
GOTO End
REM run the logon script for Windows 9x/ME
:Run9xScript
ECHO Loading Logon Script for Windows9x/ME, Please Wait...
ECHO.
REM check whether Kixtart is installed locally
IF EXIST %WINDIR%\KIXTART.411 GOTO 9xLocalExe
IF EXIST %0\..\KIXTART.411 GOTO 9xRemoteExe
GOTO KixtartError
REM Kixtart is installed locally
:9xLocalExe
%WINDIR%\KIX32.EXE %0\..\LOGIN.KIX
GOTO End
REM Kixtart is not installed locally
:9xRemoteExe
%0\..\KIX32.EXE %0\..\LOGIN.KIX
GOTO End
:KixtartError
REM Display an error message and notify the Systems Administrator since the user won't be doing it anyway
ECHO.
ECHO Error loading the NMRC-NT logon script
ECHO.
ECHO Please notify the Systems Administrator!
ECHO.
NET SEND REDPOINT "Error loading the NMRC-NT logon script for user "%USERNAME%" on computer "%COMPUTERNAME% >NUL >NUL
PAUSE
GOTO End
:End
ECHO.
ECHO.
ECHO Finishing Login...
@ECHO OFF
CLS
EXIT 0
[ 03. September 2002, 16:53: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.