Log Off Domains User

Hello,

How can i logoff a domain user when i close the intouch viewer session. We will log off The User from the Terminalserver when close the Intouch viewer Session. Is a way to scription this in HMi Maker ???

Parents
  • So I posted a suggested answer, here is a -not so suggested answer- Slight smile

    InTouch has a big bag of old tricks and one of them is some legacy Tech support script function library..

    Keep in mind that I can not imagine these are supported any longer (well, I know for a fact that it is not...), but you have to decide if it is a suitable solution in your case.

    The script function library for InTouch 7.1 does have a function called WWDosCommand(), this will execute in the shut down script and log your session out.

    WWTSup71.zip

    You need to put the files in your InTouch installation directory (C:\Program Files (x86)\Wonderware\InTouch)

    This will give you the above mentioned script functions and it works (at least in my test) using Version 2023 R2. 

    I want to stress that this is a more "hacky" solution and I would believe what you are looking for is the Terminal Server RemoteApp.

    But at least I have provided the options I know about, even the ones that are on a need-to-know basis . 

    There are some more legacy options, but I'm afraid that the forum admins will close my account for posting them Wink  

Reply
  • So I posted a suggested answer, here is a -not so suggested answer- Slight smile

    InTouch has a big bag of old tricks and one of them is some legacy Tech support script function library..

    Keep in mind that I can not imagine these are supported any longer (well, I know for a fact that it is not...), but you have to decide if it is a suitable solution in your case.

    The script function library for InTouch 7.1 does have a function called WWDosCommand(), this will execute in the shut down script and log your session out.

    WWTSup71.zip

    You need to put the files in your InTouch installation directory (C:\Program Files (x86)\Wonderware\InTouch)

    This will give you the above mentioned script functions and it works (at least in my test) using Version 2023 R2. 

    I want to stress that this is a more "hacky" solution and I would believe what you are looking for is the Terminal Server RemoteApp.

    But at least I have provided the options I know about, even the ones that are on a need-to-know basis . 

    There are some more legacy options, but I'm afraid that the forum admins will close my account for posting them Wink  

Children
No Data