It's at the base of the passenger rear strut tower in the engine bay, large grey plug with 4 wires inside it, thick black, thick white, thick B/W and a thin blue.
![](./images/smilies/spacer.gif)
Without this connected your car will be dead, you haven't said if anything else is working so ignore this if the window is the only fault, leaving the M2 unplugged would mean the whole cars chassis electrics would be dead.
![](./images/smilies/spacer.gif)