Building HTPC: The Software
Setting up a HTPC for the first time can be a bit of a daunting experience. There are so many hardware choices which seem so critical, and then you have to install and configure everything – it’s times like this DVR/PVR’s look appealing by only needing to be plugged into the TV and turned on.
This started out as a quick seven-ish step guide to Vista Media Center, but it just kept growing. As I discover (or other people point out) any steps or general information that is missing I’ll continually update the article
-
Install Vista Home Premium or Ultimate.
Both the 32bit or 64bit versions of Windows will work fine. For the record, I’m still using a 32bit for my HTPC, but on my desktop I’m running 64bit which plays back every file format I’ve tried.
-
(Optional) Vista Home Premium Network Share Interaction
If you’re installing Home Premium and using password protected network shares, you’ll probably notice that upon every reboot (thanks to Chris Mayer for pointing this bug out) network shares will be lost, or you’ll have to reenter network credentials to open a networked folder. Unfortunately, it isn’t a “bug” as such, but a “by design feature” for Vista Home Basic and Premium.
The first fix everybody will point out is to go to the Windows Credentials Management tool in Control Panel -> User Accounts, but unfortunately this is unavailable.
There are a few “solutions”:
- Allow anonymous access to your media shares
- Use a script on login, net use \\server drive: /user:username password. This means your password will now be stored in a plain text file.
- Make your HTPC’s user account match that of your network share. ie \\yourserver requires “foo/bar”, so your HTPC’s username is foo, with a password of bar. It will never prompt for the username or password.
The last is the only real “secure” option, and also probably the easiest to setup. Combine that with auto-login (below), and the username/password aren’t an issue.
-
(Optional) Enable Auto-User-Login
If you’ve got a password on your HTPC’s user account, by default it will prompt every time you turn the machine on, which is disastrous for machines that are operated by remote only. You can get around this by enabling auto-login.
Into the start menu type (minus the quotes), “control userpasswords2″ to bring up the Advanced User Control Panel.

Select the account you want to automatically logon, then untick “Users must enter a user name and password to use this computer“, and a prompt will appear asking for the username and password.
(Thanks to Vince Koser for pointing out how useful this could be for a HTPC!)
-
Install all the latest drivers.
Generally you can just discard the CD that came with your devices, as they’re usually horribly out of date.
If you don’t have access to another computer with a USB key and Windows hasn’t picked up your network card, you may need to use the motherboard/network card CD to install those drivers to get online. -
Setting up sound
Depending on both the capabilities of your HTPC and your sound systems, you need to set your default sound playback device appropriately.
This dialogue can be found under Control Panel –> Sound.
Analogue outputs (usually a green 3.5mm stereo jack on your motherboard) will appear as speakers or headphones
HDMI, Optical and Coax will all appear with a similar SPDIF/Digital Output Device.Word of caution, updating your video drivers may reset your audio choice if the video card includes audio out over HDMI. This happened recently to me.
-
(Optional) Enable Remote Desktop.
If you have Vista Ultimate, you can setup Remote Desktop so that you can perform maintenance without having to plug a keyboard and mouse into your HTPC.

Control Panel –> System –> Remote Settings –> Allow connections
-
(Optional) Remove Password Policy For RDP
Control Panel –> Administrative Tools –> Local Security Policy –> Security Options
- If you chose to enable RDP, but don’t want to have a password on your user account (which RDP requires by default), change “Accounts: Limit local account use of blank passwords to console only” to Disabled. Be warned, this obviously is a bit of a security risk, make sure you have other security procedures in place. It is easier/more secure just to enable auto-logon for the HTPC.
-
(Optional) Install/Configure VNC.
VNC is an open source protocol for cross platform remote connections. Vista Home Premium doesn’t come with Remote Desktop (it has the client but not the server portion), so this will do the same job as in step 3.
-
Install all Windows updates
The big one to look out for is obviously Service Pack 1 for the fixes to file transfers, but generally get any and everything that’s available.
-
Run/Configure Windows Media Player
Windows Media Center and Media Player are very closely linked – you can’t have the two of them playing separate files at the same time because WMC relies on WMP for playback.

