Page 1 of 1 1
Topic Options
#160482 - 2006-04-06 10:06 PM First Timers Assistance needed
DrUltima Offline
Fresh Scripter

Registered: 2002-08-16
Posts: 21
Loc: Nashville, TN, USA
Hello... First time poster, so please be patient. I am trying to set up a login script on a Windows 2003 AD. I have used the Kix scripts in the past in other companies and very much like them. It is currently set up as follows:

1) Currently, I just have one person running a login script (me).
2) I am calling it by adding this to my User Profile/Login Script in AD:

Code:
%0\..\login.bat



3) The contents of login.bat is:

Code:
%0\..\kix32 %0\..\login.kix



4) The contents of login.kix is:

Code:
? "Hello."
sleep 5
exit



5) The script runs, but runs minimized and Windows XP Pro continues to login to the desktop.

Here are my best practice questions:

1) How can I get it to NOT be minimized?
2) How can I prevent the rest of Windows from loading until the KiXtart script is finished?
3) How can I accomplish one of those boxes that makes you sell your soul to the company or be logged out?

Thanks for the assistance!

Top
#160483 - 2006-04-06 10:11 PM Re: First Timers Assistance needed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Please review the FAQ forum where I think all of this is addressed in one or more of the Frequently Asked Questions.

If you find that you're not able to locate this information let us know and we can provide further information.

 
KiXtart FAQ & How to's
http://www.kixtart.org/ubbthreads/postlist.php?Cat=0&Board=UBB10

There is even a Contents Page which might list items easier but does not have all of the definitions that the actual pages have so if not on the Contents then keep looking.

There is also a Search feature where you can specifiy the time period and which forums to search as well.
 

Top
#160484 - 2006-04-06 11:15 PM Re: First Timers Assistance needed
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Quote:


Here are my best practice questions:

1) How can I get it to NOT be minimized?
2) How can I prevent the rest of Windows from loading until the KiXtart script is finished?
3) How can I accomplish one of those boxes that makes you sell your soul to the company or be logged out?

Thanks for the assistance!




1) http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=81574&an=0&page=0#81574

2) http://www.kixtart.org/ubbthreads/showflat.php?Cat=0&Number=81574&an=0&page=0#81574

3) http://www.kixtart.org/ubbthreads/showfl...part=1&vc=1

Search is your friend
Beginners should read the FAQ, 2 of your 3 answers are right from it (same post even)
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160485 - 2006-04-07 01:24 AM Re: First Timers Assistance needed
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
To start out with, since you're running a 2003 AD you can simplify the login by simply calling the kixtart executable directly instead of using a batch file to call it.

Code:
 
WKIX32.EXE script.KIX



By the way, if your main script is named "kixtart.kix" then you just have to place the executable name in your login script field. The executable will automatically search for the script "kixtart.kix" in the same directory it was launched from.
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#160486 - 2006-04-07 01:56 AM Re: First Timers Assistance needed
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
%0\..\kix32 %0\..\login.kix is not recommended.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#160487 - 2006-04-07 02:02 AM Re: First Timers Assistance needed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Quote:

By the way, if your main script is named "kixtart.kix" then you just have to place the executable name in your login script field. The executable will automatically search for the script "kixtart.kix" in the same directory it was launched from.






Yes it will operate that way, but I highly recommend you don't do that - and don't get into the habbit of sloppy coding like that as it will come back to haunt you sooner or later. Specify exactly what you want it to run.

 

Top
#160488 - 2006-04-07 05:30 PM Re: First Timers Assistance needed
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
If it's sloppy coding than that fact should be stated in the Manual. I'm regurgitating technical info.

Quote:


By default, KiXtart automatically looks for a personal script for the current user ("Username.KIX"). If it does not find one, it looks for the default script, "KIXTART.KIX". You can override this behavior by specifying one or more scripts after Kix32.exe on the commandline.



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

Top
#160489 - 2006-04-07 05:39 PM Re: First Timers Assistance needed
DrUltima Offline
Fresh Scripter

Registered: 2002-08-16
Posts: 21
Loc: Nashville, TN, USA
Thanks to all for the assistance. I convinced the CIO that GPO would be an easier way to accomplish all three. I do have another question about OS verifications. Should I start a new thread to ask that?

Edited by DrUltima (2006-04-07 05:39 PM)

Top
#160490 - 2006-04-07 05:49 PM Re: First Timers Assistance needed
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Yes, start a new thread.
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#160491 - 2006-04-07 06:01 PM Re: First Timers Assistance needed
DrUltima Offline
Fresh Scripter

Registered: 2002-08-16
Posts: 21
Loc: Nashville, TN, USA
Will do... Thanks.
Top
#160492 - 2006-04-07 11:34 PM Re: First Timers Assistance needed
Rachel Offline
Fresh Scripter

Registered: 2002-01-11
Posts: 24
Loc: Michigan
I am new to using kixtart in a 2003 Domain also. It doesn't appear there is a Netlogon directory on the 2003 server. Where are the scripts placed on a W2K3 server?
Top
#160493 - 2006-04-08 12:04 AM Re: First Timers Assistance needed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Go to a CMD / DOS prompt and type


NET VIEW your AD server name

I'm sure you will see a NETLOGON share being shared.

Look in the SYSVOL folder and travel down - you should find it.


This has nothing to do with being new to KiXtart though, this has to do with being new / untrained in Windows Network Administration.

Top
#160494 - 2006-04-08 12:13 AM Re: First Timers Assistance needed
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
ZING!
Tough crowd.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#160495 - 2006-04-08 12:24 AM Re: First Timers Assistance needed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
Well no disrespect or sarcasm meant. Just pointing out that Rachel could use some more education with Windows Networking in general.

Hey, no one here was born with the knowledge of Windows Networking or Scripting, we all had to take time to learn it.

I can tell you right now that I certainly don't know everything there is to know about Windows Networking and I continue to learn new stuff almost daily as anyone should that works in this field day in and day out.
 
I apologize if you took it wrong there Rachel, not my intent.

Top
#160496 - 2006-04-08 01:10 AM Re: First Timers Assistance needed
Rachel Offline
Fresh Scripter

Registered: 2002-01-11
Posts: 24
Loc: Michigan
Thank you for the information.

I guess I should say I am new to Windows 2003 Administration. Have been working with NT for the past 6 years. 2003 is not quite the same as NT, as you know.

Top
#160497 - 2006-04-08 11:09 AM Re: First Timers Assistance needed
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
think you are right. it's messier now.
when you add the fact that the clean exchange 5.5 got sucked into this entity called AD, uh.

not bitter or anything but...
_________________________
!

download KiXnet

Top
#160498 - 2006-04-08 12:17 PM Re: First Timers Assistance needed
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
Actually, has anyone noticed that there has been a run on First-timers this week?

I wonder if there was a kixtart fire sale going on?
_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#160499 - 2006-04-09 10:46 AM Re: First Timers Assistance needed
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11628
Loc: CA
I noticed last week - we also had a few old timers with few posts that also posted first time in a long time.

I mentioned something to Shawn on MSN about it.

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 1003 anonymous users online.
Newest Members
StuTheCoder, M_Moore, BeeEm, min_seow, Audio
17884 Registered Users

Generated in 0.071 seconds in which 0.027 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