Page 1 of 2 12>
Topic Options
#116094 - 2004-03-12 08:51 PM NT Workstations will not run login script
LESCNE Offline
Fresh Scripter

Registered: 2004-03-12
Posts: 8
Loc: Iowa
I have, what I hope is a very simple problem. First the background. We have recently migrated to an Active Directory Domain (WIN2K), from NT. We also have a large installed Novell base. We are currently only running Novell login scripts. We have a mix of NT/W2K/XP workstations. I have begun testing KIXTART in the Active Directory Domain, because Novell as well as the remaining NT domain will be going away in the next couple of months.

I have created a very simple script that only maps one drive based on group membership. I have added this via the Group Policy at the root of the domain. The script runs and maps the drive on all of the Win2K and XP workstations. The login script does not run on any of the NT workstations tested. There are no error messages in the Event Viewer. But if I run the script manually after I login, it will run and it does map the drive.

Any ideas?

Thanks,
LES

Top
#116095 - 2004-03-12 08:55 PM Re: NT Workstations will not run login script
maciep Offline
Korg Regular
*****

Registered: 2002-06-14
Posts: 947
Loc: Pittsburgh
I'm not positive, but i don't think GPOs apply to NT machines.
_________________________
Eric

Top
#116096 - 2004-03-12 09:01 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I AM positive! GPOs will NOT run on NT4.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116097 - 2004-03-12 09:06 PM Re: NT Workstations will not run login script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Additionally, it's better to implement the loginscript via the user acount and not via GPOs, IMHO.
_________________________
There are two types of vessels, submarines and targets.

Top
#116098 - 2004-03-12 09:06 PM Re: NT Workstations will not run login script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
FYI

one thing that i have done for the last few sites that i have put in a kixlogon script, is just to call kix32.exe and name the logon script kixtart.kix (non GPO Loginscript).

This has worked 100% for all MS platforms and no bat file was needed.




Top
#116099 - 2004-03-12 09:08 PM Re: NT Workstations will not run login script
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
This will not work for Windows 9x as Windows 9x does require a batch file in order to run the login script.
_________________________
There are two types of vessels, submarines and targets.

Top
#116100 - 2004-03-12 09:12 PM Re: NT Workstations will not run login script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
you sure about that... i know i have win9x systems just launching kix32.exe and they are running the logon script....
Top
#116101 - 2004-03-12 09:13 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well... GPO logon script is the only way for my users. I simply don't support Wintendos and NT4!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116102 - 2004-03-12 09:21 PM Re: NT Workstations will not run login script
LESCNE Offline
Fresh Scripter

Registered: 2004-03-12
Posts: 8
Loc: Iowa
Ok, I understand that GPO's do not apply to NT workstations. But I can't imagine doing the login script via user account, perhaps it is my Novell background talking, but it has to be easier than that. We have over 6000 users that would have to be edited. And there is no hope of eliminating all of the NT machines quickly. There are over 750 of them left. At least I don't have to deal with Win 95.

I am curious about Bryce's comment. "is just to call kix32.exe and name the logon script kixtart.kix (non GPO Loginscript)."

I have placed kix32.exe in the logon script in the GPO. That doesn't work on NT. Where you talking about the user profile?

Bare with we, I am just looking for a workable long term solution.
Thanks for all the replies!
LES



Edited by LESCNE (2004-03-12 09:43 PM)

Top
#116103 - 2004-03-12 09:24 PM Re: NT Workstations will not run login script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Quote:

you sure about that... i know i have win9x systems just launching kix32.exe and they are running the logon script....




ok i am SURE! that this works on win9x, i just tested it on a win98 computer.

Created new user in 2003 AD, under user profile, run "logon.exe" (renamed kix32.exe) and the logon script name is kixtart.kix located in the NETLOGON share. It maped the drives, and installed some of the print tracking software that we use (geez... no one has touched this win98 computer in months!)

Bryce

Top
#116104 - 2004-03-12 09:29 PM Re: NT Workstations will not run login script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Quote:

Ok, I understand that GPO's do not apply to NT workstations. But I can't imagine doing the login script via user account, perhaps it is my Novell background talking, but it has to be easier than that. We have over 6000 users that would have to be edited. And there is no hope of eliminating all of the NT machines quickly. There are over 750 of them left. At least I don't have to deal with Win 95.

I am curious about Bryce's comment. "is just to call kix32.exe and name the logon script kixtart.kix (non GPO Loginscript)."

I have placed kix32.exe in the logon script in the GPO. That doesn't work on NT. Where you talking about the user profile?

Bare with we, I am just looking for a workable long term solution.
Thanks for all the replies!
Lorrine





Yes userprofile is what i was talking about. There are ways around having to edit 6000 user accounts by hand. You could run a quick kix script that would do it for you.

an example.... to set the logonscript on ALL users in the @domain

Code:

$domain = GetObject("WinNT://"+@DOMAIN)

$domain.filter = Split("user")

For Each $object In $domain


;$object.LoginScript = "kix32.exe"
;$object.setinfo

? $object.name ";" $object.LoginScript

Next



Bryce


Edited by Bryce (2004-03-12 09:31 PM)

Top
#116105 - 2004-03-12 09:48 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Quote:

We have over 6000 users that would have to be edited



6 or 6000 make little difference. A quick ADSI script can edit all of them in seconds.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116106 - 2004-03-12 09:50 PM Re: NT Workstations will not run login script
LESCNE Offline
Fresh Scripter

Registered: 2004-03-12
Posts: 8
Loc: Iowa
Thank you for the Code Bryce,

If I decide I just go that route, it will come in very handy.

However, I have just tested the script by placing it at the user profile level and it did not work on the NT workstation either. I will continue to test on that.

Thanks

Top
#116107 - 2004-03-12 09:54 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
That is an admin script that you would run against ALL of the users in your domain providing you have Domain Admin rights. BE CAREFULL accepting gifts from Greeks!
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116108 - 2004-03-12 09:57 PM Re: NT Workstations will not run login script
LESCNE Offline
Fresh Scripter

Registered: 2004-03-12
Posts: 8
Loc: Iowa
I understand that it is a admin script and I do have full rights.

and I thank you for your advice. I will be careful.

Thanks,
LES

Top
#116109 - 2004-03-12 10:01 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If you check each users' profile, you should see that they have KiX32.exe assigned to them as a legacy logon script. If you have both KiX32.exe and a script called KiXtart.kix in the \Netlogon share then it should work for ALL of your users.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116110 - 2004-03-12 10:03 PM Re: NT Workstations will not run login script
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Quote:

That is an admin script that you would run against ALL of the users in your domain providing you have Domain Admin rights. BE CAREFULL accepting gifts from Greeks!




don't you mean geeks?

that is why i commented out the "dangerous" stuff

how many domain controllers you have? did you give file replication time to happen? check "%logonserver%\netlogon" share and make sure your stuff is in there.

Bryce

Top
#116111 - 2004-03-12 10:04 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Forgot to mention that if you are still running a mixed shop, you need to make sure to optimize your bindings and provider order. Do not bind IPX to the Microsoft Client and put Microsoft at the top of the provider order.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#116112 - 2004-03-12 10:09 PM Re: NT Workstations will not run login script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Make sure that the NT4 machines have the DSClient installed to make them 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
#116113 - 2004-03-12 10:19 PM Re: NT Workstations will not run login script
LESCNE Offline
Fresh Scripter

Registered: 2004-03-12
Posts: 8
Loc: Iowa
This test machine does have the DSClient on it. I was hoping that would not be necessary. Just another thing to push out.

Let see, what other questions were asked. We have 3 Domain controllers. I know that the replication is complete now. All KIXTART files are in the Netlogon.

Thanks for your help. Have a great weekend. I will be back at this on Monday!
LES

Top
Page 1 of 2 12>


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 507 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.083 seconds in which 0.024 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