pdezeeuw
(Fresh Scripter)
2003-09-23 04:27 PM
starter question

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 ]


Sealeopard
(KiX Master)
2003-09-23 04:30 PM
Re: starter question

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.


Les
(KiX Master)
2003-09-23 04:33 PM
Re: starter question

quote:
UNC is not supported. The default setting is the Windows folder, this will be used.

That error is expected behaviour and self explanitory.


pdezeeuw
(Fresh Scripter)
2003-09-23 04:44 PM
Re: starter question

OK,

Do you have suggestions for the bat file ?

Please help me out here


NTDOCAdministrator
(KiX Master)
2003-09-23 08:04 PM
Re: starter question

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.


pdezeeuw
(Fresh Scripter)
2003-09-23 08:27 PM
Re: starter question

So if I put the following line into the account it should also work?
c:\kixtart\kix32.exe \\Sbsdkt\NETLOGON\welcome.kix


Sealeopard
(KiX Master)
2003-09-23 08:37 PM
Re: starter question

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'.


pdezeeuw
(Fresh Scripter)
2003-09-24 08:28 AM
Re: starter question

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 ]


MightyR1
(MM club member)
2003-09-24 02:50 PM
Re: starter question

IIRC

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


pdezeeuw
(Fresh Scripter)
2003-09-24 03:21 PM
Re: starter question

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.


MightyR1
(MM club member)
2003-09-24 03:29 PM
Re: starter question

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)


pdezeeuw
(Fresh Scripter)
2003-09-24 04:19 PM
Re: starter question

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 ?


MightyR1
(MM club member)
2003-09-24 04:27 PM
Re: starter question

Nice... "een KiXende zeeuw erbij!!!"

Try simply KIX32, no .exe, no parameters


Jeff Dickerson
(Lurker)
2003-09-24 08:31 PM
Re: starter question

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.

pdezeeuw
(Fresh Scripter)
2003-09-24 09:16 PM
Re: starter question

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 ]


Sealeopard
(KiX Master)
2003-09-24 09:18 PM
Re: starter question

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'.

Richie19Rich77
(Seasoned Scripter)
2003-09-24 09:20 PM
Re: starter question

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 ]


pdezeeuw
(Fresh Scripter)
2003-09-25 04:23 PM
Re: starter question

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 ]


LonkeroAdministrator
(KiX Master Guru)
2003-09-25 04:44 PM
Re: starter question

what is in your kixtart.kix?
is it empty?
and are you sure it's kixtart.kix and not kixtart.kix.txt?


pdezeeuw
(Fresh Scripter)
2003-09-25 04:53 PM
Re: starter question

yep it's kixtart.kix for sure !

script


MCA
(KiX Supporter)
2003-09-29 12:28 AM
Re: starter question

Dear,

We suggest that you explicit define also your script kixtart.kix in your
user profile. It works also faster.

Something like:

kix32.exe \\SBS-DKT\NETLOGON\welcome.kix
netlogon\kixtart.kix


greetings.

btw: we see \\DKT\NETLOGON instead of \\SBS-DKT\NETLOGON in your
picture. It isn't the same.

[ 29. September 2003, 00:32: Message edited by: MCA ]