For the windows, press the down button until the window is all the way down and hold for 5 seconds, then immediatly press the up button until the window is all the way up and hold for 5 seconds. You should then get the message window set. Same thing for the sunroof.