Text

Forums Desktop Info Text

  • This topic has 6 replies, 1 voice, and was last updated 1 week, 4 days ago by AvatarJason Dozier.
Viewing 6 reply threads
  • Author
    Posts
    • #2431 Reply
      AvatarJason Dozier

      Is there a way to change the text output that the user sees? instead of Host Id like the user to see PC name? And can you add options for terminal services? Id like to be able to show the users the name of their local PCs that they are connected from.

      0
    • #2433 Reply
      GlennGlenn
      Keymaster

      Use the text option:
      HOST=text:PC Name,display:%1

      Not sure about terminal services client name. you could try the CLIENTNAME environment variable. I presume anything else would have to come from Wtsapi32.dll.

      • This reply was modified 3 weeks, 1 day ago by GlennGlenn.
      0
    • #2435 Reply
      GlennGlenn
      Keymaster

      I noticed that TSSESSIONS is already using wtsapi32 so i just have to work out which call will give us the client pc name.

      1+
    • #2448 Reply
      AvatarJason Dozier

      Changing the output text worked great, CLIENTNAME did not return anything, did you make any progress with TSSESSIONS?

      0
    • #2449 Reply
      GlennGlenn
      Keymaster

      I’m adding a new item which will return a bunch of TS/RDS stuff including client info. I believe this is what I’m looking for:

      https://docs.microsoft.com/en-us/windows/win32/api/wtsapi32/ns-wtsapi32-wtsclientw

      0
    • #2455 Reply
      GlennGlenn
      Keymaster

      here’s where I’m up to.

      Attachments:
      0
    • #2458 Reply
      AvatarJason Dozier

      That looks awesome!!

      0
Viewing 6 reply threads
Reply To: Text
Your information:




Do NOT follow this link or you will be banned from the site!