I have the plug in things...."Rid-X"...evidently emit an ultrasonic sound that deters the critters...and they work! :)
Before I got those, I cleaned out the hall closet one day and found what should have been an empty box FULL of dog food...little critter was storing up for winter, I guess!