Ok.I well try to help but not 100% on this... I've done mine but by pure luck I have read many threads on this however... With your car off: press the start button to the on position, not starting your car... You can do two at a time, Lower your front two windows more than halfway, then raise the two from your driver side switch all the way up HOLDING both switches WHILE windows roll up and HOLD switches FIVE seconds after windows have closed. Test them by pressing the automatic down switch (all the way down) and also pulling on the switches (all the way up). Repeat for the rear windows. Sunroof will be: open sunroof atleast halfway HOLDING the switch back then close the sunroof completely HOLDING the switch atleast FIVE seconds AFTER sunroof has been closed. Test it out, hold the sunroof switch back a couple of seconds firm and it should be set!! Close it back by holding a couple seconds firm again!!
If that doesn't work try it with the car on!
