Logon Server returning logonserver

Forums Desktop Info Logon Server returning logonserver

Viewing 5 reply threads
  • Author
    Posts
    • #2459 Reply
      AvatarJosh

      Using this line in my .ini “ENVVAR=active:2,text:Logon Server:,key:logonserver,style:b,” I’ve noticed some machines are returning “logonserver” instead of the actual server name.

      Not sure what would be causing this.

      0
    • #2460 Reply
      GlennGlenn
      Keymaster

      do these machines have that environment variable set? have you tried a different environment variable?

      0
    • #2462 Reply
      AvatarJosh

      I do not recall setting that as an environmental variable for any of the machines. Are you talking about setting it under Windows? Forgive my ignorance. 🙂

      Currently that is the only ENVVAR I’ve tried with DesktopInfo.

      0
    • #2463 Reply
      AvatarJosh

      Side note, I have had success using this line output the logon server.

      CMD=active:2,file:powershell.exe,directory:c:\temp,parameters:-noprofile -command $env:LOGONSERVER,text:Logonserver:,style:b,

      0
    • #2466 Reply
      GlennGlenn
      Keymaster

      I think you’re seeing the %1 return value. You need to set the display option to show the correct return value:

      ENVVAR=key:logonserver,display:%2

      I might change the default of that item.

      1+
    • #2470 Reply
      AvatarJosh

      Thanks Glenn, that corrected the issue.

      1+
      Glenn
Viewing 5 reply threads
Reply To: Logon Server returning logonserver
Your information:




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