Quantcast
Channel: ฟอรัม Remote Desktop Services (Terminal Services)
Viewing all articles
Browse latest Browse all 25135

Hostname = username

$
0
0

I have a legacy Java/Internet explorer app that queries the hostname to save the printer assigned to a client in a database.  I am switching this application to run on a Xenapp/Windows 2008 R2 Terminal server.  My issue is all the users who setup thier printers in the app save in the database as the server name instead of thier client name.  What app under key HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\Applications\Appname is Java/Internet explorer so I can set the app to use username instead of server name by setting the following key:

Value Name: Flags
   Type:       REG_DWORD

Hex value: 0x00000010

Update:  I have been trying to get it to work with just cmd.exe and it still gives the hostname of the server when I type hostname at a cmd prompt.

  • Victor


Victor



Viewing all articles
Browse latest Browse all 25135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>