Add Apple Remote Desktop settings removal

This commit is contained in:
Marcel Bischoff 2015-09-23 22:15:30 +02:00
parent 563964363a
commit e429171786

View File

@ -96,6 +96,16 @@ defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArgu
defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array "/usr/sbin/mDNSResponder" "-launchd" defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder ProgramArguments -array "/usr/sbin/mDNSResponder" "-launchd"
``` ```
### 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/
rm -r ~/Library/Containers/com.apple.RemoteDesktop
```
### Renew DHCP lease ### Renew DHCP lease
```bash ```bash
sudo ipconfig set en0 DHCP sudo ipconfig set en0 DHCP