Page 2 of 3 <123>
Topic Options
#40368 - 2003-05-18 09:43 PM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well, that just proved that there is no problem with the most basic of KiX functions. Now you can start building on your script, one small step at a time, testing as you go.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

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

Registered: 2003-05-18
Posts: 31
Many thanks

Blackduke

Top
#40370 - 2003-05-18 10:38 PM Re: windows 2003
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
And put a DEBUG ON into the first line of your script. This will allow you to step through the script and pinpoint the exact line of code that might cause the problem.
_________________________
There are two types of vessels, submarines and targets.

Top
#40371 - 2003-05-19 01:06 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
how do i do that ?

cheers

Blackduke

Top
#40372 - 2003-05-19 01:11 AM Re: windows 2003
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Did you get a chance to peruse the Manual? Page 14-15 of the 4.21 Manual (part of the archive downloaded).

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40373 - 2003-05-19 01:14 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
I had a quick look at it earlier but need to site down with it later.

I have added this code and it reboots again I wonder if this is a problem with 2003.

IF INGROUP ("domain\Domain admin")
USE K: /DELETE /PERSISTENT USE K: "\\server\sharename"
? ''+@ERROR+' - '+@SERROR
ENDIF

Top
#40374 - 2003-05-19 01:18 AM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Sounds like a server problem. I suspect any of the functions and macros that query the network will trigger it.

Is this a new network in testing or in production?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40375 - 2003-05-19 01:18 AM Re: windows 2003
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Your USE Statements need to be two separate lines.

There are two ways to DEBUG.

#1 in code -

code:
DEBUG ON ; -- Turn on Debugging
IF INGROUP ("domain\Domain admin")
USE K: /DELETE /PERSISTENT
USE K: "\\server\sharename"
? ''+@ERROR+' - '+@SERROR
ENDIF
DEBUG OFF ; -- Turn off Debugging

#2 From the command line -

KIX32 YOURSCRIPT.KIX /d

This should also be covered in the FAQ Section too.

Kent

[ 19. May 2003, 01:20: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40376 - 2003-05-19 01:24 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
ok read it and makes sense thanks it did the first line of code then rebooted the server ie "if in group2 then rebooted. this was suposed to be a production inviroment but i have just built it I could go back to 2k. It is a shame Kix does not seem to work with 2003 do you know wht this?
Top
#40377 - 2003-05-19 01:27 AM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Before I were to write off KiX on 2003, I would want to do some more testing. Do you have another server to setup another test lab?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40378 - 2003-05-19 01:29 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
no not really, I am willing to use this as the test lab though. as user are not live on it yet I have a few days to go are you on IM
Top
#40379 - 2003-05-19 01:31 AM Re: windows 2003
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
BlackDuke,

Can you try this and post the results?
code:
cls
Break on
$Index = 0
DO
$Group = ENUMGROUP($Index)
?$Group
$Index = $Index + 1
UNTIL Len($Group) = 0
get $k

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40380 - 2003-05-19 01:31 AM Re: windows 2003
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yes [Wink]
_________________________
!

download KiXnet

Top
#40381 - 2003-05-19 01:32 AM Re: windows 2003
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
MSN
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#40382 - 2003-05-19 01:33 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
blackduke77@hotmail.com
Top
#40383 - 2003-05-19 01:36 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
results

Everyone
LocalclientComputername\administrators
Localclientcomputername\users
INTERACTIVE
Authenticated Users
LOCAL

took a while to show up though

Top
#40384 - 2003-05-19 01:37 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
oh and rebooted
Top
#40385 - 2003-05-19 01:39 AM Re: windows 2003
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Looks like you are in the capable hands of Les. [Smile]

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#40386 - 2003-05-19 01:53 AM Re: windows 2003
blackduke Offline
Fresh Scripter

Registered: 2003-05-18
Posts: 31
thanks for your help though FYI the code worked but was slow and did reboot the DC when run on the client but when run on the DC it worked fine
Top
#40387 - 2003-05-19 01:58 AM Re: windows 2003
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Sounds like you have problems with your DC installation. Kixtart running from the DC on the client should never be able to cause a DC reboot.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
Page 2 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 478 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

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

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