Best way to startup housebot at boot time

General HouseBot discussion. Any issues that don't fit into any of the other topics belong here.
Post Reply
bcoggs
Member
Posts: 18
Joined: Mon Dec 07, 2009 12:23 pm

Best way to startup housebot at boot time

Post by bcoggs »

I have HB running on an XPSP3 box which I access with Remote Desktop which requires that you use a user account with a password.

I want HB to startup when the machine starts up, without waiting for the user account to log in (remotely or locally).

I created a scheduled task to start HB at boot time. This works. However, when I later log in, an instance of HB is already running;

In order to run the HB GUI I must first kill that first instance of HB.

Is there some less klunky way of doing this ? Perhaps have the first instance of housebot exit once the user has logged in ? Or do I have to
write a script which orchestrates the kill/restart on my own ?

Thanks.
..c
roussell
Advanced Member
Posts: 268
Joined: Wed Dec 15, 2004 9:07 am
Location: Pelham, AL

Re: Best way to startup housebot at boot time

Post by roussell »

Here's how I do it on XP:

Download and install TweakUI from Microsoft.
http://www.microsoft.com/windowsxp/Down ... rtoys.mspx
It will allow your PC to auto-login witht he user/pass you want

Select one of the batch or vbscripts from here to place in your startup folder for the autologon user above:
viewtopic.php?f=2&t=856341

HTH,
Terry
markd
Advanced Member
Posts: 234
Joined: Fri Jul 21, 2006 4:32 pm

Re: Best way to startup housebot at boot time

Post by markd »

I do it the same way as Terry, using a script that re-starts HB if it crashes. Works very easily.
Richard Naninck
HouseBot Guru Extraordinaire
Posts: 1121
Joined: Tue Sep 28, 2004 7:49 am
Location: The Netherlands

Re: Best way to startup housebot at boot time

Post by Richard Naninck »

Same here.
I also created a startup script to start the SWRemote. I timed how much time it took for the HB Server to be fully running. It takes a little less than a minute in my case. The SWRemote start script starts from the startup folder and just waits for 60 seconds before starting the SWRemote. So after any reboot, the PC returns into a fully functional HB server with the swremote running.
Post Reply