How to install Zune software on Windows 2008 R2.

Music makes the coding go better and I’ve come to like the way the Zune software organizes and plays music. So when I was setting up the machine for RobMensching.com LLC (where I would undoubtedly be spending some hardcore coding time), I was disappointed to see that the Zune software refused to install on Windows 2008 R2.

In my experience, Microsoft products that target consumers often disable the ability to install on server operating systems to minimize their testing and support burden. Unfortunately, that means programmers who often use server operating systems as their “all in one” development machine are out of luck. Fortunately, programmers are usually good with software and can find other ways to make it work... even if that means the result isn't supported.

So, if you really want the Zune software and are prepared to go unsupported, follow these few steps:

  1. Download Zune Software - note that there is a 32-bit and 64-bit option. If you're running Windows 2008 R2, you're probably running 64-bit. Pick the right one.

    Note: I download all my software to "C:\Users\robmen\Downloads" so the rest of these instructions will use that directory. In future steps, be sure to change that part of the example.
  2. Start elevated command shell - to successfully install the Zune software, we will need full administrative privileges. The easiest way to do that is start cmd.exe elevated.

    Start Button -> Type "cmd" -> Right click on "cmd.exe" -> Choose "Run as administrator".

    Note: You will be prompted to allow cmd.exe to run, click "Yes".
  3. Extract the files from the Zune software package - it turns out the Windows 2008 R2 condition check is in the bootstrapper not the installation package. So we to extract the Zune software's .msi file.

    Type "C:\Users\robmen\Downloads\zunesetuppkg-x64.exe /x" (without the quotes).

    Note: If you chose 32-bit option in step 1, change the "zunesetuppkg-x64.exe" to "zunesetuppkg-x86.exe".
  4. Pick your extraction directory - the Zune software will prompt you for where you want the package extracted. I chose:

    Type "C:\Users\robmen\Downloads\ZuneSetup" (again, without the quotes).
  5. Install Zune software elevated - elevated is the key word here. The Zune install expects to be elevated when running and will fail if not. Fortunately, in step 2 we made sure our command shell was elevated.

    Type: "C:\Users\robmen\Downloads\ZuneSetup\packages\Zune-x64.msi"

    Note: If you chose the 32-bit option in step 1, change the "Zune-x64.msi" to "Zune-x86.msi".

If all goes well, you should see a progress bar and when it disappears the Zune software should be installed. Remember this isn't a Microsoft supported configuration but I've been using it for a while now and everything works perfectly.

23 Comments

Comment by Jeffamaphone on Saturday, September 12, 2009 8:04 PM

Alternatively, use ORCA and just edit the Condition that stops the server install. :) This is what I had to do to install the Surface SDK on Windows XP (I just wanted to link against it).

Comment by Gus on Tuesday, September 15, 2009 10:32 AM

Rob, any chance you figured out how to get it to work with the latest release (today's)?

Comment by Gus on Tuesday, September 15, 2009 8:35 PM

I haven't tried it but the thing that was blocking me was the fact that it was wanting to download components during the install. I found the full package here though and I'm pretty sure it'll work just fine now.

http://www.microsoft.com/downloads/details.aspx?FamilyID=6136349f-2b32-4946-83b5-a09775531ef4&displaylang=en

Comment by Rob Mensching on Wednesday, September 16, 2009 7:13 AM

@Jeffamaphone, there is no Condition to edit with Orca. The "condition" seems to be hardcoded in the bootstrapper (the ZuneSetup.exe contained in the zunesetuppkg-x64.exe). The instructions above just bypass the ZuneSetup.exe completely and everything works.

Comment by Rob Mensching on Wednesday, September 16, 2009 7:17 AM

@Gus, I don't know. Everything just worked fine for me when I upgraded to latest release. I got the full package first time, it was even still called zunesetuppkg-x64.exe. Maybe I just got lucky. :)

Glad to see you found a work around. Maybe I should update the blog post to include that information.

On a really nice note, the Upgrade logic in the .msi file even removed the previous version of the Zune software without damaging my collection. Sweet.

Comment by Brian on Tuesday, August 24, 2010 8:10 AM

This still works fine for me, just did it to get it running on my windows 2008 r2 box. Happy coding.

Comment by Mike on Monday, November 29, 2010 5:33 AM

worked like a charm - thanks for sharing!

Comment by Mayank on Tuesday, December 07, 2010 1:46 PM

Saved 20 minutes of my life :)

