Skip to main content
3 of 19
added 150 characters in body

defaults delete is not working

I accidentally added a incorrectly formatted field in order to track automatic updates on my computer. When I try to run the command:
defaults delete /Library/Preferences/com.apple.SoftwareUpdate "^AutomaticCheckEnabled", it doesn't work.
The error is: Domain (/Library/Preferences/com.apple.SoftwareUpdate) not found. Defaults have not been changed.

Python Entries: To create: command = f"defaults read {self.path} {self.key}" To delete: command = f"defaults delete {self.path} {self.key}"