
- UNINSTALL OFFICE 2011 FOR MAC JAMF FOR MAC
- UNINSTALL OFFICE 2011 FOR MAC JAMF ARCHIVE
- UNINSTALL OFFICE 2011 FOR MAC JAMF PASSWORD
Osascript -e 'tell application "Microsoft PowerPoint" to quit' Osascript -e 'tell application "Microsoft Excel" to quit' Osascript -e 'tell application "Microsoft Communicator" to quit' Osascript -e 'tell application "Microsoft Messenger" to quit' Osascript -e 'tell application "Microsoft Document Connection" to quit' Osascript -e 'tell application "Remote Desktop Connection" to quit' # Kill Outlook to close any open drafted emails or it will fail The script can be found on my GitHub repo #!/bin/sh It looks like the script formatting is broken based on the color-coding. I created a Self Service policy so that that my colleagues can run the uninstaller themselves.
UNINSTALL OFFICE 2011 FOR MAC JAMF ARCHIVE
In addition, the Microsoft User Data folder is renamed Microsoft User Data Archive (& preserved). My script does not remove Dock items as others suggest, but IS more thorough, and also removes user preferences and files for the current user. I added to the script above, which should be credited to.
UNINSTALL OFFICE 2011 FOR MAC JAMF FOR MAC
Microsoft details ALL the Office 2011 files & locations in this article: Troubleshoot Office 2011 for Mac issues by completely uninstalling before you reinstall.
UNINSTALL OFFICE 2011 FOR MAC JAMF PASSWORD
Will definitely be adding the removal of dock icons per script.ĭo shell script "killall 'Microsoft Outlook' some-arbitrary-command || true"ĭo shell script "killall 'Microsoft Excel' some-arbitrary-command || true"ĭo shell script "killall 'Microsoft Word' some-arbitrary-command || true"ĭo shell script "killall 'Microsoft PowerPoint' some-arbitrary-command || true"ĭo shell script "killall 'Microsoft Lync' some-arbitrary-command || true"ĭo shell script "sudo rm -rf '/Applications/Microsoft Office 2011'" user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -rf '/Applications/Microsoft Lync.app'" user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r '/Applications/Microsoft Communicator.app' " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r '/Applications/Remote Desktop Connection.app' " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r /Library/Fonts/Microsoft/ " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r /Library/LaunchDaemons/.ist " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r /Library/Preferences/ Microsoft " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r /Library/PrivilegedHelperTools/ microsoft" user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "rm -r ~/Library/Preferences/ microsoft "ĭo shell script "sudo rm -r '/Library/Internet Plug-Ins/ugin' " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭo shell script "sudo rm -r '/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin' " user name "Administrator" password "enteryourpasswordhere" with administrator privilegesĭelete folder "~/Library/Application Support/Microsoft/Office"ĭisplay dialog "Office Has been unistalled" with icon stop giving up after 2 Rm -R /Library/PrivilegedHelperTools/com.microsoft.* Rm -R /Library/LaunchDaemons/com.microsoft.* Rm -R /Library/Internet Plug-Ins/SharePoint* Rm -R '/Library/Automator/Set Document Settings.action' Rm -R '/Library/Automator/Get Parent Presentations of Slides.action' Rm -R '/Library/Application Support/Microsoft/MERP2.0' Rm -R '/Library/Application Support/Microsoft/MAU2.0' #rm -R '/Applications/Remote Desktop Connection.app/' Rm -Rd '/Applications/Microsoft Office 2011/' Rm -R '/Applications/Microsoft Messenger.app/'


Rm -R '/Applications/Microsoft Communicator.app/'

#Have to kill Outlook process to close any open drafted emails or it will fail Osascript -e 'tell application "Microsoft Word.app" to quit without saving' Osascript -e 'tell application "Microsoft PowerPoint.app" to quit without saving' Osascript -e 'tell application "Microsoft Excel.app" to quit without saving'

Osascript -e 'tell application "Office365Service" to quit' Osascript -e 'tell application "Microsoft AU Daemon" to quit' Osascript -e 'tell application "Microsoft Database Daemon" to quit' It works 100% but by no means am I a script expert.