Comment by SqlMonkey on Friday, February 04, 2011 12:45 PM

Unfortunately this isn't working as of Jan 2011. Tried with the steps above and you get a nice screen saying it's not supported.

Comment by Tom on Monday, February 07, 2011 10:31 AM

@SqlMonkey: It looks like they changed the directory structure a bit - try running
%extracted directory%\x64\packages\zune-x64.msi

That worked for me :)

Comment by Stu on Thursday, April 21, 2011 8:43 AM

@Tom: that worked for me too thanks.

Comment by Exotic Hadron on Sunday, April 24, 2011 8:03 AM

Gentlemen,
Any thoughts on whether you need to install complementary software bundled with Zune package prior to installing the zune-x64.msi?
I mean all this
dw20sharedamd64.msi
muauth.cab
netfx64.exe
Windows6.0-KB973442-v3-x64.msu
Windows6.1-KB975469-x64.msu
wmfdist11-windowsxp-x64-enu.exe
stuff.

Comment by Kalen Delaney on Wednesday, May 25, 2011 4:03 PM

I was able to install the Zune software on Win2008R2 in May 2011, but now my phone is telling me that there is an update available. I am getting the same error when I use the Zune software to try to update... i.e. the message that the software is not supported on my Operating System, even though I am obviously already running it on that OS! So, what is the trick to get the phone update to work?

Thanks!
kalen

Comment by Jason on Friday, July 01, 2011 6:31 PM

Rob - Thanks alot for this info! I was able to install it on R2. Makes my day MUCH better!

Comment by Ken on Saturday, July 09, 2011 10:04 PM

We need to get Mark Rusinovich to get these teams in the same room -> WP7, Server, Desktop and BANG their heads together! A _LOT_ of devs use 2008 R2 as their Workstation. Here I am keen to do WP7 apps and I need to get my notebook out (Win 7 x64) just toupdate my HTC Mozart. Oh I give up... :-(

Comment by Michael on Sunday, July 10, 2011 11:43 AM

Any idea how to uninstall it now that I installed it?

Comment by CJ on Saturday, August 13, 2011 12:43 AM

@kalen I did the same and recieved and error on the WP7 phone update.

I had an optional Zune Windows update that I installed and then all was fine.
HTH

Comment by Hans Vredevoort on Tuesday, August 23, 2011 11:29 AM

Perfect guide. Love to have it working on my Windows Server 2008 R2 'workstation'

Hans

Comment by Justin Grant on Saturday, August 27, 2011 2:50 PM

@Michael - to uninstall Zune, in Explorer simply right-click on Zune-x64.msi and select "uninstall". Uninstalling using control panel won't work. I suspect the right-click option works because it hides the UI that normally prevents you from moving further because you're running a Server OS.

Comment by Jeff on Monday, September 12, 2011 11:53 PM

"Here I am keen to do WP7 apps and I need to get my notebook out (Win 7 x64) just toupdate my HTC Mozart. Oh I give up... :-("

Yeah and it's not like you can just start up a Win7 vm in Hyper V...MS doesn't pass through USB to VMs so you can't run Zune or WP7 to a guest OS!

Comment by Shyam on Sunday, September 18, 2011 9:46 PM

Super Thanks ROB ....

Comment by KM on Monday, November 07, 2011 6:30 AM

@CJ: Which optional Windows update did you install ? No love for me either in updating the Zune software on my Win2k8 R2 machine ....

Comment by Don Reynolds on Thursday, December 15, 2011 12:00 AM

I'm in the same boat. I develop in Windows Server 2008 R2 for Hyper-V, SharePoint, etc. My WP7 will be stuck on the old version until they start supporting Zune and the phone updates on Windows Server. It's kind of ridiculous and I am not buying a new PC just to put windows 7 on it so I can update my phone. Why they ever tied updates to a glorified media player, I cannot fathom. They are nice enough to rub it in by flashing that there is an update available on my phone every day, however.

Leave a comment
optional