Increasingly stricter regulations, resulting from the environmental effects of pesticides, are leading to more attention on preventive measures that will keep rats and mice away. One solution for that demand is to use an ultrasonic mouse repeller. And you can deter mice from a building by sealing all cracks and seams, so that they cannot get in.