Wednesday, March 11, 2009

[THIN] Re: Query Farm Name in User context

Hi, thanks for all the input. We ended up using this key
[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\RUNTIME] as the IMA,
Neighborhood key had permissions issues.


Regards,
Doug Stratton, Shared Service BC
Service Desk Email: 77000@gov.bc.ca
Service Desk Tel: (250)387-7000


-----Original Message-----
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On
Behalf Of Jeremy Saunders
Sent: March 10, 2009 9:04 PM
To: thin@freelists.org
Subject: [THIN] Re: Query Farm Name in User context

So it is. I just learnt something :)

It's also under [HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA\RUNTIME]

Cheers,
Jeremy.

-----Original Message-----
From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org] On
Behalf Of Warren Simondson
Sent: Wednesday, March 11, 2009 12:01 PM
To: thin@freelists.org
Subject: [THIN] Re: Query Farm Name in User context

I might be missing something here, but why don't you just read the
registry of the server on login to see which farm it belongs to:

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\IMA]

"Neighborhood"="YOUR_FARM_NAME_IS_HERE"

So a vbs or kix script could do this read quickly and easily and pass
the name to a variable or what ever you need.
Normally I'd write a quick little api executeable in this case, but our
team is working overtime at the moment so we won't get a chance until
maybe end of April. I'll let you know when we tap something together but
in the mean time, reading the reg key on login would solve the issue.

Let me know if I have miss understood what you are trying to do.

Cheers
--
Warren Simondson

Ctrl-Alt-Del IT Consultancy Pty Ltd

Website: http://www.ctrl-alt-del.com.au


Quoting Jeremy Saunders <Jeremy.Saunders@datacom.com.au>:

> I have to agree with Joe here.
>
>
>
> Also, I'm not sure in the example that Andrew has provided, but making

> MFCOM queries may require DCOM permissions and/or Custom Admin
> permissions in the Farm to view certain properties, so it becomes a
> pain to implement for all users. Much simpler to set variables or
> query a registry key. Both of which can be easily pushed out globally
> by custom ADM templates, startup scripts, psexec scripts, etc.
>
>
>
> Cheers,
>
> Jeremy.
>
>
>
> From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org]
> On
> Behalf Of Joe Shonk
> Sent: Tuesday, March 10, 2009 11:42 PM
> To: thin@freelists.org
> Subject: [THIN] Re: Query Farm Name in User context
>
>
>
> But at least you'll know what you own...
>
>
>
> Joe
>
>
>
> From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org]
> On
> Behalf Of Andrew Wood
> Sent: Tuesday, March 10, 2009 2:36 AM
> To: thin@freelists.org
> Subject: [THIN] Re: Query Farm Name in User context
>
>
>
> I suppose a potential issue there is you'd have to get other teams to
> brand their servers as well - so you'd know you're own and know what
> wasn't your, but you'd not know what your wasn't own was.
>
>
>
> From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org]
> On
> Behalf Of Joe Shonk
> Sent: 10 March 2009 00:24
> To: thin@freelists.org
> Subject: [THIN] Re: Query Farm Name in User context
>
>
>
> You could always brand the server using an environment variable.
>
>
>
> Joe
>
>
>
> From: thin-bounce@freelists.org [mailto:thin-bounce@freelists.org]
> On
> Behalf Of Stratton, Doug ISMC:EX
> Sent: Monday, March 09, 2009 1:50 PM
> To: thin@freelists.org
> Subject: [THIN] Query Farm Name in User context
>
>
>
> Hi
> We are using Citrix PS 4 and XA 4.5 and want to use our logon script
> to determine which Farm the user is on. We also need to be able to
> determine if we are on one of the other Citrix farms that we don't
> manage.
>
> What I am wondering is how can we determine the farm name with the
> logon scripts (visual basic 6) we use that the Users run so it has to
> be able to work in user context.
>
> Anyone got some code as an example? Or we I can look.
>
> Thank you all again.
> Regards,
> Doug Stratton, Shared Service BC
> Service Desk Email: 77000@gov.bc.ca
> Service Desk Tel: (250)387-7000
>
>
>
>
>
########################################################################
#######
######
> Confidentiality and Privilege Notice
> This document is intended solely for the named addressee. The
> information contained in the pages is confidential and contains
> legally privileged information. If you are not the addressee
> indicated in this message (or responsible for delivery of the message
> to such person), you may not copy or deliver this message to anyone,
> and you should destroy this message and kindly notify the sender by
> reply email. Confidentiality and legal privilege are not waived or
> lost by reason of mistaken delivery to you.
>
########################################################################
#######
######
>

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************
########################################################################
#############
Confidentiality and Privilege Notice
This document is intended solely for the named addressee. The
information contained in the pages is confidential and contains legally
privileged information. If you are not the addressee indicated in this
message (or responsible for delivery of the message to such person), you
may not copy or deliver this message to anyone, and you should destroy
this message and kindly notify the sender by reply email.
Confidentiality and legal privilege are not waived or lost by reason of
mistaken delivery to you.
########################################################################
#############
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
Follow ThinList on Twitter
http://twitter.com/thinlist
Thin List discussion is now available in blog format at:
http://thinmaillist.blogspot.com
Thinlist MOBILE Feed
http://thinlist.net/mobile
************************************************

No comments: