Compatibility Flags

K

KokJien-Loh

Hi Dear all gurus,

I am trying to make my application Citrix ICA client to
get fixed and unique hostname everytime when logged in. It
is giving domainname:session id now. I tried modified the
compability flags in WFICA32 Flags paramenter as
recommended in the "Using and Developing Applications
Compatibility Scripts with Windows NT server 4.0,
Terminal Server Edition". It does not work. I am using
WIN2000 Terminal services. I could not find the similart
document for win2000.

Any advice is welcome. THank you so much.

Best regards,
Kok Jien
 
V

Vera Noest [MVP]

There's a compatibility bit that works exactly the other way
around: instead of the computername (which is the name of the
Terminal Server and thus the same for every user), it returns the
username. Is this what you want?

This compatibility bit is 0x00000010, you have to add this to the
hex value of 11C, and add 0x00000008 or 0x00000004, depending on
32- or 16-bit windows application.
Details are here:

186498 - Terminal Server Application Integration Information
http://support.microsoft.com/?kbid=186498
 
K

kj loh

Yes, thank you so much for your kind respond. I am trying to get around my
problem with this settings and that's the bit that I don't quite get it
done. I have a couple of questions on that:

(1) The the flag to be set called "Flags"
(2) on which application? when I go into see the application that I am run
it got a series including the citrix client and the terminal services
processes (I guess). should I try and error to get one that is working?
(3) and those application may not appear in the ...\Applications\<Appname>,
shall I add them in to try?
(4) when you said, add to hex value 11C + 0x00000010 + ... do you mean I
should see the 11C initially somewhere? what it don't appear at all? like
(3), am I going to create it manually?


thank you so much again and best regards,
Kok Jien
 
K

kj loh

Whops....it is answers in the document, so sorry abt that shall try it out
first. thanks a lot.

regards,
Kok Jien
kj loh said:
Yes, thank you so much for your kind respond. I am trying to get around my
problem with this settings and that's the bit that I don't quite get it
done. I have a couple of questions on that:

(1) The the flag to be set called "Flags"
(2) on which application? when I go into see the application that I am run
it got a series including the citrix client and the terminal services
processes (I guess). should I try and error to get one that is working?
(3) and those application may not appear in the
 
K

kj loh

Hi Dear Vera,

I do have this problem of the Apps name not appearing in the registrys.
What does that means? Could it be just manually created? if I could ever
identify the apps?


thanks a lot.

regards,
Kok Jien
 
V

Vera Noest [MVP]

Yes, you have to create the registry key manually, in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion\Terminal Server\Compatibility\Applications\

as explained in KB 186498.

I am not sure if I understand at all what you are trying to do. Why
do you not know which application needs some compatibility bits set?
You should only set them if you have a specific problem that must be
solved. And why are you trying to set compatibility bits for the
ICAclient? That shouldn't be necessary.
Could you try to describe what your problem is? And if it is Citrix-
specific, I would post to alt.os.citrix as well.
 
K

kj loh

Hi thanks for the reply. we are using the client program that spawns off
different processes for diffrent function. That is why when I check the
console there is whole punch of processes running. I manage to identify
it(does not appear in the registry location initially). but it does not
work when I created the Key and Flags in the particular location. I have
even created and amended all related or (seems related) program but it still
does not work.

Now I am also checking with the vendor of this program see if they can shade
some clue on they actually derive the workstation name from? it is requested
directly by the program. Or some other program and pass it on the that
program....

by the way, I wonder if you could comprehen how this "servername:id" is
generated? I try to simulate this by publish the CMD.EXE and run the
"hostname". it just return "servername" without ID. I am puzzle abt how
the ID is attached. As fas as I know the applicatino program is using C.
is there a command that will get this result?


thank you so much.

Best regards,
Kok Jien
 
K

kj loh

Hi Dear Vera,

I am sorry to say that I have not seens that flags work before. Is there a
simpler way to show that? I am trying to use cmd.exe by creating a Key CMD
and Flags 11C

and I publish the CMD and execute the hostname. I still get the "servername"
rather than "username".


Any chance you could advice a simple way to show it works?

thanks a lot.


regards,
Kok Jien
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top