Forget about ultrasonic repellents and flashing lights - that's money down the drain. What you actually need is to be realistic: if four different bats have found your room in three weeks, it's because your window is basically a highway for them. It's not just that they're looking for a place to sleep, but there's probably a ton of insects flying around your house (attracted by the lights, the humidity, whatever), and the bats know it.
The practical trick that's missing from all that is checking not just the windows, but also tiny cracks around frames, pipes coming in, holes in the blinds, or those weird gaps between furniture and the wall. Bats squeeze through minuscule openings. While you're at it, the obvious stuff works: if you want nighttime ventilation, put up an actual window screen, pulled tight with no gaps. Any old mesh won't cut it; it has to be intact. And consider turning off the inside lights when you have the windows open, or at least switch them to warm-colored bulbs that attract fewer insects.
If they get in anyway, open the window all the way so they can leave on their own (they usually head toward the light) and close it as soon as they're gone. The plan is to make life uncomfortable for them without any violence: no insects, no easy entry, no reason to stick around. Eventually they'll look somewhere else.