Ripping settings are probably the only that cannot be accessed within Media Center itself. In the Rip Music tab of Options, the highlighted values are what you need to change.Rip Options
-
Rip Location
Since I store my music on my server, I’ve changed the rip location to there, if you keep it on your HTPC, you might want to change partitions/etc.
-
Audio format
Your choices are WMA, WMA Pro, WMA (Variable Bit Rate), WMA Lossless, MP3 or WAV.Personally, I use WMA VBR, because the quality is good enough but not as space consuming as WMA Lossless. I’m not suggesting either WMA or MP3 is a superior format, but not all MP3 encoders are created equally. If I was to use a MP3 encoder, it would be LAME, not a Microsoft one.
-
Audio Quality
Given how cheap hard drives are these days, always push the slider towards the best quality end.
-
-
Install codecs
Codecs allow you to decode (and sometimes encode, the word codec is short for “compressor/decompressor”, although often the encoding part isn’t implemented) video and audio. Windows Vista ships with a very limited number of codecs (mp3, mpeg2, VC1/WMV9), so other common files like DivX/XVid, H.264 etc won’t play back.Windows 7 will be shipping (and even the pre-release versions have them) with video for MPG4 (DivX/XviD) and H.264 as well as more advanced audio codecs – all my AVI files played back fine. However, the Matroska file format (MKV extension) is not natively supported, so something still needs to be installed for that to be played back.
My codec recommendations for Vista are:
- ffdshow – either grab the latest tryouts, or the CCCP codec pack is a nice bundle/preconfigured set
- and CoreAVC Pro; its a very fast software H.264 decoder, although its not free (make sure you uncheck “Haali Media Splitter Install” disabled if CCCP is installed)
-
(Optional) Install HD-DVD/Bluray playback software.
The options are PowerDVD Ultra, WinDVDPlus, or Total Media Theatre. Only TMT has integration with Media Center where it places a launcher app, and when it closes restores Media Center. The latest versions of PowerDVD Ultra (v8+) do not playback HD-DVD’s anymore.
Don’t forget to configure whatever application you choose for Hardware Acceleration
-
(For Australians) Install and donate to FreeEPG
In Australia, the other choice is the more expensive IceTV service. Over-the-Air (OTA) EPG information is very basic/unreliable and really only gives you now/next, but with FreeEPG, you get at least 24 hours in advance, but more often 7 days in advance.
-
Install Video Browser
It rocks so much, it’s not optional. Okay, I’m a little biased being on the development team, but WMC’s management of video hasn’t evolved to keep up new media centers like Boxee or XBMC. Specifically, those other players can get/reader metadata, display posters, and generally organise better.

Default video navigation in Media Center
Video Browser, same view but with the help of posters
and metadata, its a lot more manageable.
Video Browser, alternative view, yay for the power of choice(click any image for a larger view)
Video Brower and Open Media Library are two addins (I’m sure there are more) that give a lot more control of managing videos in Media Center.
-
Run Media Center
- Use the wizard, configure TV tuner/EPG information (“The Guide”)
- Add folders to monitor
- Tasks –> Settings –> General –> Startup & Window Behaviour: Set to start WMC when Windows start
-
Power Settings
Control Panel –> Power Options–> Change Power Settings
- Set the computer to go to sleep after however long you like, I have it set to 30minutes.
- (Still in the Power Options) Advanced –> Sleep –> Allow Hybrid Sleep –> Off
Unless you set this to off your Media Center will not send itself to sleep
Additional Settings –> Require a password on wakeup –> Setting: No
Setting this to no means you don’t have to click to log back into your media center after waking it up- Download and install MCE Standby Tool (MST)As stupid as it sounds, Media Center won’t idle to sleep unless it is at the main menu.
With the help of the MST, you can set a whole bunch of options to make your HTPC as energy efficient as possible.
-
(Optional) These are somewhat less recommended and if you’re still having problems with your HTPC turning on/off when you don’t want it to without reason.
- Windows Updates –> Change Settings –> Set to manual so it doesn’t automagically install OR download.
This does mean you should from time to time install - In Media Center –> Tasks –> Settings –> General –> Optimisation –> turn off/disable optimisation
- Start –> All Programs –> Accessories –> System Tools –> Disk Defragmenter–> Untick ‘Run on a schedule (recommended)
- Windows Updates –> Change Settings –> Set to manual so it doesn’t automagically install OR download.
-
(Optional) Cleaning up MP3/WMA Metadata
Media Center (and most music players these days, be it portable players like an iPod or Windows Media Player) use metadata to identify media these days, and in the case of music, it’s ID3 tags. You can use Windows Media Player (although I strongly recommended against it) or iTunes to manage metadata, but if you prefer to more control, Mp3tag or Tag&Rename (better but not free) are great tools for editing a host of audio formats (including but not limited to, MP3, AAC, WMA, FLAC, OGG).
To batch download album art, it’s hard to go past Album Art Downloader
Still got problems?
There are two fantastic community sites that may be able to help you out, The Green Button and XPMediaCenter.

w00t, go the Frooshinator! :D
Excellent summary, now I just need a HTPC and some spare time & money…
It’s an awesome name for the server :D
Great tips there Paul, I think you may have pointed me in a good direction for issues I am having with sleep and my HTPC.
One point, do you really think Home Premium is good enough if you want to stream media across a network? Home Premium seems to be configured to not be able to remember network passwords.
Having not run Home Premium on my own network, I didn’t realise this was the case. A quick google confirms you’re correct though.I’ll update the guide when I have a workaround (need to setup VM’s and whatnot first), I’ve already got a theory or two :)
Took a bit longer than I wanted, VPC wouldn’t install, switched to Win7 in frustration. Updated the guide with a “workaround” for Home Premium.
Great post, good information here. Will video/media browser with work extenders in particular the xbox 360?
I’m still trying to determine if I want to use one of them many transcoders or just convert all my files/DVD’s to mp2 files.
I have MyMovies installed, but I’ve only converted one of my files to mp2 to test with and I haven’t installed any of the transcoders yet.
I have a lot of TV I’ve downloaded so something that will include the metadata from the web on these TV shows would be better than what MyMovies has right now.
Yep, MediaBrowser/VideoBrowser are meant to work with extenders, although I don’t know how well (I only have one TV, so either the HTPC or Xbox360 is turned on at any one time ;))
It won’t get around any codec problems with extenders that Media Center doesn’t already handle however. I think.
MP2? Isn’t that an audio format?
hi-ya, great writing.