I have recently finished setting up a windows 2000 domain and removed all the novell clients from all workstations. I've written a short KiX script. For some reason it works fine with windows XP but for Windows 2000 the mappings are not all there. Here is a snippet of the script:
IF INGROUP("GDPLCA-payroll") = 1 SHELL "net use S: \\vnsv20007\payroll /persistent:no" ENDIF
IF INGROUP("Domain Users") = 1 SHELL "net use g: \\vnsv20007\server /persistent:no" ENDIF
IF INGROUP("DPRLCA-accpac") = 1 SHELL "net use p: \\vnsv20007\accpac /persistent:no" ENDIF
IF INGROUP("DPRLCA-FinanceShare") = 1 SHELL "net use f: \\vnsv20007\finance /persistent:no" ENDIF
There ya have it. Does anyone have any ideas? thanks for putting up with my newbiness
KiXtart is running from the netlogon share in my domain controller. I set the logon script in the domain GPO, which runs a batch file that calls KiX with the appropriate Kix Script.
It is running KiXtart 2001. Hope this was helpful. I also hope someone can help me out with this because when the users start logging in tommorrow They expect to get their shares....
I have modified my code as you suggested, however mappings are still not occuring on windows 2000 machines, but they are still working on windows XP. Here is my modified script code:
IF INGROUP("GDPLCA-payroll") use s: /delete /persistent use S: "\\vnsv20007\payroll" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("Domain Users") use g: /delete /persistent use g: "\\vnsv20007\server" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("DPRLCA-accpac") use p: /delete /persistent use p: "\\vnsv20007\accpac" if @error <> 0 ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
IF INGROUP("DPRLCA-FinanceShare") use f: /delete /persistent use f: "\\vnsv20007\finance" ? "Error: " + @error + " " + @serror endif ELSE ? "Ingroup returned false." ENDIF
Also, the kix box does not pop up during login. Thank you once again.
Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Ok, you are now starting to post pertinent information. The fact that the DOS box does not appear at all on the W2K workstation should have been in your first post.
My apologies for not posting pertinent information, I'm new to troubleshooting this. Posted above is how I'm launching it. Les, I haven't removed the IPX protocol from all workstations, is this necessary? I will probably do this in the future perhaps tommorrow evening.
Changing the batch file to run WKIX32 hasn't helped, now on both XP and 2k machines nothing gets mapped with the exception of the user home folder (which is controlled in the user account not in the kix script) I will change it back to KIX32 for now.
I tried your suggestion. I now hear a beep when I logon, and the drives appear to be mapping on both windows 2000 and windows XP. There is no box popping up but as long as the drive mappings are happening it doesn't matter to me. However, I wouldn't mind seeing a box that pops up that shows what is mapping.