Advertisements

Archive for December 13th, 2012

Disable and remove .DS_Store files stored on network locations

So today I was going through my Synology NAS and noticed .DS_Store files all over the place.

These are actually files containing extended attributes created by Finder in Mac OS X. But, since they get written out to network locations, they can cause backup and versionining issues.

To disable them from being created on network locations, open a Terminal and run the following

defaults write com.apple.desktopservices DSDontWriteNetworkStores true

(Note: This only affects the currently-logged-in user)

Now in my case, I had these files all over my Synology NAS, so I was able to easily get rid of them by SSHing into the box and running the following:

find / -name .DS_Store -delete

And… done.

Advertisements

, , , , ,

Leave a comment

Fixing “Failed to open Group Policy Object” on Windows 7

When trying to run gpedit.msc, the following message may appear:

Failed to open the Group Policy Object on this computer. You may not have appropriate rights.

Details: Unspecified error

Fix this by deleting the contents of the c:\Windows\System32\GroupPolicy folder.

This will reset your group policy, but it’s already corrupt.

Leave a comment