Page 1 of 1 1
Topic Options
#151544 - 2005-11-15 04:21 PM Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
Hello everybody
my name is Rudy and i'm from holland
i'm new here so sorry for the lack of english.

the company where i work for now want's to use Kixtart with Active directory on a Windows 2000 server.

the script i wrote is like this.


USE f: "\\ijb-i\sys"
USE g: "\\ijb-i\sys"
USE h: "\\ijb-i\vol1"
USE i: "\\ijb-i\users\%username%"
USE j: "\\ijb-i\users\administ"
USE k: "\\ijb-c\IJB Heipalen"
USE l: "\\ijb-i\vol1"
USE m: "\\ijb-c\IJB Technische dienst"
USE n: "\\ijb-b\flexlm"
USE o: "\\ijb-i\IJB Groep"
USE p: "\\ijb-i\IJB Geotechniek"
USE q: "\\ijb-i\IJB Engineering"
USE r: "\\ijb-c\IJB Mortel"
USE s: "\\ijb-c\IJB Groep"
USE t: "\\ijb-c\IJB Funderingen\Prefab Bedrijfs Bureau"
USE u: "\\ijb-i\acad"
USE v: "\\ijb-i\IJB Milieu"
USE w: "\\ijb-c\IJB Funderingen"
USE x: "\\ijb-k\Database"

:END
:exit

can you use this script for people that logon and automaticly loads this script from AD or do they need Kixtart on their computers?
if it can be done from the AD, does AD automaticly pick's this script or does it need Kixtart to run ?

i hope you can help me.. and again sorry for my bad english

Top
#151545 - 2005-11-15 04:31 PM Re: Kixtart with active directory
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
You could put it in Netlogon and setup the users for legacy scripts in their profile or you could put it in a GPO. There are some FAQs that explain both.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151546 - 2005-11-15 04:32 PM Re: Kixtart with active directory
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
BTW, if that script is all you plan to do, you don't need KiX. DOS BATch and NET USE would do it.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151547 - 2005-11-15 04:47 PM Re: Kixtart with active directory
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yup.
but I bet he will end up doing if ingroups and thus kixtart is the "only" way to go.
_________________________
!

download KiXnet

Top
#151548 - 2005-11-15 04:49 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
Quote:

BTW, if that script is all you plan to do, you don't need KiX. DOS BATch and NET USE would do it.




I know.. that have we now here. But is doesnt work to well for us.. it fail's tomuch and is to slow. so my superior want's to use Kixtart for it..

Top
#151549 - 2005-11-15 06:45 PM Re: Kixtart with active directory
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Quote:

it fail's tomuch and is to slow




Well if that's the case then KiXtart is not going to help out there either. Sounds like you have either some basic networking issues or very slow bandwidth for some or all systems.

One way to lower some of that bandwidth use would be to quit mapping during every logon. Just permanently map the drives and be done with it.
 
Make sure your DNS/WINS is setup and functioning correctly too which might be the cause of some failures.
 

Top
#151550 - 2005-11-22 11:06 AM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
is there a way to run kix WITHOUT an batch file?

i read a faq about it and then i still have to run a batch file in order to run kix etc..

Top
#151551 - 2005-11-22 11:44 AM Re: Kixtart with active directory
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Only needs a batch file for Windows 9x.

NT/2000/XP/2003/VISTA do not need a batch file to run KiXtart.
 

Top
#151552 - 2005-11-22 12:07 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
ok thanx.

the script i now have is like this.
-----------------------------------------------------------------
SELECT

IF INGROUP("Administratie")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00i\sys\frieslandb"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
use Y: "\\ijb-00i\users"
ENDIF

IF INGROUP("IJB Enginering")
use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
use z: "\\ijb-00i\esa51"
ENDIF

IF ingroup("IJB Heipalen verkoop")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00c\sys"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Funderingen")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Geotechniek")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
EndIF

IF ingroup("IJB Mortel")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("Technische Dienst")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("IJB Milieu")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00c\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

IF ingroup("domain admins")

