Summarize this article in one sentence.
Bats favor dark, quiet hideouts and have an aversion to lots of light and commotion. Try leaving a light on in the attic or another area you think bats might be inhabiting. For a two-pronged approach, you might also invest in a white noise machine and leave it running overnight to double your chances of scaring them off. It's against the law to exterminate bats in places where they're considered a protected species, which means you'll have to find a non-lethal way to get rid of them. Hanging strips of aluminum foil from the ceiling can create a series of obstacles that will disorient and repel bats. Bat boxes are small enclosed structures that provide a hospitable temporary environment for bats seeking a place to roost. The idea is to flush them out of your home while giving them somewhere else to go so that they won't be tempted to return. For people living in wooded areas, bat boxes can be a good way to relocate bats without the need for more costly measures. You can construct your own bat box from scratch or ask your local pest control or wildlife removal service how to obtain one. Set up your bat box near the treeline of your property or alongside your home in a place with ample shade. By fitting suspected entry points with a one-way valve or tube, invading bats will be free to exit a space but won't be able to get back in. This way, bats will simply leave on their own. Exclusion devices are arguably the most effective method for ridding your home of bats once and for all. Denying bats reentry is preferable to trapping them, which is often difficult and dangerous. Exclusion devices can be found at most pet stores and home improvement centers and are relatively simple to install. If you're not having any luck getting rid of the bats on your own, or you suspect you might be housing an entire bat colony, your best bet is to have the problem dealt with professionally. Pest control specialists will be able to pinpoint the places where bats are likely getting in, then remove them and seal vulnerable entry points to keep them from coming back. This will be the safest and most convenient option if you can afford to have it done. In places where environmental conservation is a high priority, you may be able to find a team of wildlife experts to remove bats from your home at no cost.
Create a disturbance to drive the bats away. Set up a bat box. Install a one-way exclusion device. Call a pest removal service.