The transmission control unit will not lose the adaptation values upon disconnecting the batteries.
This can only be achieved by deleting the values through diagnostic equipment and, according to the document below (see p23) is recommended upon gearbox, valve body or software change.
BMW gearbox essentials (PDF, 3MB)
It may actually be useful to do this after a diff change with such a large difference in ratios.
This document (forgot about it long ago... ) is an excellent read explaining BMW gearboxes and their inner workings in great detail.
Cheers
Reinhard