New
#1
Close remote desktop session and launch an executable
Having a Windows 10 Enteriprise 2016 LTSB installed on an industrial PC for a totem with a touch screen.
This PC run a client application, for simple operations I need sometimes to access the PC with Remote Desktop from a remote location.
Finished my activity if I simply exit from Remote Desktop the PC will show a login screen to the users, obviously not what wanted
Using a .bat script with
as administrator I'm able to leave the session and the PC didn't show the login screen, but shows the desktop, again not what I wanted.Code:tscon.exe 1 /dest:console
Adding this command before the other
it launch the client but didn't close the session.Code:start "" "C:\Users\User\Desktop\BikeCube\BikeCube.exe"
There is a way to close the session and immediately launch the client, or the opposite.
The final status need to be the the touch screen with the client app opened.