Really sounds like an earthing issue, are the terminals clean and the hole to which they attach clean? The basic explanation is;
When a device like a window operates, current flows from the supply, in this case, a battery, through a fuse, through a relay and then to the motor. If the earth is...