WARNING: This page is about a different car, the 2013 BMW X5 M, 2012 BMW X5 M, 2011 BMW X5 M, and 2010 BMW X5 M. However, it is still accessible from the selected car via links, so may be relevant.
Close lid of glove box (1) to prevent microswitch control from being damaged.
Pull out glovebox (1) slightly.
Disconnect all plug connections (2) and detach cable from glovebox.