use f: "\\ijb-00i\sys"
use g: "\\ijb-00i\sys"
use h: "\\ijb-00i\vol1"
use i: "\\ijb-00i\users\%username%"
use j: "\\ijb-00i\users\administ"
use k: "\\ijb-00c\IJB Heipalen"
use l: "\\ijb-00i\vol1"
use m: "\\ijb-00c\IJB Technische dienst"
use n: "\\ijb-00b\flexlm"
use o: "\\ijb-00i\IJB Groep"
use p: "\\ijb-00i\IJB Geotechniek"
use q: "\\ijb-00i\IJB Engineering"
use r: "\\ijb-00c\IJB Mortel"
use s: "\\ijb-00c\IJB Groep"
use t: "\\ijb-00c\IJB Funderingen\Prefab Bedrijfs Bureau"
use u: "\\ijb-00i\acad"
use v: "\\ijb-00i\IJB Milieu"
use w: "\\ijb-00c\IJB Funderingen"
use x: "\\ijb-00c\Prefab"
ENDIF

ENDSELECT
-----------------------------------------------------------------

if there is somthing missing please tell me.


Edited by roedie (2005-11-22 12:42 PM)

Top
#151553 - 2005-11-22 01:54 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
hmm.. i put all kixtart files + the script in the net logon folder. i also put it in the gpo.. but it still won't work. anyone an idea ?
Top
#151554 - 2005-11-22 01:55 PM Re: Kixtart with active directory
masken Offline
MM club member
*****

Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
Please explain in detail EXACTLY what you've done.

A little tip: You can clean this script up alot by mapping all common drives outside the SELECT statement, since it seems alot of the drives are common for everyone.

But yes, as NTDOC mentions, it seems like you've got network performance issues there that slows things down. Two of the most common problems with this is:
* DNS-related issues. For example, clients are assigned external DNS's.
* Client/Server Digitally sign communications-issues (can easily be fixed via GPO).


Edited by masken (2005-11-22 01:57 PM)
_________________________
The tart is out there

Top
#151555 - 2005-11-22 02:06 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
we got now a test situation with one server pc and one client pc.

i put the files "kix32, wkix32 and the script"in the folder c:\wintnt\sysvol\sysvol\"domain"\scripts.
then i made a couple of organistation units in the AD and made a new gpo policy.
then i made some shared folders en put those in the script.
where you can edit that policy i looked by user setting -> windows settings
-> scripts(logon/logoff)->LOGON there i put the KIX32.exe in and later the script to.
then i tried logon to a pc but i see no network maps in "my computer".

it runs on a 2000 server and the name of the script is "test.kix"


Edited by roedie (2005-11-22 02:15 PM)

Top
#151556 - 2005-11-22 03:01 PM Re: Kixtart with active directory
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
SELECT?
There are no CASE so it is of no value.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151557 - 2005-11-22 03:20 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
what should i use then? the "goto" command?
Top
#151558 - 2005-11-22 03:27 PM Re: Kixtart with active directory
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
To do what?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#151559 - 2005-11-22 03:41 PM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
nevermind... i'm not such a kix guru
Top
#151560 - 2005-11-22 06:54 PM Re: Kixtart with active directory
StarwarsKid Offline
Seasoned Scripter
*****

Registered: 2005-06-15
Posts: 506
Loc: Oregon, USA
Wow, Looks like that script can be consolidated.

You don't need the SELECT statement.

You can organize the script in a way where all COMMON mappings are in the same location.

Code:
 ;;; Common Drive Mappings ;;;
use f: /d
use f: "\\ijb-00i\sys"
use g: /d
use g: "\\ijb-00i\sys"
use h: /d
use h: "\\ijb-00i\vol1"
;etc....



Then you can break out to your department mappings that are unique to each department...
Code:
 ;;; Group Specific Mappings ;;;
IF INGROUP("Administratie")
use i: /d
use i: "\\ijb-00i\users\%username%"
use j: /d
use j: "\\ijb-00i\users\administ"
use k: /d
use k: "\\ijb-00c\IJB Heipalen"
ENDIF
IF INGROUP("IJB Enginering")
;etc...
ENDIF



And if you have a Windows domain you can identify the Home folder for each user in their user profile settings. Windows will automatically map the Home drive for you if this is setup properly, eliminating the need for a logon script to do it.
_________________________
let the wise listen and add to their learning,
and let the discerning get guidance- Proverbs 1:5

Top
#151561 - 2005-11-23 11:05 AM Re: Kixtart with active directory
roedie Offline
Getting the hang of it

Registered: 2005-11-15
Posts: 52
Loc: balk friesland/holland
i have the script now running on the company's network.
and it's much faster than running from a batch file. and in my eyes much more stabel.
many thanx for helping me

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 557 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.076 seconds in which 0.028 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