Tips & Examples Home automation Tips & Examples provided by the HCA staff and users like you.

Thread Tools Display Modes
Old Oct 10, 2009, 01:36 PM   [Permalink]  #1
HCA Developer
Join Date: Aug 2009
Posts: 224
Rep Power: 8 KHarms is on a distinguished road
Post HCA on Windows Home Server

A few weeks ago we bought an interesting piece of gear to play with at HCA Central. It is an Acer Aspire Easy-Store H340 that runs Windows Home Server.
We bought it from NewEgg but Amazon has it also.

The Amazon page has a really complete review worth reading.

Once important feature of the H340 is that it has no provision for a keyboard, mouse or display. All interaction takes place on other computers over a local network. On each computer on your network you install “Connector” software that lets Windows Home Server backup that machine and for that machine to also open a “console” application that lets you configure and maintain the H340.

If you are not familiar with Windows Home Server (WHS) perhaps you should be. It does a very nice job of backing up computers in a typical small network. It also makes it very simple to share files between computers in a more organized manner. And it does all sorts of other things that I’m not going to talk about here but may interest you – sharing recorded TV and music files are just two.

Anyway we wanted to see if it was possible to get HCA running on the “black cube” – what I’ll call our Acrer H340.

I want to pause and say two things. First, HCA doesn’t run as a service. This has been much discussed over the years, about how a user has to be “logged in” to have HCA working. I’m not going to get into the pros and cons of having a HCA service nor am I going to reveal any possible development plans for the future. What I want to do here is to see, given that HCA isn’t a service, can it still work on WHS?
Second, in this discussion and in our test installation we don’t care much about login security. Again, there are pros and cons of having login security on a home network. For this discussion we are not going to worry much about security.

Given those to premises of this discussion, let’s start.

We installed the Black Cube and configured it according to the instructions. It is very simple to setup. Connect it to the network, plug it in, install the “connector” software on one machine and then follow what the software tells you to do - which really is all about letting WHS update itself. There just isn’t much more than that.
Since later in this installation we are going to want to use the HCA Web Server and because the way our DSL modem/router works when we set up port redirection, we decided to give the Black Cube a static IP address. Once nice feature of the H340 is that it already provides an easy method for that.

Click image for larger version

Name:	whs1.jpg
Views:	1801
Size:	96.0 KB
ID:	77

With that completed we restarted the Cube and continued installing the connector software on the other machines on the network. Everything worked fine. That night all the computers on the network were backed up so we know that WHS is working on our network.

The next task was to get a number of serial ports installed as some of the automation interfaces we use for this test needed serial ports. The Black Cube has USB ports but no traditional 9 pin serial ports. We have had good luck over the years working with the ATEN GUC232A that makes a serial port out of a USB port.

Also on the IOGEAR site is the device driver for it:

One thing we worried about was that it didn’t explicitly say that the driver was supported on Windows Server 2003 – what WHS is based on. But we downloaded it anyway.

We next used the Windows “Remote Desktop Connection” software to get access to the Black Cube.

Click image for larger version

Name:	whs2.jpg
Views:	1737
Size:	22.2 KB
ID:	78

Remote Desktop Connection is simple to use and the program for it is pre-installed on most Windows installations. When we performed the initial configuration of WHS we gave the server a name and a password. Those are the same name and password used by the remote desktop connection.

Click image for larger version

Name:	whs3.jpg
Views:	1760
Size:	45.7 KB
ID:	79
Click image for larger version

Name:	whs4.jpg
Views:	1721
Size:	69.5 KB
ID:	80

Once we had made the connection you can see that WHS is really not very happy with you trying to work directly with the machine so it puts up a message that warns you to be careful. We are going to be doing lots of things that WHS doesn’t want you to do. The bottom line is that we don’t want to do anything to mess up WHS. In the book “Windows Home Server for Dummies” by Woody Leonhard, he says that you should not:
  • Change files in Windows Explorer. We will only be adding some folders and files not changing any existing stuff.
  • Set file or folder access permissions. We don’t do this!
  • Do anything with the Disk Manger. We don’t!
  • Create new shared folders or modify existing ones. We will not!
  • Change user, user groups, add or delete users. We will not do this either! All the work we do is in the Administrator account.
So aside from creating some new folders on the C drive for the HCA installation we will be kind to WHS.

On one of our networked machines we saved the downloaded IOGEAR driver into one of the WHS shared folders so we could get to it when we are working with a Remote Connection.

