I was able to limit the wren intrusions on my bluebird boxes by building nest boxes that are purpose built for wrens. It helps but does completely stop them from building nest everywhere and on or in anything.