FYI: I believe this works because it saves the string "false", which is truth-y. You can also use:
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool YES