If you’ve got a machine which you are using to display and advertisement or a presentation and you would like to display the presentation using F5, and not have to physically go to the computer to log back in, then this little script is for you!
Simply create a batch file using notepad, and put the following inside the .bat:
tscon.exe 0 /dest:console
Save the file and inside ur presentation link the action of a click on a picture or shape to the batch file. Start the presentation and go to full screen F5 and then click on the picture or shape in the presentation. You will be logged out of remote desktop and the presentation will appear on the screen.