Moore Solutions

I.T. fixes & Information for just about anything…

June 7th, 2011

Do you use Mac’s and PC’s to access network drives simultaneously? Do you find after you have browsed a network folder structure on your Mac when viewing the same network folder structure on a PC that each directory is littered with .DS_Store temp files?  If the answer is yes to both of these then read on…

To configure a Mac OS X user account so that .DS_Store files are not created when interacting with a remote file server using the Finder, follow the steps below:

Note: This will affect the user’s interactions with SMB/CIFS, AFP, NFS, and WebDAV servers.

1. Browse with “Finder” to the “Applications” folder on your “Macintosh HD”.

2. Double tap on the “Utilities” folder.

3. Navigate to “Terminal” and double tap it.

4. Type or copy and paste the following command:

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

5. Close “Terminal” and restart your Mac.

6. On your PC browse your network drives with Windows explorer and delete all the .DS_Store temp files and you’re done.

The following Mac O/S’s are affected:

Mac OS X Server: 10.4, 10.5, 10.6 & 10.7

Mac OS X: 10.4, 10.5, 10.6 & 10.7

Note: This is profile specific, if you want to prevent .DS_Store file creation for other users on the same Mac, log in to each user account and repeat the steps above—or you can copy the newly modified com.apple.desktopservices.plist file to the ~/Library/Preferences folder of other user accounts.

These steps do not prevent the Finder from creating .DS_Store files on the local volume.

  • admin (20)
  • Comments are closed.