Even if the coop has tons of windows, there seems to be a phase when they won't go in.
I use a battery operated puck light, turn it on an hour before roost time, turn it off when I lock up after dark. Usually only need to use it for a few nights, then they get with the program.