A View Inside My Head

Jason's Random Thoughts of Interest
posts - 69, comments - 168, trackbacks - 11

How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

The Problem

The new Zune firmware is out! Yay!

The Zune software still uses BITS as the only means to download the firmware. Boo!

BITS doesn't like being behind a HTTP proxy server that requires authentication. In my particular situation, I must authenticate against a Microsoft ISA Server using Integrated Security (i.e., NTLM authentication) before my machine is permitted to receive files from a remote webserver.

But, by default, BITS doesn't automatically provide your domain user information to the proxy server. So, when the Zune software attempted to use BITS to download the firmware, it failed, and I only got a "C00D11CD" error message.

Those of you following along at home might think that this problem sounds very familiar to this post. In most aspects, it is. However, that previous issue was that the LMCompatibilityLevel registry setting was a value less than 2, which was preventing the ability for BITS to automatically perform NTLM authentication. Now that I'm using Vista (again), that LMCompatibilityLevel setting is 3 by default.

So, that's not the issue.

The Resolution

After researching a little bit, I found documentation pointing to another registry key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\BITS\UseLmCompat

My UseLmCompat setting was a 2, meaning:

2: BITS will send implicit credentials only if the application called the SetCredentials method.

Apparently, the Zune software does not call the SetCredentials method.

A value of 1 would probably be appropriate:

1: BITS will send implicit credentials only if the client computer’s LMCompatibilityLevel registry value is greater than or equal to 2.

But, I didn't want to take any chances, so I chose the value of 0, which means "Just Do It Regardless":

0: BITS will send implicit credentials whenever the server prompts for NTLM or Kerb credentials.

Simply changing the registry entry was not enough for the change to be picked up automatically. I needed to also restart the Background Intelligent Transfer Service itself. Also, the Zune software hung once after I made this change, requiring me to kill the Zune.exe task from Task Manager.

But, after restarting the Zune software, I was able to click the Install button and proceeded to download the new firmware.

The standard disclaimer applies: Use at your own risk... If you're not comfortable editing your registry then don't... Don't call on me for support... I'm not responsible for what you do with this information.

Also, it's probably a good idea to change the registry setting back after you have the firmware downloaded. There was a good reason why that was the default setting.

Print | posted on Tuesday, November 13, 2007 10:11 AM | Filed Under [ Articles Zune ]

Feedback

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Thanks, this error was driving me crazy.
11/13/2007 1:49 PM | TL

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

W00T! Thanks - this is exactly what I needed to get through our NTLM auth-based Squid box at work!
11/13/2007 1:54 PM | Eschatar

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Hey, sorry to intrude, but your blog was the only thing that came up when I Googled this error message that actually pertained to current Zune issues, and not months-old WMP problems.

I understand your solution, but do you have any idea how I could make this work for Windows XP (SP2)? I checked out my registry and, in my BITS folder, there are only two files and neither of them are what you were talking about. Is it just that this solution only applies to a certain connection type you're using, and as a result won't work for my regular DSL line, or is Vista just different in this respect from XP? I'd really appreciate some type of answer! It's frustrating that the official Zune forums and Zunerama don't seem to have touched on this problem, yet.
11/13/2007 6:34 PM | Jeff

# You are the man!

Your post was just in time for solving the pain we all share today. Successfully updated the firmware.

BTW, for Jeff, you can just create the missing key UseLmCompat with value 0. If you are not sure what to do, create a text file with .reg extension, such as bits_update.reg. Copy the following few lines into the file and double click on this file. This key should be created automatically.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\BITS]
"UseLmCompat"=dword:00000000

Good luck!
11/13/2007 9:48 PM | Yi

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

I still can't get it to work on XP SP2. Do you have any more suggestions?
11/14/2007 1:04 PM | Varun

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

I tried adding the key to the registry and modifying another registry as was mentioned in updating from 1.2 to 1.3
11/14/2007 1:06 PM | Varun
Gravatar

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

