I came across this useful article on the apple support site. This explains how to prevent Mac OS creating .DS_Store files onto network shared drivers, like Windows Home Server (which I use).