A drive apparatus includes an electrical motor, a power supply unit, a
transmission mechanism, a rail part, and an encapsulating part. The drive
apparatus is moveable between a first position and a second position and
adjustable in these positions and in any position between these
positions. The rail part and the encapsulating part are connected to each
other in a heat-conducting connection. A method for operating the drive
apparatus includes the steps of changing from one operational mode to
another mode and subsequently moving the drive apparatus to a desired
position.