I am having "issues" with my Panoramic sun roof as well so I will be following this string closely.
On mine it decided to open by it self on start up and then not close at all but go into "vent" no matter what or how the switch was pushed. I have pulled the fuse after bumping the switch getting the panels close as possbile to the fully closed position.
Any one know where the manual crank is located?
2004 X5 4.8is