How to prevent the creation of .DS_Store files on network volumes

This KnowledgeBase article explains how to prevent OS X from creating new .DS_Store files when opening folders on remote volumes mounted using SMB/CIFS, AFP, NFS, and WebDAV. The creation of .DS_Store files (and more so, ._AppleDouble files which are not covered in this hint) is frequently the source of complaints against Mac users, who often leave a trail of these files scattered throughout the filesystem when “visiting” a Windows computer. Even with this hint in place, the .DS_Store files will continue to be created on local volumes (which is a good thing).

To prevent the creation of these files, open the Terminal and type:

defaults write DSDontWriteNetworkStores true

It may be necessary to log out and back in, or even to restart the computer (which is what the article states), for the change to take effect.

Note: Most of the settings controlled by data in .DS_Store files are “cosmetic” in nature — for example, Finder window position, view style, icon position, etc. However, .DS_Store files in OS X also store Finder “comments” so in this sense, disabling .DS_Store files may result in loss of data.

8 thoughts on “How to prevent the creation of .DS_Store files on network volumes

  1. One’s first step in wisdom is to kuesteon everything – and one’s last is to come to terms with everything.

  2. Thanks for posting this article. I’m unquestionably frustrated with struggling to search out germane and brilliant commentary on this topic. Everybody now goes to the very far extremes to either drive home their viewpoint that either: everyone else in the planet is wrong, or two that everyone but them does not really understand the situation. Many thanks for your succinct, relevant insight.

  3. I love Prezi! It is so nice to have a new option for visual presentations. Just a couple suggestions:
    1. have an option to print sections so that this can be done if necessary.
    2. when you want to delete a presentation it asks if you are sure but ther is no “Yes” button, only “No.” So not able to delete presentations.

  4. Amazing blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple tweeks would really make my blog jump out. Please let me know where you got your theme. Appreciate it

  5. Hello! This is our very first remark here therefore i simply wanted to present a simple yell away and tell you We honestly take pleasure in examining your site blogposts. Could you recommend any other weblogs Per sites Or community forums which cover exactly the same matters? Enjoy it!

  6. This website is really a stroll-by way of for the entire info you wanted about this and didn’t know who to ask. Glimpse right here, and you’ll definitely uncover it.

  7. In my opinion that a foreclosed can have a significant effect on the debtor’s life. Mortgage foreclosures can have a Several to few years negative impact on a applicant’s credit report. A borrower that has applied for home financing or just about any loans for example, knows that a worse credit rating will be, the more complicated it is for any decent financial loan. In addition, it could affect any borrower’s chance to find a quality place to lease or rent, if that becomes the alternative homes solution. Thanks for your blog post.

  8. I wanted to draft you a little bit of observation to finally say thanks once again on the striking views you’ve shown above. This has been quite extremely generous with you to allow easily all that a lot of people could possibly have distributed for an electronic book to earn some dough for their own end, specifically since you might well have tried it if you considered necessary. These principles in addition acted like a great way to comprehend other individuals have similar dream just as my personal own to find out more and more in respect of this matter. I believe there are some more pleasant situations in the future for people who examine your blog.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s