When accessing Windows shared disks from Mac, a .DS_Store file is created in each directory.
To configure not to create .DS_Store files, just run the following command in Terminal and restart.
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
That’s all.
That’s all from the Gemba.