Yes, you can run a dehumidifier with the windows open if the temperature outside is cooler than inside. The dehumidifier will help to remove moisture from the air, which can help to prevent mold and mildew growth.