Page 1 of 1 1
Topic Options
#145107 - 2005-08-09 06:28 PM Problems running script with Windows 2000 Pro
born2net Offline
Fresh Scripter

Registered: 2005-07-07
Posts: 8
Hi everyone,

Has anyone have problems running KiXtart on a Windows 2000 Pro machine?

I'm having problems where I don't see the script come up. Does the "%0\..\" work for Windows 2000 Pro? Also, my users that are running the script are just normal users of the system. THANKS!!!

THANKS!

Born2Net

Top
#145108 - 2005-08-09 06:56 PM Re: Problems running script with Windows 2000 Pro
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
%0\..\ is superflous but should not hinder the execution. If you want your script to be visible {yuck} then you need to apply the RunLogonScriptSync GPO as explained in the FAQ.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#145109 - 2005-08-09 07:12 PM Re: Problems running script with Windows 2000 Pro
born2net Offline
Fresh Scripter

Registered: 2005-07-07
Posts: 8
Ok. Thanks Les. I will look at the FAQ.
Top
#145110 - 2005-08-09 07:39 PM Re: Problems running script with Windows 2000 Pro
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Two different methods of running a kix script from a batch file are:

Code:
 %0\..\kix32.exe %0\..\kixtart.kix
or
CALL %LOGONSERVER%\NETLOGON\kix32.exe %LOGONSERVER%\NETLOGON\kixtart.kix /f



Or you can set the following text in your User Account>Profile TAB>Logon Script "Field", which foregoes the need of a BATch file Code:
 WKIX32.EXE KIXTART.KIX 

_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#145111 - 2005-08-09 08:08 PM Re: Problems running script with Windows 2000 Pro
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
why call?
don't call.
_________________________
!

download KiXnet

Top
#145112 - 2005-08-09 08:59 PM Re: Problems running script with Windows 2000 Pro
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
The "Call" was based on suggestions from Kent Dyer.

Actually, I've been getting all sorts of recommendations on how to run KiX from a batch file and it seems that everyone's recommendations are met with comments that the methods are poor or incorrect.

Is there a once-and-for-all way I should be running KiXtart from a BATch file that meets all KiXtart requirements?
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#145113 - 2005-08-09 09:15 PM Re: Problems running script with Windows 2000 Pro
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
the call line, if given by kent should be fixed by kent.
it's wrong.

call is for calling batch files in batch files.
in kixtart script it's for calling kixtart scripts.

in batch files you can use:
%0\..\kix32.exe %0\..\kixtart.kix
or
%LOGONSERVER%\NETLOGON\kix32.exe %LOGONSERVER%\NETLOGON\kixtart.kix
or
kix32.exe kixtart.kix
or
kix32.exe
or
kix32
or
...
______________________________________________________

the choices are endless.
_________________________
!

download KiXnet

Top
#145114 - 2005-08-09 09:17 PM Re: Problems running script with Windows 2000 Pro
Kdyer Offline
KiX Supporter
*****

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

The "Call" was based on suggestions from Kent Dyer.





While I may have recommended it, it really came from M$:

http://support.microsoft.com/default.aspx?scid=kb;en-us;318689

HTH,

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

Top
#145115 - 2005-08-09 09:18 PM Re: Problems running script with Windows 2000 Pro
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
\\domain.tld\netlogon\kix32.exe \\domain.tld\netlogon\script.kix
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#145116 - 2005-08-09 09:21 PM Re: Problems running script with Windows 2000 Pro
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well Kent...
If you read that KB article, you will see that it is not well written.
Quote:


%0\..\kix.exe %0\..\kix32.exe myscript.scr




I did point it out to Ruud and he confirmed to me that it needs revising but it hasn't happened.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#145117 - 2005-08-09 09:29 PM Re: Problems running script with Windows 2000 Pro
Kdyer Offline
KiX Supporter
*****

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

Like you, we have changed our users to use the direct approach to kix as well instead of the NTLOGON.BAT method.

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

Top
#145118 - 2005-08-09 09:38 PM Re: Problems running script with Windows 2000 Pro
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, that does not solve the problem.
_________________________
!

download KiXnet

Top
#145119 - 2005-08-09 11:21 PM Re: Problems running script with Windows 2000 Pro
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
I Love You People.......
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

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 1198 anonymous users online.
Newest Members
M_Moore, BeeEm, min_seow, Audio, Hoschi
17883 Registered Users

Generated in 0.063 seconds in which 0.026 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