rdp hand over to normal screen

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
toplad86
Posts: 1
Joined: 17 Feb 2014 10:03

rdp hand over to normal screen

#1 Post by toplad86 » 17 Feb 2014 10:06

hey,


used to use this to log out from an rdp session on my htpc and hand the screen back over to the tv with media portal on screen however since installing windows 8.1 im unable to any ideas?

@ECHO OFF
tscon 0 /dest:console
tscon 1 /dest:console
tscon 2 /dest:console

Sleep 5

start C:\Users\Public\Desktop\mediaportal

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: rdp hand over to normal screen

#2 Post by foxidrive » 17 Feb 2014 17:43

I'm not experienced with your devices, but which part is failing?

When you start the mediaportal - is that opening a folder in mediaportal or is it starting an executable called mediaportal?

mohdfraz
Posts: 69
Joined: 29 Jun 2011 11:16

Re: rdp hand over to normal screen

#3 Post by mohdfraz » 12 May 2014 08:03

toplad86 wrote:hey,


used to use this to log out from an rdp session on my htpc and hand the screen back over to the tv with media portal on screen however since installing windows 8.1 im unable to any ideas?

@ECHO OFF
tscon 0 /dest:console
tscon 1 /dest:console
tscon 2 /dest:console

Sleep 5

start C:\Users\Public\Desktop\mediaportal





open dos and type "query session"
Check for ID number on the Active row.

Then enter the ID number in "ID#" and run this code "tscon ID# /dest:console"

Post Reply