While connected to the Black Cube with a remote desktop connection, we plugged in one of the USB to Serial widgets. Windows gave us the “New hardware” dialog and we directed it to the folder containing the driver. The driver installer dutifully reported something about how the driver isn’t certified for the operating system but we continued anyway. Turns out that regardless of these messages, the driver works fine. We used the control panel system applet, opened the device manager and saw that a virtual serial port was created for each of the USB to serial widgets we plugged in. The Black Cube has 3 USB ports.

This complete, we then closed down the Remote Desktop Connection.

Now we get into an interesting area that may be – and is to use – a bit confusing. Remote Desktop Connection starts a new “session” on the target computer which isn’t what we want to do. We want HCA to be running on WHS after the machine starts. We don’t want to have to remotely connect and start HCA. Nor do we want to remotely connect and get a new session – one that doesn’t have HCA running. So Remote Desktop Connection isn’t going to work.

What we want is for the Administrator account to get logged in when the computer starts, start HCA, and for us to be able to interact with it. And we can do that.

Since WHS is just another Windows Operating System it can auto logon when the machine starts. We followed these instructions:

We set things up to auto logon the Administrator account. Yes, security people are now becoming very unhappy but we did say we would ignore security.

But how to get remotely connect to that Administrator session? That is where UltraVNC comes in.

Ultra VNC is designed for exactly this, to connect to a session running on another computer. You install the server software on the target computer and the viewer software the other computer you will work from. Download and install of the viewer software went easily. Installing the server wasn’t so simple.

Since the Black Cube has no monitor or keyboard, at this point the only way we had to get to the Black Cube was using a Remote Desktop Connection the same way we got the device driver installed for the USB to serial widget. Luckily we did some research on VNC before we tried to do the install over a Remote Desktop Connection since it has some complexities:

I wish I could say at this point that it all went easily but it didn’t. But after a bit of
work with RegEdit we did get it to work. I wish I could give you the exact steps we followed but, as you can see from the above link, it takes a bit of messing about.
However, once installed UltraVNC works great. The Black Cube boots, it does the auto logon of the administrator account, and starts the VNC service. On another machine we can easily start the VNC viewer and connect to the Black Cube. All great stuff.

VNC does require a password when connecting between the viewer and the server. So there is a bit of security whether we wanted it or not.

At this point we can work with the Black Cube and WHS as if it was just another Windows computer. We copied the HCA install executable and our automation design to one of the Black Cube shared folders. Next we connected to the Black Cube with VNC and ran the HCA executable. HCA installs just like normal. Then we copied all the HCA files for our automation solution from the shared folder to the HCA area of “My Documents”. We started HCA, connected all the automation hardware, and we were ready to go. It all was functional.

The last piece was to make sure that HCA started when the Administrator account logged in. That required, like always, adding HCA to the Windows Startup group and setting HCA to auto load our design file.

And that is really completes it. The Black Cube boots, WHS starts, the Administrator account is logged in, and HCA starts.

A few things we discovered. While the Black Cube doesn’t have a display attached the Windows “Display Properties” can still be set. Up to 2048 by 1536! We selected 1280 by 960 so it would work with the Viewer computer. The VNC viewer has a toolbar that can be turned off so when the VNC window is on the screen, other than the display updating a bit slower than usual, you can easily work with HCA to turn devices on, off, suspend, resume, or whatever. For any real work on the design we would want to do that on another machine then move the design file to the Black Cube when it’s ready for “production work”.

The last piece was to configure HCA to start the HCA Web Server and listen on a port we selected. We didn’t use the 9955 port that HCA defaults to - we picked a different one. We also gave our design a Remote Access Password (Home – Properties and choose the Security tab). Then came configuring our DSL modem to pass that port though – not an easy job and we still have headaches from banging our collectives heads against the wall making it work, but that had nothing to HCA or WHS, blame the DSL modem/router.

We also took some time to install a printer driver on the Black Cube – why not share a printer over the home network? – and also added the Davis Weather Station WeatherLink software for periodic posting of weather data to Weather Underground. All this worked fine.

Was this just an idle experiment in subverting WHS? Not really. HCA runs fine on WHS and WHS stlil does all it is supposed to do. We just took care not to interfere with all the things it needs and wants.

While it would be nice if HCA have a server component and have that install using the “normal” WHS process for Add-Ins (a method for adding services). But that is for the future. For now, we added a great tool to our network – just the backup features alone was worth the $380 – that runs HCA 24/7.
KHarms is offline   Reply With Quote
Old Oct 10, 2009, 03:16 PM   [Permalink]  #2
New Member
Join Date: Sep 2009
Location: New Jersey
Posts: 2
Rep Power: 0 martinb0820 is on a distinguished road
Smile Re: HCA on Windows Home Server

