Page 1 of 1 1
Topic Options
#22545 - 2002-06-03 09:56 PM 2000 vs xp
howyadoing Offline
Getting the hang of it

Registered: 2002-06-01
Posts: 86
Loc: Cincinnati
I have a login script that on a 2000 machine it maps both drives fine. Then I go to my XP laptop and it doesnt map the h drive. Its not a permision issue because I am domain admin. Do you have to write the scripts different for xp and 2k?

; Login Script

; **************************
; ** Program: Kixtart.kix
; ** Date: 6-1-02

USE "*" /delete

Break Off

; sets the console to foreground

setconsole ("foreground")
?
; sets the computer time by searching the network for the time server

" Hi "+ @userid
?
settime "*"

; Mapping drive section

USE G: "\\nas1\users\@userid" /persistent:no

IF INGROUP("cin infosys")
USE H: "\\nas1\users\infosys\shared" /persistent:no
ELSE
ENDIF

Top
#22546 - 2002-06-03 10:11 PM Re: 2000 vs xp
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
What version of KixTart are you using? Also add code that will tell you if the drive mapping is failing or that the Ingroup is hitting the ELSE statement.
code:
IF INGROUP("cin infosys")
USE H: "\\nas1\users\infosys\shared" /persistent:no
? "Drive Map Error: @error @serror"
ELSE
? "Hey, I am not in the group"
ENDIF



[ 03 June 2002, 22:18: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/

Top
#22547 - 2002-06-03 10:15 PM Re: 2000 vs xp
bluesteel Offline
Fresh Scripter

Registered: 2002-05-13
Posts: 32
Loc: Montreal, Quebec Canada
could it be, howya, that maybe the laptop isnt part of the group u specified in INGROUP?

just a thought

blue

Top
#22548 - 2002-06-03 10:19 PM Re: 2000 vs xp
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
In case of this kind of error you should always check for potential error messages first. Most of the time the error number will tell you exectly what is going wrong.
_________________________
There are two types of vessels, submarines and targets.

Top
#22549 - 2002-06-03 10:41 PM Re: 2000 vs xp
howyadoing Offline
Getting the hang of it

Registered: 2002-06-01
Posts: 86
Loc: Cincinnati
Its weird, it says im not in the group. The group is made up of users not computers. When I go to a windows 2000 box it says I am in the group. A computers are on the domain ect. Its just odd that it works from one computer and not another.
Top
#22550 - 2002-06-03 11:03 PM Re: 2000 vs xp
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
So, is that alocal group (local to the workstation) or adomain group that you are talking about?
_________________________
There are two types of vessels, submarines and targets.

Top
#22551 - 2002-06-03 11:08 PM Re: 2000 vs xp
howyadoing Offline
Getting the hang of it

Registered: 2002-06-01
Posts: 86
Loc: Cincinnati
It is a domain global group in Active Directory. Its odd because if I log into three different workstations it works fine. If I login to my laptop or a domain controller it doesnt work. The group is made up of users only. It isnt security related because I have more than enough rights.
Top
#22552 - 2002-06-07 04:12 PM Re: 2000 vs xp
Tarfin Offline
Fresh Scripter

Registered: 2001-11-14
Posts: 26
Loc: Jenison, MI USA
Possibility of a group policy issue?
Top
#22553 - 2002-06-17 04:06 AM Re: 2000 vs xp
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
solved?
_________________________
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:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

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

Generated in 0.065 seconds in which 0.033 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