|
|
|||||||
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 |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
BTW, if that script is all you plan to do, you don't need KiX. DOS BATch and NET USE would do it. |
||||||||
|
|
|||||||
yup. but I bet he will end up doing if ingroups and thus kixtart is the "only" way to go. |
||||||||
|
|
|||||||
Quote: 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.. |
||||||||
|
|
|||||||
Quote: 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. |
||||||||
|
|
|||||||
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.. |
||||||||
|
|
|||||||
Only needs a batch file for Windows 9x. NT/2000/XP/2003/VISTA do not need a batch file to run KiXtart. |
||||||||
|
|
|||||||
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. |
||||||||
|
|
|||||||
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 ? |
||||||||
|
|
|||||||
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). |
||||||||
|
|
|||||||
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" |
||||||||
|
|
|||||||
SELECT? There are no CASE so it is of no value. |
||||||||
|
|
|||||||
what should i use then? the "goto" command? |
||||||||
|
|
|||||||
To do what? |
||||||||
|
|
|||||||
nevermind... i'm not such a kix guru |
||||||||
|
|
|||||||
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 ;;; Then you can break out to your department mappings that are unique to each department... Code: ;;; Group Specific Mappings ;;; 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. |
||||||||
|
|
|||||||
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 |