Page 1 of 1 1
Topic Options
#166536 - 2006-08-29 04:54 PM Kixtart times out at remote site.
Bills Offline
Lurker

Registered: 2006-08-28
Posts: 4
Hello all,
A friend turned me on to Kixtart about a year or two ago. He set it up on my local server so it would map drives for users based on the group they were affiliated with in AD. For the most part it works with out any problems what so ever. My network has grown and now I have a VPN with two sites. I have a second Windows 2003 AD server at the off site location. I know little to no programming and have run into a problem with the script timing out at my remote site. This happens at random times but seems to be more often on computers that are used by multiple users. I found when this happens I can sometime get the script to load by deleting temp folders and stuff. This may have nothing to do with why it works after I do that but being I am not a programmer and know nothing about scripts it was the best I could offer and it seems to work.
So I am here to try to fined a solution to this on going problem. Here is what I have and also the latest thing I have tried to implement to fix the problem.

Users have login.bat file attached to there account profile to launch once they log in. This .bat file reads this..
START /W \\AD1\NETLOGON\KIX32.EXE MAIN.TXT

What I tried to do was make a new .bat file that pointed to the remote server so it would get the files from there rather then come back to the main office to get the kix32.exe and main.txt files.
The new file was named hilliard.bat and the code in it reads..
START /W \\Hilliard-Server\NETLOGON\KIX32.EXE MAIN.TXT

I then changed the wording in the users profile to read hilliard.bat.
Now when the user tries to log in I would think it would read this new file and grab the files it needed from the remote server and hopefully not time out.
Well it didn’t work. In fact it didn’t even load at all.
So maybe I am going about this the wrong way completely.
Can anyone give me some Ideas on what to do or try next?
Thanks in advance.
Bill

Top
#166537 - 2006-08-29 05:25 PM Re: Kixtart times out at remote site.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
you could change your original bat to something like this:
START /W %logonserver%\NETLOGON\KIX32.EXE MAIN.TXT

Top
#166538 - 2006-08-29 05:45 PM Re: Kixtart times out at remote site.
Bills Offline
Lurker

Registered: 2006-08-28
Posts: 4
That seems to get the same results as making a second file.
Nothing loads.

Top
#166539 - 2006-08-29 05:58 PM Re: Kixtart times out at remote site.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
you should add a pause line to the batch file to make sure it is running at all.

Top
#166540 - 2006-08-29 06:19 PM Re: Kixtart times out at remote site.
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Is KIX32.EXE and MAIN.TXT on the remote server?
Top
#166541 - 2006-08-29 06:39 PM Re: Kixtart times out at remote site.
Bills Offline
Lurker

Registered: 2006-08-28
Posts: 4
Ok after rebooting the client computer I was able to get the script to run with changing original bat to

START /W %logonserver%\NETLOGON\KIX32.EXE MAIN.TXT
But it stills grabs from AD1 the main server and not the one on site.

Jooe: I am not sure how to put a pause line in maybe you can give me a example.

Gargoyle: yes all files are on the remote server. The server does not seem to have a problem replicating files.

Top
#166542 - 2006-08-29 07:06 PM Re: Kixtart times out at remote site.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Code:

START /W %logonserver%\NETLOGON\KIX32.EXE MAIN.TXT
pause


Top
#166543 - 2006-08-29 07:42 PM Re: Kixtart times out at remote site.
Gargoyle Offline
MM club member
*****

Registered: 2004-03-09
Posts: 1597
Loc: Valley of the Sun (Arizona, US...
Maybe add

Echo %logonserver%

so you can see that they are looking at the correct server.

Top
#166544 - 2006-08-29 07:59 PM Re: Kixtart times out at remote site.
Bills Offline
Lurker

Registered: 2006-08-28
Posts: 4
Well I must admit I feel a bit foolish for two things now..
1. Pause means...well it means pause! duh
2. I failed to look at the file permissions on the new hilliard.bat file I made before writing this post. Note to self remember to look at file permissions...

Anyways it works the way it should now that users have the proper permissions to the new file. Thank you guys for helping me figure this out. And keeping me humble.

Bill

P.S
Is there a way to have the .bat file search for the fasted AD server so I don’t have to split up my users? Maybe this should be a new post….

Top
#166545 - 2006-08-29 08:03 PM Re: Kixtart times out at remote site.
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
now some ad guru could get online and explain something, but theoretically, machines should always automatically log you on to the logonserver that responds fastest.
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
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.064 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