Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Completely uninstall Apple Remote Desktop Admin' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Completely uninstall Apple Remote Desktop Admin
Authored by: matt.simerson on Oct 21, '08 10:52:07AM
#!/bin/sh
#this will uninstall ARD admin and all it's components so you can reinstall 

for file in 
"/var/db/RemoteManagement" 
"/Library/Preferences/com.apple.RemoteDesktop.plist" 
"/Library/Application Support/Apple/Remote Desktop" 
"/Applications/Remote Desktop.app" 
"$HOME/Library/Preferences/com.apple.RemoteDesktop.plist" 
"$HOME/Library/Application Support/Remote Desktop" 
"$HOME/Applications/Remote Desktop.app" 
/System/Library/PreferencePanes/SharingPref.prefPane/Contents/Resources/RemoteDesktop.bundle 
;
do
    if [ -e "$file" ]
    then
        echo "rm -rf $file";
        rm -rf "$file";
    fi
done


[ Reply to This | # ]
Completely uninstall Apple Remote Desktop Admin
Authored by: tom larkin on Oct 21, '08 01:11:12PM

Upon reading further into it, you can actually go as far to do this

#!/bin/sh #this will uninstall ARD admin and all it's components so you can reinstall for file in #Remote Desktop Application "/Applications/Remote Desktop.app" #ARD Agent Software "/System/Library/CoreServices/RemoteManagement" "/System/Library/CoreServices/Menu Extras/RemoteDesktop.menu" #System Application Support Files "/Library/Application Support/Apple/Remote Desktop" #System Preferences "/Library/Preferences/com.apple.ARDAgent.plist" "/Library/Preferences/com.apple.RemoteDesktop.plist" "/Library/Preferences/com.apple.RemoteManagement.launchd" "/Library/Preferences/com.apple.RemoteManagement.plist" #Receipts "/Library/Receipts/RemoteDesktopAdmin320.pkg" "/Library/Receipts/RemoteDesktopAdmin322.pkg" "/Library/Receipts/RemoteDesktopClient.pkg" "/Library/Receipts/RemoteDesktopRMDB.pkg" #User's Home Directory Items "~/Library/Application Support/Remote Desktop" "~/Library/Preferences/com.apple.RemoteDesktop.plist" #Reporting Database "/var/db/RemoteManagement" ; do if [ -e "$file" ] then echo "rm -rf $file"; rm -rf "$file"; fi done

Thanks for the more efficient scripting method. I sometimes do things the hard way, and I think I like your method better.



[ Reply to This | # ]
Completely uninstall Apple Remote Desktop Admin
Authored by: chadvonnau on Jun 14, '13 11:51:48AM
I'm not sure what shell you were using when this worked, but this didn't work at all for me in Lion, using its default shell, bash. I simplified the script a bit and trimmed some paths that didn't seem to be used any more with ARD 3 & Lion.

#!/bin/sh
#this will uninstall ARD admin and all it's components so you can reinstall 

sudo rm -rf /Applications/Remote\ Desktop.app;
sudo rm -rf /System/Library/CoreServices/RemoteManagement;
sudo rm -rf /System/Library/CoreServices/Menu\ Extras/RemoteDesktop.menu;
sudo rm -rf /Library/Application\ Support/Apple/Remote\ Desktop;
sudo rm -f /Library/Preferences/com.apple.ARDAgent.plist*;
sudo rm -f /Library/Preferences/com.apple.RemoteDesktop.plist*;
sudo rm -rf ~/Library/Application\ Support/Remote\ Desktop;
sudo rm -f ~/Library/Preferences/com.apple.RemoteDesktop.plist*;
sudo rm -rf /var/db/RemoteManagement;


[ Reply to This | # ]