The post was about how I fixed it for my situation. I don't profess to be an expert in fixing BITS/Proxy/Authentication issues in all scenarios. Zune support, perhaps?
11/14/2007 1:10 PM | Jason

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

I was just hoping either you or someone who read the comments might know what to do. Anyway, sorry to bother you.
11/14/2007 1:16 PM | Varun

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Jeff, if you can find a solution I would appreciate it if you would post it, because I'm currently having the same problem and I spent 2 hours on the phone with Zune support and they have absolutely no clue what's wrong, and I have not found any other posts referencing this error.
11/14/2007 3:07 PM | Brent
Gravatar

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

One critical step that I used to get to the bottom of this was to use Fiddler to capture the HTTP traffic. That's how I got clued in that authentication was the root cause of my particular problem. Perhaps Fiddler will help give you more insight into what's happening in your case.

http://www.fiddler2.com/fiddler2/
11/14/2007 3:23 PM | Jason

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Didn't work for me, I'm using Windows XP SP2. I'm on the phone with tech support, where I've been passed to the second level support person. *sigh* But hey, I hear if you defeat the final support boss, you get 99 lives and a magic sword.
11/15/2007 12:26 AM | max

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

The solution worked for me. I just had to create the new registry key, restart the service, kill the zune processes and voila, my zune's firmware could finally be updated.Thanks a lot!
11/15/2007 1:23 PM | Sergio

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Just to clarify the steps in adding a registry line without creating a .reg file, go to start-->run-->type regedit, click on + next to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows and then RIGHT click on BITS and use New-->Dword from the menu. Name it UseLmCompat and give it a value of 0. Lastly, Right click on My Computer-->Manage-->Services--> and click on Background Intelligent Transfer Service and Restart the service. I appreciate everybody's assistance till this point as this finally worked for me.
11/20/2007 4:34 PM | Joseph

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Adding Registry Key and restarting service worked for me as well.
11/21/2007 9:14 AM | rickeyg

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Here's how I coped with this problem! First of all I had a problem upgrading my firmwre from 1.4 to 2.2. I found on some website an advice- "when you have problem with upgradig your zune do the hard reset.". That,s what I've done unfortunatelly.. for next 2 days I was trying to install any kind of firmware on my 200$brick. It was useless. Finally after reading houndreds of post saying almost the same about regedit and changing regkeys I tried something else. Made second Windows account,reloaded Windows and logged on new account.Next ran services.msc on run menu(after pressin START button). here i found BITS( background Intelligent...). It was running in background while I was trying(again) to upgrade zune firmware with use of the software. At first it failed- famous c00d11cd error occured. So I reloaded the BITS application on services.msc which was running in background. For the second time it failed. After that I turned off BITS application completly. And.. it worked!! At first zune software just only downloaded firmware and stopped. After replaying all this procedure few times more(reseting BITS,running zune software,upgrading) finally I did it!! It worked for me. I'm using win xp sp2 and trying to use zune in POLAND. That's all! Good luck!
11/22/2007 3:17 PM | RODI

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

If the registry edit doesn't work. Try going to this link: http://support.microsoft.com/kb/944938?sd=zune

