Page 1 of 1 1
Topic Options
#45234 - 2003-09-16 05:13 AM deployment: Global Logon Script
Tor Offline
Lurker

Registered: 2003-09-16
Posts: 3
How can I assign a script to all users in my NT4 PDC *with out* having to associate the script with each user individually (kinda' like the way Novell Netware "just has" a login script)?

Is there a poledit trick for
...Repl\Import\Scripts\ntconfig.pol?

Yow!

Top
#45235 - 2003-09-16 05:17 AM Re: deployment: Global Logon Script
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Welcome to the board..

Can't you not select them like CTRL+A in User Manager and then put in the script?

There are third-party utils like Hyena that offer similar abilties.

Kent

[ 16. September 2003, 05:18: Message edited by: kdyer ]
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#45236 - 2003-09-16 05:19 AM Re: deployment: Global Logon Script
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
The account property is the only way I know to do it. Why do you not want to do it this way?
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45237 - 2003-09-16 05:23 AM Re: deployment: Global Logon Script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
...because he's a NetWare hack. [Big Grin]

Lose NT4 and deploy AD. THen you will be able to deploy scripts through GPOs. You would also have to lose all the loser client OSes. [Wink]

[ 16. September 2003, 05:24: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45238 - 2003-09-16 05:41 AM Re: deployment: Global Logon Script
Tor Offline
Lurker

Registered: 2003-09-16
Posts: 3
...because I'm a NetWare hack. [Big Grin]

It seems to me to be a superflous configuration item if you know you want it to be global.

BTW - Thanks mucho for your replies!

Top
#45239 - 2003-09-17 01:15 AM Re: deployment: Global Logon Script
Tor Offline
Lurker

Registered: 2003-09-16
Posts: 3
Just a quick follow-up...

There is an example perl scripts at the end of this page:

http://www.xav.com/perl/site/lib/Win32/NetAdmin.html

... that, with some mods, looks like it could be run nightly to ensure script uniformity for users (and/or groups).

- Tor

Top
#45240 - 2003-09-17 01:23 AM Re: deployment: Global Logon Script
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Well, if all you want to do is set the properties of all users the same...


BREAK ON
$target = GetObject("WinNT://"+@Domain)
$loginscript="MYLOGON.BAT"
for each $user in $target
    if $user.class = "USER"
        if $user.loginscript <"$loginscript"
            ? "Current Script for " +$user.name " is: " +$user.loginscript" Modified to " +$loginscript
            ;$user.loginscript=$loginscript
            ;$user.SetInfo
        endif
    endif
next



[ 17. September 2003, 01:24: Message edited by: LLigetfa ]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45241 - 2003-09-17 01:35 AM Re: deployment: Global Logon Script
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Tor, if you want some Perl stuff check out my site. Most people here like to stay with KiXtart unless there is something that can not be done with KiX alone.
_________________________
Home page: http://www.kixhelp.com/hb/

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
0 registered and 836 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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