51 23 110 Removing and installing/replacing engine compartment lid lock on left (from 09/2008): Replacement
Engine compartment lid catch with microswitch:
Feed wiring harness (1) completely out of microswitch (2).
Raise retaining tab (3) of microswitch (2) and remove microswitch (2) in direction of arrow.
Courtesy of BMW OF NORTH AMERICA, INC.