I'm doing something equivalent, but with recycled hardware/software...

I'm using a 1999 Dell P2/450 with Windows 2000 (I know it isn't officially supported but HCA works fine on 2000). I took everything not needed to run HCA (sound card, etc.) out of the box and there is no unnecessary software installed. (When I had HCA running on a PC used for other things I came home to a dark house one night. The power had gone out, and the PC was stuck waiting for a response to a dialog from an application that wanted to download an update, so HCA had not started.)

I only hook up a monitor and keyboard if it won't boot (which has never happened) or need to change BIOS settings. Otherwise, I access it via RealVNC from another PC over a wireless network.

This minimal configuration is very stable and tolerant of the power going out -- it boots up every time and always finds both the Insteon and X-10 interfaces (on the PC used for other things, HCA would frequently time out looking for the CM11A interface because of other software starting).

I know from experience (aren't DLLs wonderful?) that testing/supporting an application on multiple OS verisons is a pain, but I hope that HCA will continue to run on 2000 in the future...

martinb0820 is offline   Reply With Quote
Old Oct 10, 2009, 04:54 PM   [Permalink]  #3
Site/Forum Webmaster
Join Date: Jan 2007
Location: Cambridge, MA
Age: 36
Posts: 140
Rep Power: 0 ewelin has disabled reputation
Send a message via AIM to ewelin Send a message via MSN to ewelin Send a message via Yahoo to ewelin Send a message via Skype™ to ewelin
Default Re: HCA on Windows Home Server

I've started running HCA on WHS back when WHS was still being beta tested. It's a great combo... the features of WHS are great if you have more than one PC in your house, or if you are really concerned about having a solid backup scheme. If you haven't given WHS serious consideration yet, you really should. There is a great writeup on the power of WHS at

I have a home built WHS in a 4U rack mount case in my basement and it's the workhorse of the house. All of our media files (mp3s, home videos, DVDs, photos) and documents are stored on the WHS shares, it's also running SageTV and has 3 turner cards installed in it to do all of the tv recordings. The PC is solid and I never have to worry about it... not bad for a 2.2GHz PC that was a spare unit laying around the house before it got dropped into the 4u case.

Since I built the PC myself, I have a keyboard, mouse and monitor hooked up to it, so installing ultraVNC was a lot easier for me. If you do have a prebuilt WHS box, look into getting a usb monitor adapter, they're a great piece of hardware and allow to easily hook up a monitor to WHS when needed. When I VNC into my server, it's actually a great connection and it's just like interacting with it as if I were sitting in front of the PC in the basement or if HCA was just another program running on my office PC. I'm able to adjust the programs with ease, control devices, etc... in fact I even created a shortcut url for ultraVNC that autologs me into my WHS desktop so I can not get onto it with just two clicks.

One thing I did different than the HCA team did, was that I didn't want to have to worry if for some reason HCA wasn't running, due to a crash or some other failure. It has happen, on rare occasions, in the past and it's disappointing to get home to a dark house at 10pm when the front light should be on. Also our aquarium lights are controlled by HCA so we want to have that peace of mine that HCA is going to be running no matter what if the PC is on. One of the blogs I read had a great article last year on how to Recover Gracefully from an HTPC crash. In the article they talk about a program called Application Monitor and it is quite handy. I followed the guide pretty closely and just set it up for HCA rather than the HTPC software shown.
ewelin is offline   Reply With Quote
Old Feb 07, 2010, 11:16 AM   [Permalink]  #4
HCA User
Join Date: Oct 2009
Posts: 14
Rep Power: 0 Peter847 is on a distinguished road
Default Re: HCA on Windows Home Server

Many thanks for the tutorial on Windows Home Server. I built my WHS system from an old Sempron 2.2MHz system, but I did not use VNC.

I created a new user "HCA" to autologon at startup and when I want to edit HCA I use remote desktop to create a console session, from that session you can switch to the running HCA session from the Task Manager/User tab. When you've finished editing HCA you just have to remember to switch back to your original remote desktop session through task manager and then logout of remote desktop (not end the application).

Hope this helps.

Peter847 is offline   Reply With Quote
Old Mar 14, 2010, 09:18 PM   [Permalink]  #5
HCA User
Join Date: Feb 2007
Location: Richmond, VA
Posts: 68
Rep Power: 0 mjl
Default Re: HCA on Windows Home Server

You can also grab the console session with RDP for a 2003 or 2008 server (and probably home server but I have not tested that) with the following command (in a batch file or cmd prompt).

start /b /D "%HOMEDRIVE%%HOMEPATH%/Desktop/RDP" mstsc HCA.rdp /admin -console >nul

In this example, I have a folder on my desktop called "RDP" which contains all of my .rdp files. HCA.rdp would be the RDP configuration file to log into the HCA box (type mstsc at the cmd prompt, enter the RDP parameters and use "save as" to save the configuration to a file).

I create a batch file which contains only this command, so all I need to do is click on batch file to launch the RDP session.

A simpler example using a target IP address would be:

start /b mstsc /admin -console >nul

Using the .rdp file allows you to save the login credentials - otherwise you will need to type in the username and password each time.

Last edited by mjl; Mar 14, 2010 at 09:19 PM. Reason: typo
mjl is offline   Reply With Quote
Old May 01, 2010, 06:22 PM   [Permalink]  #6
HCA User
Join Date: Nov 2009
Posts: 10
Rep Power: 0 dartz is on a distinguished road
Default Re: HCA on Windows Home Server

When I try to install HCA on my Windows Home Server the HCA installation executable says it can only be installed on Vista ???

Were you running a older version of HCA???

I have 8.x and upgraded to 9.x HCA?

Any help/pointers would be appreciated.
dartz is offline   Reply With Quote
Old May 01, 2010, 07:51 PM   [Permalink]  #7
Site/Forum Webmaster
Join Date: Jan 2007
Location: Cambridge, MA
Age: 36
Posts: 140
Rep Power: 0 ewelin has disabled reputation
Send a message via AIM to ewelin Send a message via MSN to ewelin Send a message via Yahoo to ewelin Send a message via Skype™ to ewelin
Default Re: HCA on Windows Home Server


If my memory is correct, HCA 8 had a special vista only installer, whereas HCA 9 did not have that limitation. I would just re-download the 9.0 installer and go from there. If you don't have the download link for 9.0 contact support and they'll be able to assist you directly.
ewelin is offline   Reply With Quote
Old Jan 04, 2011, 07:33 AM   [Permalink]  #8
New Member
Join Date: Oct 2009
Posts: 7
Rep Power: 0 ArMo is on a distinguished road
Default Re: HCA on Windows Home Server

Would be interested to learn how HCA version 10 working on WHS (Acer) as this might be a driver to buy such a device.
ArMo is offline   Reply With Quote
Old Jan 31, 2011, 07:00 PM   [Permalink]  #9
New Member
Join Date: Jan 2011
Posts: 1
Rep Power: 0 man_on_the_hill is on a distinguished road
Default Re: HCA on Windows Home Server

Thanks for the interesting post. I just bought HCA 10.1 and am planning to install it on WHS, so... useful for me.

A couple of notes:

1) mstsc (remote desktop, RDP) works fine on WHS, I use it in addition to the Home Server Manager all the time. Use the /admin switch to make sure you get the console session.

