14-03-2014 | Remy van Elst

This snippet shows you how to remove all Apple Remote Desktop settings. My ARD installation recently stopped working correctly, having problems discovering new machines and connecting to already set up machines. These commands wipe all settings and the ARD installation is clean again. This solved my problem.
sudo rm -rf /var/db/RemoteManagement
sudo rm /Library/Preferences/com.apple.RemoteDesktop.plist
sudo rm -r /Library/Application\ Support/Apple/Remote\ Desktop/
rm -r ~/Library/Containers/com.apple.RemoteDesktop
rm ~/Library/Preferences/com.apple.RemoteDesktop.plist
rm -r ~/Library/Application\ Support/Remote\ Desktop/