Windows XP give console back after remote session

Forum about other Home automation topics which can not be categorized in any other forum. So this needs to be Home automation Domotica related! (otherwise use Off Topic)
Post Reply
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post 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
Francois
Member
Member
Posts: 255
Joined: Mon Apr 21, 2008 3:16 pm
Location: Netherlands

Windows XP give console back after remote session

Post by Francois »

simple, nice, works!

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

Francois
________________________________________________________________________________________________________________________
User avatar
Snelvuur
Forum Moderator
Forum Moderator
Posts: 3156
Joined: Fri Apr 06, 2007 11:01 pm
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post 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)
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post 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
User avatar
TANE
Forum Moderator
Forum Moderator
Posts: 4806
Joined: Fri Apr 06, 2007 9:46 pm
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post 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
Erik
Starting Member
Starting Member
Posts: 45
Joined: Thu Dec 04, 2008 7:42 pm
Location: Netherlands

Windows XP give console back after remote session

Post 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.
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post by Noel »

If you use my .bat file the 1st active user will be restored.


--
Image
William.abbo
Member
Member
Posts: 105
Joined: Sun Mar 08, 2009 11:05 pm
Location: Netherlands

Windows XP give console back after remote session

Post 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.
User avatar
Noel
Senior Member
Senior Member
Posts: 1887
Joined: Tue Feb 12, 2008 12:13 am
Location: Netherlands
Contact:

Windows XP give console back after remote session

Post by Noel »

I have a touch screen attached to it so I can not run it 'headless'

--
Image
Post Reply

Return to “Miscellaneous Home Automation topics”