diff --git a/README.md b/README.md index fbb2244..1d706b4 100644 --- a/README.md +++ b/README.md @@ -121,11 +121,11 @@ find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |\se #### Remove Apple Remote Desktop Settings ```bash -sudo rm -rf /var/db/RemoteManagement && \ -sudo rm /Library/Preferences/com.apple.RemoteDesktop.plist && \ -rm ~/Library/Preferences/com.apple.RemoteDesktop.plist && \ -sudo rm -r /Library/Application\ Support/Apple/Remote\ Desktop/ && \ -rm -r ~/Library/Application\ Support/Remote\ Desktop/ && \ +sudo rm -rf /var/db/RemoteManagement ; \ +sudo defaults delete /Library/Preferences/com.apple.RemoteDesktop.plist ; \ +defaults delete ~/Library/Preferences/com.apple.RemoteDesktop.plist ; \ +sudo rm -r /Library/Application\ Support/Apple/Remote\ Desktop/ ; \ +rm -r ~/Library/Application\ Support/Remote\ Desktop/ ; \ rm -r ~/Library/Containers/com.apple.RemoteDesktop ```