Page 1 of 1 1
Topic Options
#130698 - 2004-12-06 07:40 PM KiXtart causing BlueScreens and reboots
Anonymous
Unregistered


Well first off, I am running 4.22. The workstations that are crashing are XP SP1 machines (No I do not have SP2 installed on them).

For login Scripts I have "Run Login Scripts Synchronusly" set as a group policy so that the login script runs before any other software.

When my machines are all crashing at the same place on an individual basis. For instance one of my machines ALWAYS crashes at one printer instance

Either

IF INGROUP("LaserJET 4000")
IF ADDPRINTERCONNECTION ("\\"+$srvr4+"\4000")=0
AT (21, $startline) "40."
$startline = $startline + 1
ENDIF
ENDIF

Or

IF DELPRINTERCONNECTION ("\\"+$srvr4+"\4000")=0
AT (20,$startline) "OF."
$startline=$startline + 3
ENDIF

I have no problems with the exact same login script for any other users when it comes to my hp4000 printer. But that one user on that one machine will constantly reboot when it comes to that printer. If I remove that part of the login script that one user logs in fine. But if I log into that machine it works perfectly fine when it comes to that printer.

I understand that this has to be a conflict somewhere, but I just can't figure it out. All of my users are using roaming profiles. All of my users get their printers mapped from the login script. This is happening with three of my users right now.

If I surround the code with

IF @userid <> "effecteduser"
ENDIF

that user can log in fine.

After looking at msconfig to see what's loading, the only things that I can see are the scanner driver and PalmOne.

If anyone has any ideas about this please feel free...

-Al

Top
#130699 - 2004-12-06 09:32 PM Re: KiXtart causing BlueScreens and reboots
ShaneEP Moderator Offline
MM club member
*****

Registered: 2002-11-29
Posts: 2127
Loc: Tulsa, OK
In my opinion, the problem doesnt have as much to do really with Kix as it does a corrupted printer driver for the printer that keeps crashing the pc. Its been so long since Ive seen a roaming profile (thank God) that I dont recall exactly how they work. Are the printer drivers by any chance stored in the roaming profile, or per pc like normal? I would try logging in as the effected user, bypassing the script, and manually add the printer in question. Then try running the script and see if you still get the same result.
Top
#130700 - 2004-12-07 02:16 AM Re: KiXtart causing BlueScreens and reboots
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

See for more ways of debugging your code during logging on Debugging script without user input. also during logging on. the advanced way
greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 1046 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.034 seconds in which 0.014 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org