defaults write com.apple.finder QuitMenuItem -bool NO
killall Finder
defaults write com.apple.finder QuitMenuItem -bool YES