Hi, check the relay, mine had a loose joint, resoldered it and sunroof works fine, my car did not have electric windows, so the sunroof relay only operated the sunroof, cars with electric windows have the sunroof relay incorporarting electric windows also.