Page 1 of 2 12>
Topic Options
#45752 - 2003-09-22 02:53 AM Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hi KiXtartians, I have a quick question for you.

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 [Smile]

Thanks again,
Justin

Top
#45753 - 2003-09-22 03:10 AM Re: Difference between 2k and XP?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
1) No need to use 'SHELL "net use"'. Please see the USE command in the manual.

2) you should verify if the INGROUP fuinction is working as you would expect.


IF INGROUP("GDPLCA-payroll")
use s: /delete /persistent
use S: "\\vnsv20007\payroll"
if @error <> 0
? "Error: " + @error + " " + @serror
endif
ELSE
? "Ingroup returned false."
ENDIF


What version of KiXtart are you using?
Let us know what you find.

[ 22. September 2003, 03:12: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45754 - 2003-09-22 03:11 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
here is some more background info for you guys:

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....

Top
#45755 - 2003-09-22 03:13 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Thank you howard, I will try this immediately.
Top
#45756 - 2003-09-22 03:28 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hello,

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.

Top
#45757 - 2003-09-22 03:33 AM Re: Difference between 2k and XP?
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11624
Loc: CA
How are you launching KiXtart?

If you only have NT/2000/XP clients you can use

WKIX32.EXE LOGON.KIX

For each users profile and it should work just fine. Only Windows 9x requires launching via a bath file.

Top
#45758 - 2003-09-22 03:35 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Hello, I'm using a batch file with the following text:

kix32 logon.kix /f

Top
#45759 - 2003-09-22 03:35 AM Re: Difference between 2k and XP?
Howard Bullock Offline
KiX Supporter
*****

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.

Please post how you are calling the script.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45760 - 2003-09-22 03:36 AM Re: Difference between 2k and XP?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
quote:
and removed all the novell clients from all workstations.
Did you also remove the IPX protocol?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45761 - 2003-09-22 03:36 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
I'll try using WKIX32
Top
#45762 - 2003-09-22 03:38 AM Re: Difference between 2k and XP?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
put some SendMessage() or MessageBox() lines in to see if the script is actually running.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45763 - 2003-09-22 03:39 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
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.
Top
#45764 - 2003-09-22 03:40 AM Re: Difference between 2k and XP?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
If Kix32 does not work, I sincerely doubt that changing to wkix32 will alter that behavior.

Let's get this guy working before tweaking the the implementation.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45765 - 2003-09-22 03:41 AM Re: Difference between 2k and XP?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If the provider order still favors IPX, then that is probably your problem. Remove IPX or change the binding and provider order.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#45766 - 2003-09-22 03:44 AM Re: Difference between 2k and XP?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Sorry, missed the:
code:
kix32 logon.kix /f 

Just for giggles, I would suggest changing your batch to:

code:
%0\..\kix32 %0\..\logon.kix



[ 22. September 2003, 03:45: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45767 - 2003-09-22 03:45 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
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.
Top
#45768 - 2003-09-22 03:49 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Howard,

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.

Exciting! What do you think the problem was?

Top
#45769 - 2003-09-22 03:59 AM Re: Difference between 2k and XP?
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
I run my logon script from the user account properties, not GPO. I know that this does display the DOS box.

Also read http://www.kixtart.org/board/ultimatebb.php?ubb=get_topic;f=1;t=007838#000001 as it relates to RunLogonScriptSync which you may be interested in doing.
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#45770 - 2003-09-22 04:04 AM Re: Difference between 2k and XP?
justinm Offline
Getting the hang of it

Registered: 2003-09-11
Posts: 50
Isn't that a bit tedious if you have many users in your domain?

Its not like i have that many, 100 maybe, but it would add just that much mroe time to go through and manually specify the script.

Top
#45771 - 2003-09-22 04:06 AM Re: Difference between 2k and XP?
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
No need to do it manually. THat is what KiX os for.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 2 12>


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

Who's Online
0 registered and 385 anonymous users online.
Newest Members
Raoul, Timothy, Jojo67, MaikSimon, kvn317
17875 Registered Users

Generated in 0.079 seconds in which 0.028 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org