Disable “Go to folder” in OS X

The Go To Folder command is the most useful features in the OS X Finder. If you want to lock down a Mac a bit more than usual, you can disable the Go To Folder menu option and keyboard shortcut using a defaults write command:

defaults write com.apple.finder ProhibitGoToFolder -bool true

To make the command take effect, you need to restart the Finder.

killall Finder

Revert to the default setting:

defaults write com.apple.finder ProhibitGoToFolder -bool false

Restart Finder