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
  • Hi Patrick,

    You might want to look in to the Terminal Server feature RemoteApp.

    It allows for isolating a program in a session, for example view.exe, the connecting user will be interfaced with this program only, and will not have access to any desktop or start menu.

    When Window Viewer is closed, the session is logged out and the terminal server session is closed.

    Executing a .bat file that logs out works, but not in the Shutdown script, it will not execute the StartApp() command needed when closing the program.

    But you might work around it by creating your own close button.

    Create a .bat file with the command to logoff 

    There might be some other creative solutions out there but these are the things I can think of that does not require to much effort.

Reply
  • Hi Patrick,

    You might want to look in to the Terminal Server feature RemoteApp.

    It allows for isolating a program in a session, for example view.exe, the connecting user will be interfaced with this program only, and will not have access to any desktop or start menu.

    When Window Viewer is closed, the session is logged out and the terminal server session is closed.

    Executing a .bat file that logs out works, but not in the Shutdown script, it will not execute the StartApp() command needed when closing the program.

    But you might work around it by creating your own close button.

    Create a .bat file with the command to logoff 

    There might be some other creative solutions out there but these are the things I can think of that does not require to much effort.

Children
No Data