Skip navigation

JSI Tip 6352. Another way to run scriplets in your logon script based upon whether you are logged on via Terminal Services or not.

In tip 6016, we used an executable to perform complex testing and execution in a logon script, based upon whether the user is logged on via Terminal Services or not.

If you don't need this complexity, you can use one of the following commands:

if defined sessionname call :TScode

if defined sessionname goto TScode.



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish