In isolated cases, woodpeckers are deemed pests to some people. They become minor pests when the sound of their pecking is an annoyance. Woodpeckers are also considered pests if their hunting or nesting habits are destructive to objects or trees. Even if you consider a particular bird to be a pest, you have to remember: All woodpeckers are protected species! Since you are dealing with a protected species you have to rule out lethal methods such as shooting, trapping or poisoning.
Woodpeckers are difficult to control; a more realistic goal is to simply discourage their activities in a given area. Discouraging birds involves the use of either sound, taste, roosting or visual tricks designed to scare, frighten or otherwise encourage the noisy or destructive bird to seek out a more welcome territory.
Homes constructed of cedar siding, logs or other such materials are sometimes damaged by woodpeckers that are attracting possible mates, sounding out boundaries of their territory, building a nest or just plain enjoy making loud sounds.
The best results to deter woodpeckers have been with electronically generated bird distress sounds and predator sounds, combined with visual scare products.