follow the instructions. If you have updated the software to the most recent version, you should get a message that says something like "your zune software is up to date." At this point, connect your zune player. Open the folder where you extracted the files from the download. Open either the x64 or x86 folder (I think this depends on what version windows you're running; I opened x86). Open the packages folder. Double click both files with the extension ending in enu.exe ( I ran the Hotfix program first). After completing the two processes, open or return to the zune software. Click on device and attempt to update the device again. Hopefully it will be successful this time. Good luck.
11/24/2007 3:47 PM | crazycat 71

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

I was using Windows XP (Service Pack) 2 and received the C00D11CD message when attempting to update the zune firmware.
11/24/2007 3:51 PM | crazycat 71

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

If this method does not work for you, there is a workaround.

Download the FIDDLER2
Check what file ZUNE update is after (It would be a CAB file containing BIN files)
Download the file with the browser.
Extract these BIN files to the ZUNE directory
Run the update. It should work.

If it doesn't, paint the brick in aquamarine color and throw it into the closest water reservoir.

Take care.
11/27/2007 12:57 PM | Dima

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Wait i dont get how to check the whole zune update or what ever u are talking about... how do i do that...
12/2/2007 3:17 PM | Blkshadow8

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Regarding the C00D11CD error, I discovered from MS Tech Support that two ports had to be open on any firewall for the firmware upgrade to complete - TCP/UDP 3704. Evidently this info was on a KB that was visible to everyone - except that line about the required port was 'hidden' so that only tech support could read it.
12/9/2007 8:27 PM | evenkeel

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

This is the longer story behind the above discovery (and corrects the port number - old memory cells):

Having received the dreaded C00D11CD error upgrading my Zune 1.4 (485) to 2.2 (1040) on Windows XP SP2 at home, I searched high and low for a solution. "Google, save me!"

Alas, I have consumed my Saturday looking for a nonexistent fix. Finally, in desperation, I resort to the dreaded support call. Two tech support calls later ... 1 hour and 35 minutes on the last call (and they were planning on resetting my DRM licenses!?!)... and I finally get to Tier 2. Tier 2 has to query a higher level support personnel regarding MY question about what ports must I open on MY firewall before she is directed to MS KB 935570 (http://support.microsoft.com/kb/935570) and reads the ONE piece of information on the ENTIRE article that is hidden from us 'mere mortals':

For firmware past 1.3, ports 3074 TCP and 3074 UDP must be open in order for the firmware to update properly.

<rant>That ONE critical piece of information was hidden from the public eye and for what purpose? To frustrate their customer base? I have NEVER had one minute issue obtaining upgrades of any sort for my iPod ... and I am neither an iPod fanatic nor a Zune fanatic. I just expect that either things will work or the product will have published support articles to permit me to make it work.</rant>

Yes, the problem was that my firewall was blocking a particular port and hanging the update process. But, come on, why can't MS at _least_ make the error state that there may be a firewall issue or even make the non-helpful 'Web Help' link go the above crippled KB article?

I solved my problem by going around my firewall with another available PC. _That_ was easy! Hopefully, this rant of mine will help someone else do something more useful with _their_ Saturday.
12/9/2007 8:30 PM | evenkeel

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

i was having the same troubles as most of yall i would get the famous error code and after about messing with it for 2 days on and off i finaly decided to call microsoft (dun dun dun) so i called and they asked me all the obvious do you have media player 11 are you running xp or vista (im running xp by the way service pack 2) and well she put me on hold prior to her call i had made a seperate account and i called it zune well when i did it the day before it didnt work i turned off my computer for the night and when i turned it back i was already on the phone with microsoft well after we had gone through the obvious she put me on hold and i then went into my other account and opend zune program it was having a problem sync-ing so i put the factory cd in ( i dont know if that s what did the trick or not) and i pluged in my zune and clicked on instal in took a min and it didnt go through so i pushed it again and it finialy worked i dont know what i didi but maybe it can help someone

long story short (new user account, restart, login, run program, put cd in, plug in zune, click instal)
12/13/2007 10:39 PM | xain

# Zune 3.0

Is it the same procedure for the Zune 3, I doesn't work in my case. THKS
9/18/2008 4:44 PM | Papi
Gravatar

# re: How to Get the Zune 2.2 Firmware When Your Corporate Proxy Requires Authentication

Same procedure worked for me when I needed to update to 3.0.

However, you have to consider the possibility that Zune.net might be explicitly blocked by your corporate firewall filter. In that case, even getting BITS to authenticate with the proxy server will not help your machine to download the firmware update.
9/18/2008 6:58 PM | jfollas

# podcast directory

Well said
9/24/2008 1:27 PM | podcast directory
Comments have been closed on this topic.

Powered by: