Page 1 of 1 1
Topic Options
#203165 - 2011-09-28 05:11 PM Runing a simple Kixtart script through group policy to run at logon
lespaul_flame Offline
Fresh Scripter

Registered: 2011-07-13
Posts: 6
Loc: Phoenix
I am very new to this. I created a logon.bat to run my kix script to map drives for users. I am calling the logon.bat from GPO to start at logon. I have placed kix32.exe, Wkix32.exe my script in the netlogon and sysvol folder. Every time I logon to a computer the kix32.exe does not run and it asks me what program I want to run my .kix file with.

Can you launch kixtart from a domain controller or do you need to install kixtart on all local machines.


------------
Logon.bat

@ECHO OFF

%0\..\Kix32.exe

%0\..\byte.kix

Top
#203166 - 2011-09-28 05:22 PM Re: Runing a simple Kixtart script through group policy to run at logon [Re: lespaul_flame]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
Change the first line to include the "byte.kix" script name and eliminate the second line.
 Code:
%0\..\Kix32.exe byte.kix
should be all you need after the @Echo Off command.

Kix32 is the script processor and must know what script to execute. Most versions (except 4.60, which has a bug) will default to "kixtart.kix" if it exists in the folder where Kix was launched from. It's always safest to specify the script name, however.

You do not need to install Kix locally, nor should you unless you want a maintenance nightmare!

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

Top
#203167 - 2011-09-28 05:33 PM Re: Runing a simple Kixtart script through group policy to run at logon [Re: Glenn Barnas]
lespaul_flame Offline
Fresh Scripter

Registered: 2011-07-13
Posts: 6
Loc: Phoenix
That worked.... Sorry very new and learning as fast as I can Thanks
Top
#203168 - 2011-09-28 06:06 PM Re: Runing a simple Kixtart script through group policy to run at logon [Re: lespaul_flame]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4401
Loc: New Jersey
You've come to the right place to learn!

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

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
0 registered and 1013 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.059 seconds in which 0.03 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