You guys really should read up the instructions for reinitializing the sunroof in TIS:
https://www.newtis.info/tisv2/a/en/f...nroof/1LMfmNXx
You press the lift button to raise the vent an then keep holding it for 30 seconds until the initialization routine begins. Then KEEP holding the lift button pushed until it is done. It will open and close the shade, open and close the glass. Keep holding it until it finally stops moving. If you let go at any time you will have to start over.
If you owned a older BMW you may be thinking of the simpler window and sunroof procedures but that isn't the case here. Also your supposed to do it when the roof is warm but not in the sun and with a full battery, because a lot of this is really about memorizing the current draw so it can sense obstructions, pinching, jams. Given this is wintertime I guess you just do what you can.