Increase windows heating by installing a more powerful battery;
In order not to sweat the window in the apartment, either do not allow cooling the glasses to the level of the dew point, or lower the humidity in the room to the norm. As a rule, these two methods together solve the problem.