Page 1 of 2 12>
Topic Options
#45877 - 2003-09-23 04:27 PM starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
First of all
I'm new into MS scripting, we always used Novell scripts but now i'm testing a new SBS W2K server and want to use kixstart (4.21)

What have I done so far ?
I've placed all kixstart files into the netlogon directory and copied kix32.exe to every workstation(XP), then i've made a .bat file:
@ECHO OFF
c:\kixtart\kix32.exe \\Sbs-dkt\NETLOGON\welcome.kix
I've made a OU and in the policy i refer the logon script to the following location:
\\xxx.lokaal\SysVol\xxx.lokaal\scripts\KIX.BAT

welcome.kix is just a simple script to test if it's running but i get the following error before
the script runs: (i'll translate it from dutch).

CMD.EXE is started with the path mentioned above as the active foldder. UNC is not supported. The default setting is the Windows folder, this will be used.

I get this error with every script I use.
Why ????

Could somebody please help me on the right track ?

[ 23. September 2003, 16:36: Message edited by: pdezeeuw ]

Top
#45878 - 2003-09-23 04:30 PM Re: starter question
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Please read ABC's of KiXtart board etiquette and message to new forum users . Please let us know the KiXtart version in use and the supported client OSes.

You normally see this error message only under Windows 9x and there's nothing you can do about, except getting rid of Windows 9x.

Please take a look at the FAQ Fourm for topics explaining how to implement KiXtart.
_________________________
There are two types of vessels, submarines and targets.

Top
#45879 - 2003-09-23 04:33 PM Re: starter question
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
quote:
UNC is not supported. The default setting is the Windows folder, this will be used.

That error is expected behaviour and self explanitory.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45880 - 2003-09-23 04:44 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
OK,

Do you have suggestions for the bat file ?

Please help me out here

Top
#45881 - 2003-09-23 08:04 PM Re: starter question
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Don't use a batch file.

You state that the workstations are XP. NT/2000/XP do not require the use of a batch file.

Place the logon script into their account settings.

Unless you really want/must run it via GPO, in which case you might have to use a batch file. In that case though it goes into the NETLOGON not the path you see above for scripts.

That may not be the fully correct information, but since we have a mix of client OS I was not able to get the logon script to work for ALL OS by leaving in the scripts folder. You may be able to if all your clients are XP though.

Top
#45882 - 2003-09-23 08:27 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
So if I put the following line into the account it should also work?
c:\kixtart\kix32.exe \\Sbsdkt\NETLOGON\welcome.kix

Top
#45883 - 2003-09-23 08:37 PM Re: starter question
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Yes, that should work. However, your users can easily disable the login script by deleting the KiXtart folder.

General copnsensus is to run the executable off the NETLOGON folder together with the script.

If the executables need to reside on the client side, then they should rather be inside %WINDIR% to prevent users from manipulating the executable. In that case, user will not be able to update the executbale if necessary and an alternate distribution of the executables needs to be devised whenever a new KiXtart version is being released.

There are other ways, e.g. calculating/checking CRC checksums that have already be posted in various threads. Search for 'overkill' or 'crc'.
_________________________
There are two types of vessels, submarines and targets.

Top
#45884 - 2003-09-24 08:28 AM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
Well, i've tried to use the following line in the account profile/login script.

c:\kixtart\kix32.exe \\Sbsdkt\NETLOGON\welcome.kix

When the user logs on...nothing happens.

Now i'm lost...
SO it's possible to run the script directly from the server ? Without placing kix32.exe on the client pc's?
How can i do that ???

[ 24. September 2003, 09:27: Message edited by: pdezeeuw ]

Top
#45885 - 2003-09-24 02:50 PM Re: starter question
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
IIRC

you must place 'kix32' as a logonscript for nt and up. Kix32.exe searches for kixtart.kix in the startup folder (netlogon...)
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#45886 - 2003-09-24 03:21 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
Patrick,

Mag ik a.u.b. reageren in het Nederlands ?

Kun je a.u.b. aangeven hoe ik nu precies het kixscript direct kan aansturen en dan het liefst zonder logon.bat?
Ik heb dus kix32.exe en kixtart.kix geplaatst in de netlogon.
Wat moet er nu waar ingevuld worden om bij het aanmelden van XP clients het script correct aan te roepen.

Top
#45887 - 2003-09-24 03:29 PM Re: starter question
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
P,

ja je mag me in het nederlands benaderen, maar...

to let others learn/comment, I'd like to continue in english.

So in short place kix32 and kixtart.kix in your netlogon and in usrmgr simply add "kix32" (without the ") as a logon script name (button profile)
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#45888 - 2003-09-24 04:19 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
kix32.exe and kixtart.kix are in Netlogon so that should be fine...
Now what do I have to fill in in the client
Do we mean the same thing by the way ?
I use the logonscript box of a useraccount in the AD of our server...is that correct?
just kix32 or kix32.exe or kix32.exe kixtart.kix
And what do you mean by "button profile"?

 - http://people.zeelandnet.nl/vooruit/sbs.jpg logon script box ?

Top
#45889 - 2003-09-24 04:27 PM Re: starter question
MightyR1 Offline
MM club member
*****

Registered: 1999-09-09
Posts: 1264
Loc: The Netherlands
Nice... "een KiXende zeeuw erbij!!!"

Try simply KIX32, no .exe, no parameters
_________________________
Greetz,
Patrick Rutten

- We'll either find a way or make one...
- Knowledge is power; knowing how to find it is more powerful...
- Problems don't exist; they are challenges...

Top
#45890 - 2003-09-24 08:31 PM Re: starter question
Jeff Dickerson Offline
Lurker

Registered: 2003-09-22
Posts: 1
Loc: Charlotte NC USA
I'm a newb, but for what it's worth('bout 2 cents) I had to add the .exe extension to get it to run on my server.
_________________________
I'm a great believer in luck, and I find the harder I work the more I have of it. Thomas Jefferson (1743 - 1826)

Top
#45891 - 2003-09-24 09:16 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
I'll try it first thing tomorrow morning and let you guys know if it works...
But why do I read in every kixtart manual i've seen that you have to place the kix32.exe file on the local XP client ?
If I startup the kixscript like this I don't need the local kix32.exe. or am I missing something ?

[ 24. September 2003, 21:34: Message edited by: pdezeeuw ]

Top
#45892 - 2003-09-24 09:18 PM Re: starter question
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
This has been discussed numerous times and the answer depends on the particular network topology and requirements. Look up the numerous threads dealing with login scripts, e.g. search for 'overkill' or 'crc'.
_________________________
There are two types of vessels, submarines and targets.

Top
#45893 - 2003-09-24 09:20 PM Re: starter question
Richie19Rich77 Offline
Seasoned Scripter
*****

Registered: 2002-08-16
Posts: 624
Loc: London, England
Just to track back, by default the "Logon Script" field box will look at the netlogon folder ({Short Domain Name}\SYSVOL\{Full Domain Name}\Scripts)

Exe file's will take preference over any other extension if their are more then 1 file with the same name.

So within the "Logon Script" field you just need - "Kix32 Welcome", it is up to you if you want to use extension names, KiXtart will be looking for a .KIX extension.

Lets us know how you are getting on.

Rich

[ 24. September 2003, 21:21: Message edited by: Richard Farthing ]

Top
#45894 - 2003-09-25 04:23 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
OK guys,

There seems to be something running when user X logs in on a XP client.
I've added the following line in the user logon script line: kix32
When user X logs on I see a little black box in the bottom-left corner but it's flashing by and nothing happens, there's also a short beep !
When i open it (that's not easy) i read the following line: "error:failed to find/open script"

 -

What the ... is wrong now ?!?

kixtart.kix is in the netlogon directory
User X has read/execute rights so again i'm on a dead end...

[ 25. September 2003, 16:40: Message edited by: pdezeeuw ]

Top
#45895 - 2003-09-25 04:44 PM Re: starter question
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
what is in your kixtart.kix?
is it empty?
and are you sure it's kixtart.kix and not kixtart.kix.txt?
_________________________
!

download KiXnet

Top
#45896 - 2003-09-25 04:53 PM Re: starter question
pdezeeuw Offline
Fresh Scripter

Registered: 2003-09-22
Posts: 9
Loc: NL
yep it's kixtart.kix for sure !

script

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 259 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

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