Page 1 of 1 1
Topic Options
#51635 - 2000-10-03 09:43 PM newbie help
Anonymous
Unregistered


I am new to Kix. I have attempted to write a script that would map drives based on group membership. I have 2 servers kxrpc is installed on both and the service is running.
I can not get my script to work. My login scrit is %0\..\kix32.exe test.kix.
My kix script is.if ingroup ("commisioning")
use g: "\\dpspmt\commisioning"
endif

if ingroup ("construction coordinators")
use f: "\\dpspmt\construction"
endif

if ingroup ("contract admin")
use j: "\\dpspmt\contract admin"
endif

if ingroup ("design")
use k: "\\dpspmt\design"
endif

if ingroup ("directors")
run "use m: "\\dpspmt\directors"
endif

if ingroup ("document control")
use n: "\\dpspmt\document control"
endif

if ingroup ("extrnal affairs")
use o:" \\dpspmt\extrnal affairs"
endif

if ingroup ("finance")
use p: "\\dpspmt\finance"
endif

if ingroup ("mbe wbe")
use q: "\\dpspmt\mbe wbe"
endif

if ingroup ("office admin")
use r: "\\dpspmt\office admin"
endif

if ingroup ("procurement")
use s: "\\dpspmt\procurement"
endif

if in group ("program control")
use t: "\\dpspmt\program control"
endif

if ingroup ("prog plan")
use u: "\\dpspmt\pro plan"
endif

if ingroup ("project managers")
use l: "\\dpspmt\project managers"
endif

exit
If anyone can help it would be great.


Top
#51636 - 2000-10-03 10:29 PM Re: newbie help
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Hello and welcome to the BB.

Now when you say that your logon script is "%0\..\kix32 test.kix", do you mean that this is what is written in the bat file that you are calling kix from? And that bat file name is in the "Logon Script Name" box in user manager|profiles?

Also, I would suggest that you use "%0\..\kix32 %0\..\logon.kix"

Bryce


Top
#51637 - 2000-10-04 01:58 PM Re: newbie help
Anonymous
Unregistered


Yes, that is the bat file that is in the login script field. I renamed my kix script to logon.kix and changed it in the logon script. Aslo I installed kix in the netlogon share.
Top
#51638 - 2000-10-04 03:49 PM Re: newbie help
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
I am a little bit confused still ....

What exactly do you have in the login script field?

Bryce

Top
#51639 - 2000-10-04 03:56 PM Re: newbie help
Anonymous
Unregistered


In the login field I call logon.bat. This file has the line for kix to run.
Top
#51640 - 2000-10-05 05:21 PM Re: newbie help
Anonymous
Unregistered


That same problem killed me for a week on 95 boxes.

Are your Kix dll files copied to the local machine?

My problem was the kxrpc service. It displayed as started under services, but I actually had to stop, then restart the service. As soon as I did that, worked like a champ.

Top
#51641 - 2000-10-06 01:41 AM Re: newbie help
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Also it is possible that the files of kixtart version are not the same. By the kix362update.exe on site http://home.wanadoo.nl/scripting the system will automatically check all files on your local workstations.

See topic for more information about it:
http://kixtart.org/board/Forum1/HTML/001227.html

Greetings.

_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
Page 1 of 1 1


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

Who's Online
0 registered and 1067 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.103 seconds in which 0.074 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