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@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk Sent: Tuesday, March 10, 2009 11:42 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Query Farm Name in User context But at least you'll know what you own... Joe From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Andrew Wood Sent: Tuesday, March 10, 2009 2:36 AM To: thin@xxxxxxxxxxxxx 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@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Joe Shonk Sent: 10 March 2009 00:24 To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: Query Farm Name in User context You could always brand the server using an environment variable. Joe From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Stratton, Doug ISMC:EX Sent: Monday, March 09, 2009 1:50 PM To: thin@xxxxxxxxxxxxx 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@xxxxxxxxx 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. #####################################################################################