Hello everyone!
I got a bunch of Windows 10 LTSC 2019 systems that operate like a Thin Client. I have a Custom User Interface GPO set currently that launches a custom RDP file on login and it works fine. The issue i'm having is when users log off of that... it goes to a black screen. I'd like the RDP session to start at login but also logout of the local system once they logoff or kill the RDP instance. I created a VBScript to do that but it doesn't appear to be working. Thoughts? Thanks!
My Script:
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "C:\Windows\System32\MSTSC.exe C:\Comp\Shortcuts\RDP\TS.rdp", 1, True
objShell.Run "C:\Windows\System32\Shutdown.exe /l", 0, False