No reprogram but you may need to reset your clock and radio settings. Registering the battery should be dome where you buy it ,, if you want a warranty
Tom's right, the Battery in your car doesn't need to be registered or programmed to the battery management system in your car like the newer models do. For the X5 it was model year 2007 and up that requires it.
Looking for a Used X5 in your area?
CarGurus has 15,565 nationwide X5 listings starting at $2,500.
Search BMW X5 Questions
Are you a UK consumer? CarGurus now has a discussion forum in the UK.
BMW X5 Experts