I was at the dealer last friday and had a new spare key sent to me because the other dealer gave me the wrong set of spares...
the lady SA just sat in my car closed the door turned ignition to 1 then turned off , pressed buttons on the spare and every button works within less than 30 seconds she did that.
I actually printed this:
http://www.xoutpost.com/articles/x5/e...ob-bmw-x5.html
just to make sure if they gave me problems and won't do it for free but they did so I didn't have to program it myself.