Page 1 of 1 1
Topic Options
#46145 - 2003-09-29 10:27 PM script runs on Server1, but it displays login server as Server2?
perogy Offline
Fresh Scripter

Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
We have the following script running on our W2K domain, but when it runs, the title bar of the window states "SERVER1\netlogon\scripts\kix32.exe" but inside the window where it displays greetings, current time, etc, it shows "Login server: SERVER2". Why does this happen? And, is it even an issue we should worry about? We have times when the script runs but drives don't get mapped and I didn't know if the two events could be related....Thanks

?"Welcome to FIRMNAME, @fullname" ;Displays welcome message.
?"It is @time on @day, @month @mdayno, @year" ;Displays current workstation
;date.
?" "
?"Computer name: @wksta" ;Displays workstation name.
?"Ethernet address: @address" ;Displays workstation ethernet
;MAC address.
?"IP address: @ipaddress0" ;Displays workstation IP address.
?"Hostname: @hostname" ;Displays workstation's fully
;qualified domain name.
?"Logon Server: @lserver" ;Displays logon domain controller.
?"Kixtart version: @kix" ;Displays KiXtart version.
:Main
SELECT
CASE ((@INWIN = 1) AND (@DOS = 5.1)) ; W...........

Top
#46146 - 2003-09-29 10:57 PM Re: script runs on Server1, but it displays login server as Server2?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
this most likely is that you have batch-file starting kix?
if yes, the source for this is that kix is called directly pointing to the executable.

thus, in your batch file it says:
\\server1\netlogon\kix32.exe

and as the batch is started from the logonserver...

well, that is assumption.
_________________________
!

download KiXnet

Top
#46147 - 2003-09-29 10:59 PM Re: script runs on Server1, but it displays login server as Server2?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
btw, were you watching F1 yesterday?
_________________________
!

download KiXnet

Top
#46148 - 2003-09-29 11:25 PM Re: script runs on Server1, but it displays login server as Server2?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Schumi won! [Big Grin] [Big Grin] [Big Grin]

[ 29. September 2003, 23:25: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.

Top
#46149 - 2003-09-29 11:35 PM Re: script runs on Server1, but it displays login server as Server2?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
that basta.
seems that I need to wait one more year before next finnish formula 1 champ.
_________________________
!

download KiXnet

Top
#46150 - 2003-09-30 08:10 AM Re: script runs on Server1, but it displays login server as Server2?
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
Or you have to wait for another Fin...... [Wink]
_________________________
Co


Top
#46151 - 2003-09-30 03:34 PM Re: script runs on Server1, but it displays login server as Server2?
perogy Offline
Fresh Scripter

Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
Nope we have the script specified in the users' profile as simply 'kix32.exe', so it runs that file in the Netlogon folder of any number of DC's (server1 is not always the same machine, it is just that the logon server and the server that looks to be running the script are different). BTW, I live in Indianapolis but we are always out of town when the races are going on (was that F1 you're all talking about the one in Indy? shows you how much I pay attention to racing)
Top
#46152 - 2003-09-30 03:48 PM Re: script runs on Server1, but it displays login server as Server2?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
@LSERVER and the server from which KIX32 is run from should match in those cases. You might also want to display @SCRIPTDIR and @STARTDIR in addition to @LSERVER in order to track down the problem.
_________________________
There are two types of vessels, submarines and targets.

Top
#46153 - 2003-09-30 10:00 PM Re: script runs on Server1, but it displays login server as Server2?
perogy Offline
Fresh Scripter

Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
I inserted the @scriptdir and @startdir lines in the script, and it shows:
Logon server: \\Server1
Directory: \\Server2\Netlogon
Start Directory: \\Server2\Netlogon

and on the window's title bar it shows
\\Server2\netlogon\kix32.exe

Any thoughts?

Top
#46154 - 2003-09-30 10:07 PM Re: script runs on Server1, but it displays login server as Server2?
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Adn you are sure there's nothing hardcoded in the login script assignments for the users or the calling batch file, if used?
_________________________
There are two types of vessels, submarines and targets.

Top
#46155 - 2003-10-01 05:48 AM Re: script runs on Server1, but it displays login server as Server2?
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
Sorry Perogy, It has nothing to do with kix but yes the F1 was in Indianapolis. F1 is for many many years one of my favorite sports to watch. I Also watch the Indy500 because of Arie Luyendijk.

Uhh, What is your problem..... [Big Grin]
_________________________
Co


Top
#46156 - 2003-10-01 07:48 AM Re: script runs on Server1, but it displays login server as Server2?
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
What kind of Domain do yo have?

Native mode/mixed mode?
kerberos/ntlm?

It is a very strange problem.. I agree with sealeopard that there probably is something hardcoded because "normally" kix32 is used from the netlogon of the logonserver...

About Kerberos..There was an issue about mixed mode domains and w2k/xp pc's who only want to be validate by Kerberos = W2k DC's.
_________________________
Co


Top
#46157 - 2003-10-01 06:02 PM Re: script runs on Server1, but it displays login server as Server2?
perogy Offline
Fresh Scripter

Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
Well, we have a mixed mode domain, for no good reason, I mean, we have only W2K DC's but we have not gone to Native yet. As far as I know, we don't have anything hard coded that says to run the script from somewhere particularly...I sorta wish we did, because at least that way we could specify which server is to run the script all the time.
Top
#46158 - 2003-10-01 06:05 PM Re: script runs on Server1, but it displays login server as Server2?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yap.
it must be hardcoded somewhere.
I would go trhough every definition of the logonscript stuff.

did I understand correctly that the server2 is always the same?
if yes, check out your settings.
the logonscripts folder is defined somewhere to be on server2.
_________________________
!

download KiXnet

Top
#46159 - 2003-10-03 12:20 AM Re: script runs on Server1, but it displays login server as Server2?
perogy Offline
Fresh Scripter

Registered: 2002-11-20
Posts: 9
Loc: Indianapolis
Well, we upgraded (if you can call it that, we replaced the 3.82 version of kix32.exe file with the new version), and now sometimes when the script runs it will show the same logon server as the server displayed up on the title bar, but...the home directory shows not the logon server but C: or sometimes C:\documents and settings\administrator. Does that make sense or look more promising? Still don't know what to make of it, but it does run more for most of the users, still strange. Thanks
Top
#46160 - 2003-10-03 12:46 AM Re: script runs on Server1, but it displays login server as Server2?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
First off there is no such version as 3.82.

The first step in troubleshooting AD is to check the DNS. Actually it is DDNS. The clients look to the DDNS to be site aware.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#46161 - 2003-10-03 08:23 AM Re: script runs on Server1, but it displays login server as Server2?
Co Offline
MM club member
***

Registered: 2000-11-20
Posts: 1341
Loc: NL
I searched Technet, newsgroups and other bb's but i can't find anything what looks like your problem
_________________________
Co


Top
#46162 - 2003-10-04 12:45 AM Re: script runs on Server1, but it displays login server as Server2?
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
homedir and homeshare are from the users properties.
I just screwed mine at work to see if that affects my logon. it didn't, thanks to the awesome logonscript writer [Wink]
_________________________
!

download KiXnet

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
1 registered (Allen) and 466 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.127 seconds in which 0.082 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