#40369 - 2003-05-18 09:46 PM
Re: windows 2003
|
blackduke
Fresh Scripter
Registered: 2003-05-18
Posts: 31
|
Many thanks
Blackduke
|
Top
|
|
|
|
#40371 - 2003-05-19 01:06 AM
Re: windows 2003
|
blackduke
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
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
|
Top
|
|
|
|
#40373 - 2003-05-19 01:14 AM
Re: windows 2003
|
blackduke
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
|
|
|
|
#40375 - 2003-05-19 01:18 AM
Re: windows 2003
|
Kdyer
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 ]
|
Top
|
|
|
|
#40376 - 2003-05-19 01:24 AM
Re: windows 2003
|
blackduke
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
|
|
|
|
#40378 - 2003-05-19 01:29 AM
Re: windows 2003
|
blackduke
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
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
|
Top
|
|
|
|
#40382 - 2003-05-19 01:33 AM
Re: windows 2003
|
blackduke
Fresh Scripter
Registered: 2003-05-18
Posts: 31
|
blackduke77@hotmail.com
|
Top
|
|
|
|
#40383 - 2003-05-19 01:36 AM
Re: windows 2003
|
blackduke
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
Fresh Scripter
Registered: 2003-05-18
Posts: 31
|
oh and rebooted
|
Top
|
|
|
|
#40385 - 2003-05-19 01:39 AM
Re: windows 2003
|
Kdyer
KiX Supporter
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Looks like you are in the capable hands of Les.
Kent
|
Top
|
|
|
|
#40386 - 2003-05-19 01:53 AM
Re: windows 2003
|
blackduke
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
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.
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 490 anonymous users online.
|
|
|