#47777 - 2003-11-13 05:00 AM
Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
I'm reasonably new to Kix and although I have been successfully using Kix for the last 4 months in my network to do a few minor group-drive mappings and registry key updates, I consider myself a newbie to the scripting world.
My problem - Kix has been running perfectly for the past 4 months however last week it has started intermittently and randomly hanging after the users have logged in. The strange thing is, I can't replicate the problem exactly each time I log in. Sometimes it runs without a hitch, then using the same PC, same login account, logoff then log back on - fails! Restart the PC and then the script maybe fails, maybe works. This happens on any of the PC's and there seems to be no pattern with which to trace this issue. It doesn't matter whether I call the login script from a batch file (locally on the PC, from AD Group Policy Object or Domain Controller Netlogon shares) or directly from the AD Group Policy Object.
I've tried the following and after trawling through this bulletin board, am still at a complete loss as to what the problem is or how to fix it. Any help is much appreciated!
(note here: I manage two separate companies and have kix running at both sites. One site has not had one issue with kix, whereas, I'm experiencing these problems at the other)
- Initially, checked for any inconsistencies between my two sites - Tried logging in using different login accounts (with varying security rights) - Tried logging in to different PC's (all PC's are using an SOE, all with identical hardware) - updated Kix32.exe first to V4.21 then after no luck to v4.22rc1 - copied Kix files/scripts locally to the PC's and calling the login script from there - Sometimes, while the KIX login window is hung, I can manually navigate to and run the same kix32.exe and login.kix files with the new instance working fine (while the original script is still hung)
Environment: * Windows 2000 AD - hybrid mode * 2 x Domain Controllers (win2k sp4) * 4 x Memeber Servers (win2k sp4) * 70 * WinXP Pro clients (sp1) * Kix32.exe (v4.20)(4.21)(4.22rc1) * Login script is being called from AD Group Policy, User Configuration/Windows Settings/Scripts(logon/logoff)/Logon * Kix32.exe and script files are located in \\domain\sysvol\domain\scripts
|
Top
|
|
|
|
#47779 - 2003-11-13 05:04 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
yes.
|
Top
|
|
|
|
#47780 - 2003-11-13 05:11 AM
Re: Script Intermittently and randomly hangs
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
A hang or lockup might indicate communication issues. Have you checked for network and NIC errors?
|
Top
|
|
|
|
#47783 - 2003-11-13 05:18 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
Lonkero - will try the error logging and see how that goes, although i forgot to mention that during my troubleshooting so far, i cut the script down to one or two lines and had the same problem Shawn - my initial thoughts as well.
|
Top
|
|
|
|
#47784 - 2003-11-13 05:22 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
shawn - the only entry in the event log was a message indicating that the script had timed out. if you leave the "hung" script window long enough, it closes although none of the script is actioned.
|
Top
|
|
|
|
#47785 - 2003-11-13 05:24 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
Howard - all 70 PC's are having the same problem. All PC's are < 6 months old, IBM NetVista's with Intel Pro100 NIC's. Core switches are Cisco and PC's are spread across all core switches.
|
Top
|
|
|
|
#47786 - 2003-11-13 05:27 AM
Re: Script Intermittently and randomly hangs
|
Howard Bullock
KiX Supporter
   
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
|
I was referring to the server's NICs or error on the switch or router. We use Cisco product also and have found miss configured NIC to Switch ports (10half vs. 100 FULL) stuff. [ 13. November 2003, 05:28: Message edited by: Howard Bullock ]
|
Top
|
|
|
|
#47788 - 2003-11-13 05:32 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
Howard/Shawn - will check both and get back to you in 20 mins as I've got to attend an immediate issue. thanks for the help so far!
I'm sure we'll nail this.
|
Top
|
|
|
|
#47789 - 2003-11-13 06:11 AM
Re: Script Intermittently and randomly hangs
|
Radimus
Moderator
   
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
try running kix32 on the local machine
|
Top
|
|
|
|
#47790 - 2003-11-13 06:12 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
This is the only event logged locally on the PC after the Kix script window has been left to hang and eventually dissappear.
Event ID: 1217 Source: Winlogon Type: Warning Category: None Message: Execution of GPO scripts has timed out and have been terminated.
|
Top
|
|
|
|
#47792 - 2003-11-13 06:14 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
see my initial posting. Already tried copying all files locally to the PC and running kix from there.
|
Top
|
|
|
|
#47795 - 2003-11-13 06:34 AM
Re: Script Intermittently and randomly hangs
|
amttala
Fresh Scripter
Registered: 2003-11-13
Posts: 12
Loc: Melbourne, Australia
|
Lonkero;
I'll assume you're familiar with AD and Group Policy so..from the Default AD Group Policy Window, I select Edit/User Configuration/Windows Settings/Script(logon/logoff)/Logon, choose Edit, then navigate to and select the kix32.exe file located in \\domain.com.au\SysVol\domain.com.au\scripts\ and once selected in the "Script Name" window, enter in the "Script Parameters" box below: login.kix
This way, the Group Policy applied to all domain users during logon, calls the kix32.exe file from the \\domain.com.au\SysVol\domain.com.au\scripts folder and passes the login.kix parameter to it.
Using a batch file to call Kix and script caused some problems with the XP clients so this is the method I chose. It's still working without a hitch at company 2.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 358 anonymous users online.
|
|
|