- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My users run on VMware Horizon Client 5.5.0. From within the virtual machine, how would I get the name of the host computer? Preferably in a command line where I can capture the output to a text file. I see that the Z: drive is mapped to {username} on {computername}. I thought NET USE would give me the info but it misses the Z: drive altogether. If I issue NET USE Z: I would get
Local name = Z:
Remote name = \\tsclient\{username|
Resource type = Disk
I suppose TSCLIENT is some variable defined within the Horizon virtual machine. How would I get that name though?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From within the virtual machine, you can read the following registry value that contains the client hostname:
HKCU\Volatile Environment\ViewClient_Machine_Name
A lot of information can be found in that key: Client System Information Sent to Remote Desktops (vmware.com)
Regards,
Mickeybyte (ITPro blog)
If you found this comment useful or an answer to your question, please mark as 'Solved' and/or click the 'Kudos' button, please ask follow-up questions if you have any.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! You answered my question!