#116094 - 2004-03-12 08:51 PM
NT Workstations will not run login script
|
LESCNE
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
|
|
|
|
#116102 - 2004-03-12 09:21 PM
Re: NT Workstations will not run login script
|
LESCNE
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
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
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
|
|
|
|
#116106 - 2004-03-12 09:50 PM
Re: NT Workstations will not run login script
|
LESCNE
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
|
|
|
|
#116108 - 2004-03-12 09:57 PM
Re: NT Workstations will not run login script
|
LESCNE
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
|
|
|
|
#116110 - 2004-03-12 10:03 PM
Re: NT Workstations will not run login script
|
Bryce
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
|
|
|
|
#116113 - 2004-03-12 10:19 PM
Re: NT Workstations will not run login script
|
LESCNE
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
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 507 anonymous users online.
|
|
|