Uninstalling Twonky and HP Software from MediaSmart Home Server
What do you do to convert a barely useful system into a completely broken system? You release a patch! And so HP set to work to develop and release the long awaited update 2 for the MediaSmart 3.0 software, providing large parts of their customer base with a whole new level of psychological terror. If you’re lucky enough to see TwonkyMedia re-index your entire media collection without crashing in the process, you will be rewarded with ASP.net related error pop-ups and a dysfunctional HP tab in the Home Server Console, a sloppy and bug infested media browser, high CPU utilization and literally hundreds of errors and warnings in the Windows event log.
Like many other users, I have previously spent a lot of time with getting the home server to work somewhat reliably for more than a few days in a row, and I have decided that it’s time to stop playing this game and pull the trigger on uninstalling TwonkyMedia and the HP software alltogether. Despite temporarily losing support for the system health LED, which I haven’t looked into yet, my quality of life improved instantly, and I have not yet regretted my decision.
This article describes the steps for getting rid of the factory malware that ships with the HP home servers. I hope I can encourage others to liberate themselves as well.
Uninstalling
Warning: If you uninstall the HP software as described below, currently the only way to reinstall it later is to re-image the server using the factory CD.
Use Remote Desktop to connect to your home server and perform the following steps:
- Click Start → Control Panel → Add or Remove Programs
- Locate and uninstall TwonkyMedia Server
- Locate and uninstall HP MediaSmart/Data Vault Update (if you have it installed)
- Locate and uninstall HP MediaSmart Server
- Restart your home server to finalize the uninstall.
Fixing up WHS Start Page
When you first connect to your home server with a web browser it shows the WHS start page. Since HP customized this page, you will be redirected to /HPHome and get a 404 – Not Found error, because you uninstalled the HP software. Remote desktop into your home server and follow the steps below to fix it up:
- Open Windows Explorer and navigate to c:\Inetpub\home\
- Open the file WebSites.xml in a text editor
By default the file contents look like this:
-
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-
<WebSites default="HP MediaSmart Server Home Page">
-
<WebSite name="HP MediaSmart Server Home Page" uri="/HPHome" imageUrl="/HPHome/images/server.gif" absolute="false" />
-
</WebSites>
You can either remove the <WebSite> entry or add one or more of your own relative or absolute web site URLs. For example, I added Subsonic as one of the pages as follows:
-
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-
<WebSites default="HP MediaSmart Server Home Page">
-
<WebSite name="Subsonic Media Server" uri="http://your.domain.com:1234" imageUrl="images/subsoniclogo.png" absolute="true" />
-
</WebSites>
Note the subsoniclogo.png image, which I created and placed into c:\Inetpub\home\images\. It will be shown next to the link. Replace your.domain.com:1234 with your server’s domain name or public IP address and port number.
-
Fixing up WHS Remote Page
After logging on to the WHS page, the server will redirect you to the WHS remote page that displays additional options for authenticated users. This page needs to be fixed up in the same way as the start page. Please note that this time the corresponding XML file is located in the remote directory:
- Open Windows Explorer and navigate to c:\Inetpub\remote\
- Open the file WebSites.xml in a text editor
By default the file contents look like this:
-
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
-
<WebSites>
-
<!– This is a Sample Template
-
<WebSite name="An internal Website" uri="/OEM" imageUrl="/OEM/icon.png" absolute="false">
-
</WebSite>
-
<WebSite name="An external Website" uri="http://www.microsoft.com" imageUrl="http://www.microsoft.com/icon.png" absolute="true">
-
</WebSite>
-
–>
-
<WebSite name="HP MediaSmart Server Home Page" uri="/HPHome" imageUrl="/HPHome/images/websites_xml/server.gif" absolute="false" />
-
<WebSite name="HP Photo Viewer" uri="/PhotoViewer" imageUrl="/HPHome/images/websites_xml/photo_view.gif" absolute="false" />
-
<WebSite name="HP Photo Publisher" uri="/PhotoPublisher" imageUrl="/HPHome/images/websites_xml/photo_publish.gif" absolute="false" />
-
<WebSite name="Media Streamer" uri="/MediaStreamer" imageUrl="/HPHome/images/websites_xml/media_streaming.gif" absolute="false" />
-
</WebSites>
Make sure to remove and/or replace the existing web sites since they no longer exist.
-
Notes
Since Backup, Media Center, Media Sharing and Remote Access are provided by Windows Home Server, these features will not be impacted by uninstalling the HP bundled software and continue to function properly.
As a replacement for TwonkyMedia audio streaming I highly recommend the free Subsonic Music Streamer. I was concerned about it being written in Java, but once you have it installed, you’ll ask yourself why you tortured yourself with Twonky. The server is super fast, supports bit-rate transcoding, indexes thousands of MP3s in seconds, includes user account management, has a lot of cool features and simply looks and works great. I wrote a reverse proxy for clean integration into IIS and your WHS home page.
For iTunes support you can continue to use Firefly, which should still be installed. You will have to reinstall Apple’s Bonjour service for Firefly to work properly.
i have had twonky disabled for the last week and a half and have noticed a marked improvement in how the server runs. As of late i was looking into alternative “media servers” with giving much consideration to TVersity simply for the mobile support, i.e. iPhone. While i have been hesitant to uninstall HP supplied software and not knowing what the impact could be, your article may have helped me cement that decision. Thanks for the info !
free at last, free at last! Thank you.
When uninstalling, my bonjour service stopped working and therefore the Firefly media server did not work.
It’s possible to download and install the bonjour service again from Apple: http://support.apple.com/downloads/Bonjour_for_Windows
What would yo use for video streaming?
@carlos
There are few free UPnP video streamers with bultin transcoding. Tversity is one of the populars. My favorite is “PS3 Media Server” which is light and always do the job which I neither I can say on twonky.
For music streaming I use SqueezBox native for WHS. I have few of their hardware players but they also have free software client that works well with their free server.
You can also download and install WMP11 which streams very well but do not transcode. No transcosing is actually a good thing (low on CPU), assuming your player support the codecs you are storing your videos.
Is there any way to fix the LED issue? The blinking is driving me mad. Conversely, is there any way to re-install the HP mediasmart software without doing a server refresh? Thanks.
@James: thanks for the tip! I will update the article.
@carlos: I’m not using video streaming, so I do not know what the best solution is at this time.
@Ivan: I did not yet have time to look into the LED issue. Some people on the mediasmartserver.net are reverse engeering the LED drivers and hardware, and I think there already is a tool for Linux now. Unfortunately, there is no such tool for Windows yet. I would like to write one, but it’s definitely super low on the priority list.
I wrote a reverse proxy for use in IIS 6.0 with focus on Subsonic and Windows Home Server. The program is free and comes with full source code. A description and installation instructions can be found here: http://blog.gerke-preussner.de/2010/03/asynchronous-streaming-reverse-proxy-for-iis-6-0/
Just a question : if removing twonky and HP mediasmart server, will it still be possible to backup Macs and share folders without problems ?
Yes, you can still share folders and backup Macs through them. I have a Mac Mini as part of my home network, which I’m backing up daily to my WHS. I use SmartBackup as the backup software; I haven’t tried Time Machine.
I am sorry I read your post and followed your advise. It will now take a lot of hours to fix it and get my sysem back were it was.
You should at least warn readers that only way to reinstall mediasmart is through complete OS reinstallation. No one expects that when just from uninstalling an application using add/remove software
Jon, I’m not sure why you would want to reinstall the
HP software, but yes, the only way to restore it is to re-image the server, because HP does not provide a separate installer at this time, at least as far as I know.
Personally, I have not rebooted my WHS since I wrote this article, and I still don’t have a single error or warning in my event log. Also, the server idles at 0% CPU – as it should be. It seems that Microsoft has done a fantastic job on the OS itself.
Nevertheless, I added a warning to the article, as suggested.
Gerke, there are few reasons such as the leds and HP status page which was nice. However the main issue is since I did the uninstall the fan is always at high speed which makes the unit noisier than usual.
I think the best treatment is to uninstall the updates and twonky, but keep main app (skip step 4 in your post) and turn off the HP auto update from the whs console.
I too did not have to reboot the server for months until those updates came.
Is it possible to only uninstall Twonky and replace with the Subsonic software?
I deinstalled twonky (whithout replacement) and got lots of errors … after a few reboots everything came back to normal. the HP software states Twonke as disabled and I got no more errors … and less cpu usage.
the moment anyone tells me how to install the led and health service only I will remove the HP software.
There is really not a single usefull feature for a small business server (DataVault) in it.
I performed all the steps described and now I have a back-to-basic WHS server without all that junk software – media collector, twonky and other programs that never worked anyway. My Event Log is no longer filled with red errors and warnings and I am no longer forced to reboot the server every other day.
The only thing I miss are those pretty LED strips (they all go out when uninstalling the HP software), and also the health light, which also goes black. Other than that, I am pleased. Thank you!
//Tom
While the title gives hope for a fix to the Twonky nightmare and don’t get me wrong, good work!, I don’t see this as a fix, per say.
If I am going to uninstall twonky (which I would love to do) I will need something to replace it with. While I have no doubt that sonic is good for music, what do we do for the rest.
Music/Pictures/Movies/DLNA will all need to be addressed, not to mention the lights, which is really kind of needed for drive health.
What I have to offer, not just wineing, RemotePotato might be a good replacement, but, still the lights and DLNA.
All I’m saying is to anyone that is thinking about this, If all you want is to stream music and don’t mind losing the health lights, go for it, if you need more, make sure you still have your server restore disk and all your folders backed up.