Page 1 of 1 1
Topic Options
#97527 - 2003-01-07 02:00 PM bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
l3 Offline
Lurker

Registered: 2003-01-07
Posts: 4
Hi,

I noticed that even under XP and 2K (TS/Citrix servers) in version 4.12 the "macros"

@HOMEDIR
@HOMEDRIVE
@HOMESHR
@LONGHOMEDIR
@RSERVER

are empty. The KiX service is not installed on our 2000 DC's, but to be honest, I'm quite sure you don't need these for 2000 machines.

For the time being I'm using %HOMESHARE% instead of @HOMESHR on my citrix mf xp servers, but it's bizarre I can't use the native kix variables.

Surely, this must be a bug? (tested and verified on 3 machines in our domain)

thanks for the kick-ass KiX

-groeten uit Belgie

Top
#97528 - 2003-01-07 02:12 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
Not a bug but a feature ... I think of TS/Citrix environment ... maybe you should get better results with the environment vars already there

Greets to Belgium
_________________________



Top
#97529 - 2003-01-07 02:21 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Kind of an intersting point though. There are some CLIENT.. variables that can be leveraged too.

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#97530 - 2003-01-07 02:22 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
l3 Offline
Lurker

Registered: 2003-01-07
Posts: 4
<<Not a bug but a feature ... I think of TS/Citrix environment ... maybe you should get better results with the environment vars already there>>

1. thanks for the feedback

2. please elaborate. I don't understand why this is a feature a.k.a. "good thing"?

If I can get part of the info out of the environment, then it's available. Question is why I can't seem to access it from the KiX variables then?

(sorry, I've just been using Kix for 2 days)

kind regards

Top
#97531 - 2003-01-07 02:26 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
l3 Offline
Lurker

Registered: 2003-01-07
Posts: 4
fyi: I'm using

WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Personal","%HOMESHARE%\My Documents","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","My Pictures","%HOMESHARE%\My Documents\My Pictures","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal","%HOMESHARE%\My Documents","REG_SZ")
WriteValue("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Pictures","%HOMESHARE%\My Documents\My Pictures","REG_SZ")


to correctly set the My Documents forwarder under TS. AD2000 policies seem to have a bug there in requiring a hard coded UNC path. (and since we have several servers storing the TS profiles and homedirs...)

[ 07. January 2003, 14:27: Message edited by: l3 ]

Top
#97532 - 2003-01-07 02:30 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
I should have said "feature" (with quotes)

Hmm ... did you already searched the board for TS/Citrix Topics that could help you ?

Can't get you a 100% Solution as I don't have the environment to script in [Frown]
_________________________



Top
#97533 - 2003-01-07 02:57 PM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Our environment is:
  • WTS 4.0 + SP6
  • Citrix Metaframe 1.8 + SP3
Testing with KiXtart versions 3.62 (production) and 4.12 (development) gives:
code:
KiXtart version 3.62
@HOMEDIR=\\xxxxxxx\Administrator
@HOMEDRIVE=H:
@HOMESHR=\\xxxxxxx\Administrator
@LONGHOMEDIR=\\xxxxxxx\Administrator
@RSERVER=

KiXtart version 4.12
@HOMEDIR=\\xxxxxxx\Administrator
@HOMEDRIVE=H:
@HOMESHR=\\xxxxxxx\Administrator
@LONGHOMEDIR=\\xxxxxxx\Administrator
@RSERVER=

NOTE: @RSERVER will always be blank for WTS sessions, as by definition they are NT (or W2K) virtual machines and so will not use the KXRPC service.

Top
#97534 - 2003-01-09 01:01 AM Re: bug: @homedir, @homedrive, @homeshr unknown in 2K and XP
l3 Offline
Lurker

Registered: 2003-01-07
Posts: 4
We have 5 active domains in a trust.

Our main domain, where I'm using KiX is a 2000 domain with 5 DCs all installed with WIN2K SP2 Servers.

The Citrix metaframe farm I tried kix 4.12 on is a MF XP FR2 one.

If you want I can test it on both our MF 1.8 farms also, but I don't think that will do much good.

I also tested this on a random windows NT4 and 2000 Client machine logged in in the main domain and even there these few variables are empty. (even though the users have a homedir and TS dir in active directory)

Also fails on my admin win XP machine.

Every single kix variable comes through (I'll post a list tomorrow), but only the homedir ones are plain empty (as you'd expect on a '9x machine I guess).

maybe that is of help?

Top
Page 1 of 1 1


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

Who's Online
0 registered and 255 anonymous users online.
Newest Members
Timothy, Jojo67, MaikSimon, kvn317, kixtarts2025
17874 Registered Users

Generated in 0.056 seconds in which 0.024 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