2)WHS is really Windows Server 2003 with some additional functionality (Drive Extender), so even though MSFT says you can't use it like regular server, it works just fine as (for example) a DNS server. I use mine as a DHCP and DNS server for my network, in addition to it's file serving and backup functions.

2) I have several "don't like to run as a service" apps running on it, and the auto-login stuff works just fine for most of them. Since 3 of them use Serial ports, and my WHS is an Atom-based machine (self-built), I sprung for a Keyspan 4-port USB-to_serial controller ( is one place to find it); it's a bit pricey, but I used to use these things as debugger ports for Windows kernel debugging (client side), and they are bulletproof. Never had a problem with it in the 5+ years I've been using it.

3) The WHS manuals say that you shouldn't log into it directly (or over remote desktop), but I find that works fine as long as you keep your fingers off the disk drives; only access them for management through the WHS console. You can look at files on the drive locally, but that's as far as I'm willing to go.

4) My experimentation with the new version of WHS (not yet out, but in Beta) says that it'll work fine as a host for HCA too, although I haven't tried it yet.

My 2 cents...
man_on_the_hill is offline   Reply With Quote
Old Apr 24, 2011, 01:30 PM   [Permalink]  #10
HCA User
Join Date: Dec 2008
Posts: 18
Rep Power: 0 scottb8888
Default Re: HCA on Windows Home Server

Just got WHS 2008. I have been running HCA 10 on Windows XP. Most of the machines on my home network are MACS. I use VNC to get to the windows machine that I call the "server".

Can anyone give me some advice. Should I load WHS 2008??
scottb8888 is offline   Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 09:25 PM.