+ Post New Thread
Results 1 to 9 of 9
Thin Client and Virtual Machines Thread, Find physical Hostname from within a XenDesktop VDi desktop in Technical; Problem: A physical host [HP Thin Client] with a Hostname of T01TCD01 connects to a XenDesktop hosted Virtual Desktop with ...
  1. #1

    Join Date
    Mar 2012
    Location
    Peterborough
    Posts
    29
    Thank Post
    7
    Thanked 2 Times in 2 Posts
    Rep Power
    5

    Find physical Hostname from within a XenDesktop VDi desktop

    Problem:

    A physical host [HP Thin Client] with a Hostname of T01TCD01 connects to a XenDesktop hosted Virtual Desktop with a Hostname of WIN7VDI01.

    To enable printing to local printers within the room Kixscript is used to map the correct printer based upon the first three letters of the physical Hostname.

    However, when logging in to the XenDesktop the Hostname of the physical device is unknown.

    Is it possible to identify the Hostname of the Physical host?
    Is the hostname passed through to Citrix via Citrix Receiver somehow?

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,956
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    In the command prompt running %clientname% will return the thinclient name. You should be able to put this into your script.

  3. #3

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Realy?

    It tells you the name of the physical terminal?

    Rob

  4. #4

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,956
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448
    Quote Originally Posted by twin--turbo View Post
    Realy?

    It tells you the name of the physical terminal?

    Rob
    Yep run it on an RDP session to test it

  5. #5

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Will give it a try on our XenDesktop when I am back in the office on thursday.

    It has some bearing on interoperability between XD virtual machines, physical locations and useage of remote support/management systems.

    Rob

  6. #6

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    15,956
    Thank Post
    886
    Thanked 1,700 Times in 1,477 Posts
    Blog Entries
    12
    Rep Power
    448

  7. #7
    morganw's Avatar
    Join Date
    Apr 2009
    Location
    Cambridge
    Posts
    816
    Thank Post
    46
    Thanked 132 Times in 126 Posts
    Rep Power
    39

  8. #8

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    We are on XD4,

    Just tried the command and the variable has not been populated. Just echo's back the "%clientname%" paramater

    Rob

  9. #9

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Hold on will get the client utils on and see if that works.

    Rob

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 11th January 2011, 09:39 PM
  2. How do I export images from within SQL fields?
    By Ric_ in forum MIS Systems
    Replies: 3
    Last Post: 17th May 2010, 09:45 AM
  3. NTLM & MRBS : Accessing From WithIn The Network.
    By russdev in forum Web Development
    Replies: 6
    Last Post: 13th September 2009, 10:50 AM
  4. Using VBA to find a date from a table.
    By garethedmondson in forum Office Software
    Replies: 0
    Last Post: 30th January 2009, 02:19 PM
  5. Detect Ctitrix session from within bat/vbs?
    By Geoff in forum Thin Client and Virtual Machines
    Replies: 9
    Last Post: 19th July 2006, 11:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •