Use to have this on my Renault when i disconnected / reconnected the battery.
Just needed to reset it using somthing like the following.
Fully open the window and continue to hold the switch for a further 5 seconds, then close the window and continue to hold the switch for a further 5 seconds.You might need to do this a few times before it resets the windows. This should reset the automatic window functions.