Page 1 of 1 1
Topic Options
#7892 - 2001-03-31 11:03 AM Why don't all users run my script?
kelvinc Offline
Lurker

Registered: 2001-03-31
Posts: 3
Loc: HK
use Y: "\\share\public"
$username=readvalue("hkey_current_user\software\microsoft\exchange","UserName")
shell "%comspec% /e:2048 /c dir c:\progra~1\*. > y:\txt\progra~1\"+$username

I have included above into the first line of my existing login.kix and post to my PDC but I found only some users run this and return result. Why?

Appreciate if someone can give me some ideas.

Top
#7893 - 2001-03-31 04:03 PM Re: Why don't all users run my script?
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Do you have your kix script replicated to all domain controllers? PDC and all BDC's

Bryce

------------------
kix.isorg.net

Top
#7894 - 2001-03-31 04:37 PM Re: Why don't all users run my script?
kelvinc Offline
Lurker

Registered: 2001-03-31
Posts: 3
Loc: HK
What I found is some user who uses PDC to authenticate his/her identity has not run the scripts I added to the beginning of the orginial login.kix!

And some users in other BDCs have run this script!

Any idea? Appreciate your help.


Top
#7895 - 2001-04-01 01:39 AM Re: Why don't all users run my script?
Anonymous
Unregistered


Is there a pattern? Are the failures always on a particular version of Windows? If so, is that registry key available on that version? Alternatively, do the users have access rights to that part of the registry?
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 957 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.055 seconds in which 0.027 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