Again, I must agree with Harold. In order for a bedroom to be legal that must be a second means of egress but that doesn't mean it has to be a window. There is no requirement that a bedroom have a window. Trust, me. I spent 16 months in quarters where my secondary egress was basically a freezer door that was just large enough to meet the requirements. None of the quarters in that space had windows.

