A few weeks ago, I ran quite a few of the commands found at https://github.com/mathiasbynens/dotfiles/blob/master/.osx hoping to get rid of a few of the annoyances on my Mac. Unfortunately, in the process, I must have accidentally configured Finder to open a new window whenever Time Machine runs a backup to the network drive1, and I can't figure out how to put the setting back.
Three of the commands were supposed to make Finder automatically open a new window when a new drive is mounted, so I think this might be what caused the problem:
# Automatically open a new Finder window when a volume is mounted
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool true
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool true
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool true
I've tried reversing the commands by setting the values back to false:
defaults write com.apple.frameworks.diskimages auto-open-ro-root -bool false
defaults write com.apple.frameworks.diskimages auto-open-rw-root -bool false
defaults write com.apple.finder OpenWindowForNewRemovableDisk -bool false
I've also tried deleting the entries like this:
defaults delete com.apple.frameworks.diskimages auto-open-ro-root -bool false
defaults delete com.apple.frameworks.diskimages auto-open-rw-root -bool false
defaults delete com.apple.finder OpenWindowForNewRemovableDisk -bool false
Neither of those have worked. Even after restarting the computer, a new finder opens to the Time Machine drive whenever Time Machine runs a backup.
What can I do to stop Time Machine from opening a Finder window every time it runs?
1 Time Machine is backing up to a Time Machine enabled ReadyNAS network drive.