naxscrap.blogg.se

Microsoft office uninstall mac
Microsoft office uninstall mac











"/Users/$consoleuser/Library/Group Containers/UBF8T346G9.OfficeOsfWebHost" "/Users/$consoleuser/Library/Group Containers/UBF8T346G9.Office" "/Users/$consoleuser/Library/Group Containers/UBF8T346G9.ms" # You should back up these folders before you delete them. # WARNING: Outlook data will be removed when you move the three folders listed below. "/Users/$consoleuser/Library/Containers/" "/Users/$consoleuser/Library/Containers/-XPCService" "/Users/$consoleuser/Library/Containers/365ServiceV2" "/Users/$consoleuser/Library/Preferences/" "/Users/$consoleuser/Library/Preferences/.plist" "/Users/$consoleuser/Library/Preferences/.ist" "/Users/$consoleuser/Library/Application\ Support/Microsoft\ Update\ Assistant/" "/Users/$consoleuser/Library/Application\ Support//"

microsoft office uninstall mac

"/Users/$consoleuser/Library/Application\ Support/Microsoft AutoUpdate" "/Users/$consoleuser/Library/Application\ Support/Microsoft AU Daemon" Here is my MS Office uninstaller script:Ĭonsoleuser=$(ls -l /dev/console | awk '')

microsoft office uninstall mac

Jamf has a script section so use Jamf to handle it since it runs as root anyways. Hi Macgeek, I would not use composer to package a script. Sudo rm -R /Users/*/Library/Containers/Microsoft* Sudo rm -R /Users/*/Library/Containers/'OneDrive File Provider'

microsoft office uninstall mac

Sudo rm -R /Users/*/Library/Containers/com.microsoft* Sudo rm -R /Applications/Microsoft\ OneDrive.app Sudo rm -R /Applications/Microsoft\ To Do Sudo rm -R /Applications/Microsoft\ Teams.app Sudo rm -R /Applications/Microsoft\ Word.app Sudo rm -R /Applications/Microsoft\ PowerPoint.app Sudo rm -R /Applications/Microsoft\ Outlook.app Sudo rm -R /Applications/Microsoft\ OneNote.app Sudo rm -R /Applications/Microsoft\ Excel.app

microsoft office uninstall mac

sh script is setup like this but with a lot more paths listed: Thanks! Why will the Terminal commands work in Terminal but not when I run them in Composer. If I copy one line and paste it into Terminal it will run and remove the file(s). The Composer package will remove all the applications after a while but most of the rest of the files aren't removed. Then a I have a script run that is sudo sh /path to. sh script and it is installed with Composer. I'm trying to remove all Office 365 applications and any file with the word Microsoft in it from all our Macs.













Microsoft office uninstall mac