#46145 - 2003-09-29 10:27 PM
script runs on Server1, but it displays login server as Server2?
|
perogy
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
|
|
|
|
#46148 - 2003-09-29 11:25 PM
Re: script runs on Server1, but it displays login server as Server2?
|
Sealeopard
KiX Master
Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
|
|
Top
|
|
|
|
#46151 - 2003-09-30 03:34 PM
Re: script runs on Server1, but it displays login server as Server2?
|
perogy
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
|
|
|
|
#46153 - 2003-09-30 10:00 PM
Re: script runs on Server1, but it displays login server as Server2?
|
perogy
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
|
|
|
|
#46157 - 2003-10-01 06:02 PM
Re: script runs on Server1, but it displays login server as Server2?
|
perogy
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
|
|
|
|
#46159 - 2003-10-03 12:20 AM
Re: script runs on Server1, but it displays login server as Server2?
|
perogy
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
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|