Page 1 of 3 123>
Topic Options
#40348 - 2003-05-18 07:25 PM windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
Can someone help me please, I have a 2003 domain and put all the files in the netlogon share and the kixtart.kix file in there created a bat file and put in it

@ECHO OFF
%0\..\Kix32.exe kixtart.kix

but when the user logs on the domain controler erros and mentions the file Lsass.exe and reboots.

can anyone help with this.

thanks

Blackduke

[ 18. May 2003, 19:26: Message edited by: blackduke ]

Top
#40349 - 2003-05-18 07:28 PM Re: windows 2003
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Please take a look at the FAQ Forum, e.g. Use of %0\..\ to launch KiX
_________________________
There are two types of vessels, submarines and targets.

Top
#40350 - 2003-05-18 08:01 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
blackdude,
You failed to provide sufficient information.
When the error manifests, is this user logging on to the DC?
When the error manifests, is the error reported on the DC?
When the error manifests, is the DC rebooting?
What version is KiX?
What OS are the clients?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40351 - 2003-05-18 08:05 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
when i get the error the user is logging onto a windows 2000 client. The error is reported on the DC and a box comes up and says shutting down in 45 seconds or whatever it is.

I have edited the logon.bat file to read

@ECHO OFF
WKiX32.exe kixtart.kix
and it still fails. I have only 2k clients on the network but all servers are 2003 enterprise servers

Top
#40352 - 2003-05-18 08:12 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Since you did't post your script, it is impossible to tell if something in the script is causing it. Try running a test with just a 'Hello World' script. It seems very strange that a script run on the client could cause a DC to reboot.

You still have not told us what version of KiX you are running. I assume if the clients are all W2K that you have not installed the KXRPC service. Is this the case?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40353 - 2003-05-18 08:14 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
i have not installed anything on the clients i am using the sample script see below

; KIXTART.SCR
;
; KiXtart sample default logon script
;
; Note : This code sample is provided for demonstration purposes only.
; Microsoft makes no warranty, either express or implied,
; as to its usability in any given situation.
;
; Copyright (C) 2001 Ruud van Velsen.
; All rights reserved.
;
CLS

Color r+/n
big ; Display in BIG character mode
at (2,8) "Hello,"
at (12,10) @userid
sleep 3 ; Wait for 3 secs (or key)

small
Color b+/n
BOX (0,0,24,79,GRID) ; 'background grid'
Color b/n
BOX (8,21,18,61,Å) ; 'shadow' of the box
Color g+/n
BOX (7,20,17,60,FULL)

Color w+/n
AT ( 9,25) "Userid : " ; display some text strings
AT (10,25) "Full name : "
AT (11,25) "Privilege : "
AT (12,25) "Workstation : "
AT (13,25) "Domain : "
AT (14,25) "Logon Server : "

Color y+/n
AT ( 9,40) @userid ; ...and some macro's
AT (10,40) @fullname
AT (11,40) @priv
AT (12,40) @wksta
AT (13,40) @domain
AT (14,40) @lserver

Color w/n
AT (16,25) "Press anykey to continue."
if exist( @ldrive+"\jbond.spk")
play file @ldrive+"\jbond.spk"
else
get $x
endif
exit

will try a hello script now

thanks

Top
#40354 - 2003-05-18 08:17 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
I tried the hello script but as i am new to this I got a error reference the coding the server did not restart but it did give some LSA shell errors?

thanks for you help

Blackduke

Top
#40355 - 2003-05-18 08:26 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
For the third time, I will ask what version of KiX? If not 4.21, have you tried a newer version? If 4.21, have you tried a slightly older version? What is the exact error that references LSASS? Is there anything in the event log?

What happens if you run the script manually after logging on?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40356 - 2003-05-18 08:31 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
I am using v4.20 not tried anyother except the 16 bit version nowi am using the 32bit

error in log reads

A critical system process, C:\windows\system32\lsass.exe failed with status code c0000354 the machine will now be restarted

Top
#40357 - 2003-05-18 08:43 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Does it only error if calling KiX32.exe or WKiX32.exe or will it error on just the bat file? Try remming out the line that calls KiX.

Check the permissions on the \NetLogon share. I have not had much flying time on 2003 server but I know that it ships as "most restricted" out of the box.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40358 - 2003-05-18 08:49 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
ok changed the logon.bat file to call kix32.exe same thing happened did't get chance to read the permissions just booting up now and i will check if i can find it. what permissions should be on the just read ?

Blackduke

Top
#40359 - 2003-05-18 08:54 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I imagine you would need Read and Execute perms. How about if you rem out the line that calls KiX? Does it still error? Try it with the following in the logon.bat:
code:
ECHO HELLO WORLD
PAUSE
EXIT

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40360 - 2003-05-18 09:00 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
ok done that and it worked. it showed the hello world so permissions are ok
Top
#40361 - 2003-05-18 09:14 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
how do i code mapping drives against groups I could make a script saying if in admin group use \\servername\share and see if that works
Top
#40362 - 2003-05-18 09:17 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Download 4.21 from http://www.gwspikval.com/jooel/scripts/files/KiX2001_421.zip and put it in your Netlogon.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40363 - 2003-05-18 09:18 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
okay

thanks

Top
#40364 - 2003-05-18 09:20 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
okay that is done what should i put in the logon.bat file.

I deleted the contents of the netlogon share and put the downloaded files in it.

Top
#40365 - 2003-05-18 09:23 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
With the logon.bat version of "Hello World" I just wanted to test if everything was fine to that point. If you don't have any Win9x/ME clients, you don't even need the logon.bat file. You could call KiX32.exe or WKix32.exe directly from the user's profile settings.

i.e
WKiX32.exe kixtart.kix

If you have Wintendos, then you need a logon.bat and test for same in the bat file. See my example in the FAQ you were directed to.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40366 - 2003-05-18 09:29 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Start with a very simple kixtart.kix
code:
break on
$_ = MessageBox("Hello World"+@crlf+"Hit Enter key to continue ?", "KiXtart",)


If this goes well, we're laughing.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40367 - 2003-05-18 09:39 PM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
excellant that worked like a treat what next,

thanks god for that!!!

Blackduke

Top
Page 1 of 3 123>


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

Who's Online
0 registered and 468 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.076 seconds in which 0.027 seconds were spent on a total of 13 queries. Zlib compression enabled.

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