Page 1 of 1

Windows XP give console back after remote session

Posted: Sun May 17, 2009 10:17 am
by Noel
Not sure where to post this message.

I always use the Windows Remote Desktop Connection (RDP) to manage my domotica server (an EEE box).
Problem with this is that when done with the RDP the domotica server is showing the login page, and as my server has no keyboard attached to it I can not enter a password.

Well today I made a small batch file that will (1) start HSTouch (2) Close the remote session (3) Show the console on the main screen again (give it back to the 1st active user).

All you need to do is create a .bat file (on the domotica server), and put the following in it.
START C:\progra~1\HomeSe~2\HSTouch.exe
%windir%\system32\tsdiscon.exe
tscon.exe 0 /dest:console
Create a shortcut to the batch, and run it when you are done with the RDP.


--
Image

Windows XP give console back after remote session

Posted: Sun May 17, 2009 12:56 pm
by Francois
simple, nice, works!

Thanks, this is something that typically stays on the wishlist forever :)

Francois
________________________________________________________________________________________________________________________

Windows XP give console back after remote session

Posted: Sun May 17, 2009 2:01 pm
by Snelvuur
instead of rdp use vnc, it wont look the screen you will simple just see what the person does on it (if you have a screen attached to it) however not every pc has vnc, but its also a option.

// Erik (binkey.nl)

Windows XP give console back after remote session

Posted: Sun May 17, 2009 4:07 pm
by Noel
VNC, Remote Admin, and many more programs like this was (for me) not an option.
I wanted to use RDP, and with the small batch file it's now perfect

--
Image

Windows XP give console back after remote session

Posted: Sun May 17, 2009 4:45 pm
by TANE
Other option is use a double session in Windows XP.
tweaks for this are somewhere here online.

I agree RDP is the best option..VNC is just to slow

Windows XP give console back after remote session

Posted: Mon May 18, 2009 12:01 am
by Erik
I use a PC without keyboard and screen as HS-server running W-XP.
The issue with RDP is that as soon as you log off there will be no active user left on the server.
Some W-XP services are depending on the settings of the active user.
By example hs-speaker output or any W-XP sounds will be lost if no user is logged on to W-XP.
I use RDP for speed and when finished log-on/off through VNC to restore an active user.

Windows XP give console back after remote session

Posted: Mon May 18, 2009 7:30 am
by Noel
If you use my .bat file the 1st active user will be restored.


--
Image

Windows XP give console back after remote session

Posted: Mon May 18, 2009 10:18 pm
by William.abbo
Why not running HS as a service? I also use my EE-box 'headless' and always use RDP. When I'am finished I simply log off. All applications running on that box are running as a service.

Windows XP give console back after remote session

Posted: Mon May 18, 2009 10:31 pm
by Noel
I have a touch screen attached to it so I can not run it 'headless'

--
Image