I had same issue before, its usually the microswitch hood latch.
But my problem was the door wires were all dried/cracked and made lots of window odd electrical problems....
So maybe check the wires...
cleaned the wires with oxideclean and contact-protect and sealed with rubber.. everything works fine now...