Hello,

I work for an enterprise (USA based) at a branch office (New Zealand based, ~280ms ping) that is having an intermittent logon problem only at our site.
I've never written a KiXtart script and only found out about kix when it was called up by a group policy boot script.

When the command to run kix is called a 600 second delay occurs before the gpclient calls timeout. The problem only happens when a foreign domain controller is used to serve up the logon scripts.

Logon Script that calls kix:
 Code:
adlogon.cmd

set HERE=%0\..
set ADLOGFN=%TEMP%\adlogon_%USERNAME%
set ADLOGEXT=.log
set KIXLOG=%ADLOGFN%_kix%ADLOGEXT%

...
echo  %HERE%\kix32.exe "%HERE%\adlogon.kix" $adlcdir="%HERE%" "$logfile=%KIXLOG%"
%HERE%\kix32.exe "%HERE%\adlogon.kix" $adlcdir="%HERE%" "$logfile=%KIXLOG%"
...



We have put an echo above the line that calls kix32 with the exact same command and it outputs the following:
\\<LOCALDC>\netlogon\ADLogon\adlogon.cmd\..\kix32.exe "\\<LOCALDC>\netlogon\ADLogon\adlogon.cmd\..\adlogon.kix" $adlcdir="\\<LOCALDC>\netlogon\ADLogon\adlogon.cmd\.." "$logfile=C:\Temp\adlogon_<USERNAME>_kix.log"

As you can see the kix program, script and run dir are all on the DC.
The kix script that runs starts off with:

 Code:
adlogon.kix

;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;This is the logon script for the Active Directory <DOMAIN> domain
;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
IF ISDECLARED($logfile)
  IF REDIRECTOUTPUT($logfile,1) <>0
    REDIRECTOUTPUT()
  ENDIF
ENDIF
? "@DATE @TIME,ADLogon Kixtart Started"
BREAK ON
$RC = LogEvent( 4 , 5901 , "AD Logon script started: "+@LDOMAIN+"\"+@USERID+" at site: "+@SITE+" by "+@LSERVER,"","KIX32")
...


The 3rd last line is output to the log file and the last line is output to the windows event viewer.
When a foreign DC is used these two lines are not run but the echo to output the command to call kix is run from the adlogon.cmd.

If you have any idea or suggested problem solving tips as to how or why kix doesn't run or stops please let me know.

Version: KiXtart 2001 4.22
Windows 7 AMD64 Enterprise SP1

Occurs on all Win7 pcs on this site.

Thank you.