Page 1 of 1 1
Topic Options
#21539 - 2002-05-10 11:55 AM Mapped drive X: changes suddenly to home directory
Konstantinos Livadaros Offline
Lurker

Registered: 2002-05-10
Posts: 3
Loc: Athens
Hi all. Here is a good one.
I started changing Win95 clients to Win2k a while ago. I am using Kix to change the X: mapping from the users home directory (which is stated in the User Manager For Domains) to another path. Ok, this works fine but for no apparent reason, after a while the X: mapping changes back to the users home directory. Here is a small sample from my script:

IF EXIST ("x:")
USE x: /DEL
ENDIF
USE x: $pdc+"\FIN"

As you can see, with those lines, the X: mapping is first being deleted and then mapped to the FIN share of the PDC. And suddenly....... it changes back to the users home directory!!!!! This only applies to Win2k SP2 clients. The PDC is NT4 SP6.

Any ideas???
Thanx in advance [Big Grin]
_________________________
Amiga rulez!

Top
#21540 - 2002-05-10 01:01 PM Re: Mapped drive X: changes suddenly to home directory
Dean R Offline
Starting to like KiXtart

Registered: 2002-03-15
Posts: 115
Loc: Ireland, but Im an Aussie
Check your homedrive entry in usermanager
_________________________
-------------------------------- When you can take this stone from my hand Gwasshoppa you are read... *yoink* Gwasshoppa? Gwasshoppa? Where did you go? ---------------------------------

Top
#21541 - 2002-05-10 03:04 PM Re: Mapped drive X: changes suddenly to home directory
Konstantinos Livadaros Offline
Lurker

Registered: 2002-05-10
Posts: 3
Loc: Athens
The home drive? You mean the letter that the home directory is connected to, no? I mention that although the X: drive is connected by the user manager for domains to the users directorty, the Kix is deleting this map and then it creates a new one(this is I want it to do). Although after a short while, the X: is automaticaly mapped again to the users home directory by Win2k.
_________________________
Amiga rulez!

Top
#21542 - 2002-05-10 03:40 PM Re: Mapped drive X: changes suddenly to home directory
BrianTX Offline
Korg Regular

Registered: 2002-04-01
Posts: 895
The domain setting overrides your local setting (at least) every time you open a new process that uses the %homedrive% variable. You cannot set a permanent local variable that will override the domain setting.

Brian

Top
#21543 - 2002-05-10 04:04 PM Re: Mapped drive X: changes suddenly to home directory
Konstantinos Livadaros Offline
Lurker

Registered: 2002-05-10
Posts: 3
Loc: Athens
BrianX: Does this happen only to Win2k? In Win95 I have no problems....
_________________________
Amiga rulez!

Top
#21544 - 2002-05-10 04:14 PM Re: Mapped drive X: changes suddenly to home directory
Howard Bullock Offline
KiX Supporter
*****

Registered: 2000-09-15
Posts: 5809
Loc: Harrisburg, PA USA
Win9x does not manage the home share against the domain account properties. NT and above automatically use the properties in the account.
_________________________
Home page: http://www.kixhelp.com/hb/

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 1024 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.062 seconds in which 0.032 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