Page 1 of 1 1
Topic Options
#21385 - 2002-05-08 10:12 PM logon on w2k
Freecom Offline
Lurker

Registered: 2002-05-08
Posts: 3
Hi
Am new to kixtart and can't get my w2k domain to run a script. I've got a test user set up with a logon script (.bat) that I want to run a script. All files (kix32.exe, test.bat and test.kix) are located in the C:\winnt\sysvol\..\scripts directory. Simple net use type statements in the test.bat file will execute flawlessly. I've tried the following formats:
kix32.exe test.kix
%0\..\kix32.exe %0\..\test.kix
\\server1\netlogon\kix32.exe \\server1\netlogon\test.kix
exit
and variations on the above schemes. The logon batch file runs but the client machine beeps and no commands are executed from test.kix.
Anybody have any ideas what I'm doing wrong?
John Carpenter

Top
#21386 - 2002-05-08 10:22 PM Re: logon on w2k
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Post your KiXtart script. It sounds like you have a syntax error in the code.

%0\..\kix32.exe %0\..\logon.kix

Is what you want.

[ 08 May 2002, 22:22: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21387 - 2002-05-08 10:27 PM Re: logon on w2k
Freecom Offline
Lurker

Registered: 2002-05-08
Posts: 3
At the moment test.bat is called from the user profile:

Test.bat
%0\..\kix32.exe %0\..\test.kix
exit

test.kix
net use x: \\calvin\hd1

That's it, a simple map that won't seem to run.

Top
#21388 - 2002-05-08 10:37 PM Re: logon on w2k
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
"net use" is not a valid Kixtart command. The command you want is simply "use"

code:
use x: "\\calvin\hd1"



[ 08 May 2002, 22:38: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#21389 - 2002-05-08 11:23 PM Re: logon on w2k
Freecom Offline
Lurker

Registered: 2002-05-08
Posts: 3
That's it - Thanks.
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
1 registered (Allen) and 363 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.128 seconds in which 0.064 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