Skip to content

Instantly share code, notes, and snippets.

@saviour123
Last active April 17, 2024 15:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saviour123/b494fc82dc27607aa15614f7a86f9790 to your computer and use it in GitHub Desktop.
Save saviour123/b494fc82dc27607aa15614f7a86f9790 to your computer and use it in GitHub Desktop.
Remove annoying Microsoft autoupdate agent from Mac / apple osx
# This bash script help to remove the microsoft autoupdate agent for poping up
# every now and then on your computer
# instruction
# open the Terminal app on you macbook
# copy and paste the below and voila.
# You are saved. It would ask you for password in executing sudo command
sudo rm -rf /Library/Application\ Support/Microsoft/MAU2.0
sudo rm -rf /Library/LaunchAgents/com.microsoft.update.agent.plist
sudo rm -rf /Library/LaunchDaemons/com.microsoft.autoupdate.helper.plist
sudo rm -rf /Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper
@Spectrexc
Copy link

Thank you!

@tomasi-o
Copy link

tomasi-o commented Oct 30, 2023

in line 11 you have a typo, thus the file there is not removed. It should be:
sudo rm -rf /Library/PrivilegedHelperTools/com.microsoft.autoupdate.helper
Otherwise thanks a lot! Finally getting rid of this pesky M$ Shite.

@saviour123
Copy link
Author

@tomasi-o Thanks for update the file.

@kitschpatrol
Copy link

Thanks for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment