#199807 - 2010-09-10 06:12 PM
KIX (version 4.61) / Windows Server 2008 R2
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
Hi,
I’m testing Xenapp 6 on Windows Server 2008 R2. When I logon to our Windows 2008 domain using KIX version 4.61, kix32.exe stays open on the domain controller. We use a simple Kix logon script for mapping drives and distributing shortcuts to a personal folder in the users startmenu. It’s seems the script is running because all the mappings are created and the shortcuts are there. I think it’s the combination Windows Server 2008 R2 / KIX. Because we use the same script for Presentation Server 4.5 on Windows 2003 servers and there we don't see this problem. Does anybody know why kix32.exe does not quit?
Example Logon.bat:
@echo off
IF %COMPUTERNAME% == CTRX-01 GOTO XENAPP
IF %COMPUTERNAME% == CTRX-02 GOTO XENAPP
IF %COMPUTERNAME% == CTRX-03 GOTO XENAPP
:XENAPP
"%LOGONSERVER%\NETLOGON\KIX32.exe" "%LOGONSERVER%\NETLOGON\LOGONSCRIPT.KIX" /f
GOTO END
:END
Example logonscript.kix:
; Create Drives ***********
USE * /DELETE
USE N: \\APPL-01\apps
USE O: \\APPL-02\apps
USE P: \\APPL-03\apps
USE Q: \\APPL-04\apps
USE R: \\APPL-05\apps
USE W: @HOMESHR
IF INGROUP("ApplTopdesk")
USE K: \\appl-01\documents
Endif
; Start Group Evaluation ***********
IF INGROUP("ApplAccess")
COPY "Q:\Xenapp\SPECAPPS\Microsoft Access 2010.lnk" "W:\StartMenu\Programs\Persoonlijk\"
ENDIF
IF INGROUP("ApplXmind")
COPY "Q:\Xenapp\SPECAPPS\Xmind.lnk" "W:\StartMenu\Programs\Persoonlijk\"
ENDIF
IF INGROUP("ApplKlicViewer")
COPY "Q:\Xenapp\SPECAPPS\Klic-viewer.lnk" "W:\StartMenu\Programs\Persoonlijk\"
ENDIF
Exit
Attachments
Description:
Edited by Jeroenski74 (2010-09-16 05:22 PM)
|
Top
|
|
|
|
#199823 - 2010-09-13 09:52 AM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Arend_]
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
same problem, Kix32.exe does not quit.
|
Top
|
|
|
|
#199911 - 2010-09-16 09:04 AM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Jeroenski74]
|
Richard H.
Administrator
Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
|
Add comments displayed at all important steps (including the end!) and run the script from an interactive prompt on the problem server to see if the script really is processing correctly.
Also try changing the "Exit 0" to "Quit 0" - quit tells the command interpreter to exit, so if something funky is going on like the script keeps re-executing then the Quit should stop that.
BTW, is there a copy/paste error on this line, you are missing a "%" after the second LOGONSERVER:
"%LOGONSERVER%\NETLOGON\KIX32.exe" "%LOGONSERVER \NETLOGON\LOGONSCRIPT.KIX" /f
|
Top
|
|
|
|
#199923 - 2010-09-16 05:51 PM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Richard H.]
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
Hi Richard,
I ran the script in debug mode (/d). The script is OK, no errors. I have 4 Windows Server 2008 R2 servers ready with Xenapp 6. It doesn't matter on which Citrix server or domain controller the user logs on. I tried the "quit 0" command, unfortunately the same result. Kix32 will not quit.
Edited by Jeroenski74 (2010-09-16 06:08 PM)
|
Top
|
|
|
|
#199933 - 2010-09-16 11:54 PM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Allen]
|
KIXKicks
Starting to like KiXtart
Registered: 2002-07-26
Posts: 177
Loc: Vancouver, WA
|
Add this to the end of the batch file:
:END
ECHO.
ECHO FINISHED...
ECHO.
@ECHO OFF
CLS
|
Top
|
|
|
|
#200014 - 2010-09-22 04:23 PM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Lonkero]
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
The problem is not solved.
I ran the script in debug mode (/d)from an interactive prompt on the problem server to see if the script really is processing correctly, as Richard asked me to.
I use the same script as under Example logonscript. The only difference is that when we go live there are more mappings and groups.
I wrote that the sript is working fine with Windows Server 2003 Citrix servers and Windows Server 2008 Domain Controllers. I only have this problem with Windows Server 2008 R2 Citrix servers and (the same) Windows Server 2008 DC's.
|
Top
|
|
|
|
#200016 - 2010-09-22 04:42 PM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Richard H.]
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
Oh sorry Richard.
You were correct about the missing % in %LOGONSERVER, it was an typo on this page.
Thanks for that.
|
Top
|
|
|
|
#200018 - 2010-09-22 05:19 PM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Jeroenski74]
|
Allen
KiX Supporter
Registered: 2003-04-19
Posts: 4545
Loc: USA
|
Have you tried creating a simple script just to see if it hangs?
? @kix
? "Hit Enter to exit"
gets $RC
If that hangs, let us know. If not, add a drive mapping, and check again. Then a copy command, and check again. The idea is to add one key element at a time from your original script until you find where it is hanging.
|
Top
|
|
|
|
#200056 - 2010-09-27 11:21 AM
Re: KIX (version 4.61) / Windows Server 2008 R2
[Re: Allen]
|
Jeroenski74
Fresh Scripter
Registered: 2010-09-10
Posts: 6
Loc: Netherlands
|
Oké, I found something new.
With only the Start Group Evaluation section kix32.exe runs fine.
So Kix32.exe is having problems with creating drives under Windows Server 2008 R2. Even when I create a script with only 1 drive mapping command kix32.exe does not quit.
Edited by Jeroenski74 (2010-09-27 11:22 AM)
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
2 registered
(morganw, mole)
and 414 anonymous users online.
|
|
|