Skip to main content

Hey all,



I took some time off during the summer and completed a tool that I have been thinking about for some time. I’ve fully tested it with Jamf Pro. Hope it helps!



https://office-reset.com

THANK YOU!!



This is a fantastic tool to add to our Service Desk Utilities!


Is there any plans to add Skype for Business removal to the tool?



Also want to say thank you for making a fantastic tool.


@jstillio thanks for the feedback!
Yes, I can add Skype for Business (SfB) removal in the upcoming version. Do you want to see this option as a checkbox (ie user-based GUI) or are you looking for a separate PKG that you can push out through Jamf? If the latter, do you want SfB removed as part of the ‘Complete Removal’ or a targeted PKG to only remove SfB?



Thanks again, Paul.


This is great. What is the recommended UI when using via Jamf since Jamf will run it hidden and therefore the choices won't be available


@ooshnoo take a look at https://office-reset/macadmins and https://office-reset/jamf



The checkbox UI (GUI method) is mainly for consumers. For Jamf, there are two separate packages - one for Factory Reset, the other for Complete Removal.


@pbowden Good deal. Thanks. If we wanted to let our users just reset a single app, is it feasable to copy and paste the scripts in packages in to Jamf and have the Jamf policy just run a script?


@ooshnoo yes, that should work. I’m happy to make separate per app PKGs available if that would help


@pbowden Thanks for this and the support you've been providing.



There was a time when I deeply cringed at the thought of anything related to Microsoft. It didn't matter if it was products, services, or support whether as a user or admin. You've helped turn some of that around.


@pbowden We still have some Office 2016 machines with Skype for Business. After upgrading to Office 2019, Skype for Business stays on the machine. A single option to push / run to just remove Skype for Business is more useful for me at least.



Our current deployment for new / wiped devices is Office 2019 & Teams.


@jstillio I was putting together the package for removing Skype for Business. It's easy enough to clean up the app, config data and keychain entries. However, the SfB installer has a nasty tendency to add itself to the Dock. Are you wanting the removal package to clean up the Dock as well? Thx.


I can use Jamf Pro to remove it from the current user dock. My main goal was to get rid of the leftover files and remove any potential outlook client integration.



I can’t say this enough, Thank You for your time and effort on this.


@jstillio thanks for the feedback! This morning I released v1.3 of the tool which includes the ability to remove Skype For Business. Head over to https://office-reset.com/jamf and you'll see a separate 'Skype For Business Removal Package' available for download. I've tested this on my Jamf Pro 10.23 instance where I pushed the package remotely through a Policy, and it correctly cleaned up the SfB app, configuration data, and keychain entries. Let me know if if you have any questions or problems!



@ooshnoo as part of the v1.3 release, I've made available separate reset packages for each app so that it gives everyone more flexibility over what options they want to run. Hope this helps!


@pbowden The SfB uninstall worked great. Thank you! Would there be a way to submit a feature request to implement a dock removal (if exists) into the uninstaller for the apps?


@chas.tinker Hey Chas, I'll take a look to see what our options are here. Probably integrate Kyle's dockutil tool if it still works with latest versions of macOS. I'll respond when I have a potential solution to see if it fits the bill.


I tested the Factory Reset Package via a Jamf policy and run it on self service but it didn't appear to do anything; logs just showed that the package was installed but none of the scripts run. Are there any other steps I am missing?


@emilshouse take a look at /var/log/install.log and search for “Office-Reset:” to see what it ran.


@pbowden I just run it again via Self service and checked. Couldn't find anything when searching for “Office-Reset:” Below were the only entries in Install.log. Thanks.



2020-09-16 13:27:16-07 hostname installerl36257]: Product archive /Library/Application Support/JAMF/Downloads/Microsoft_Office_Factory_Reset_1.3.pkg trustLevel=350
2020-09-16 13:27:17-07 hostname installerl36257]: External component packages (13) trustLevel=350
2020-09-16 13:27:17-07 hostname installerl36257]: -]IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost

@emilshouse ahh, I see the problem. I'm working on a fix now. Give me a couple of hours and I'll reply when it's ready. Thanks!


@emilshouse I just uploaded a new version of Office-Reset to the web site. Can you try v1.4 please and let me know if you still see a problem with the Factory Reset Package. Thanks!


@pbowden The Factory Reset Package is working now! Thanks!


@emilshouse Wonderful! Thanks for letting me know, and thanks for finding this issue!


@pbowden Glad to have stumbled across these apps. But what am I missing? I cant find an icon for the app to put up in Self Service


@Jason33 Hey Jason. Yeah, I just realized that this was not as obvious as I thought 🙂 ....I updated the instructions on the web site, but where you see the orange cog icons in the Downloads side-bar; simply right-click and 'Save Image As'. The graphics themselves are full 512x512 resolution, but I use CSS to scale them down when loading the images on the web page.



Hope this helps!
Paul.


@pbowden First - THANK YOU for building this incredible tool!



One thing I just came across - In our environment we use Microsoft Defender ATP. When I run the Complete Removal Package it deletes this entire directory when it removes MAU: "/Library/Application Support/Microsoft" which in my case, also contains a "Defender" folder. It appears this Defender folder is where quarantine, signatures, definitions, etc. are stored. Is there a way you can modify your 'Complete Removal Package' so it just removes the "MAU2.0" directory and not the parent "Microsoft" Directory along with it?



EDIT Sorry I may have been a bit trigger happy on my post - After a restart this entire Defender folder reappeared...so modifying your tool may not be necessary. Interesting to know anyways. Thanks again!


This looks impressive and thank you for this @pbowden
One thing maybe I missed in perusing the thread: If BOTH installs of Office, 2016 and 2019 (I 'spose I should ask about 2010 too) are installed, can I (via JAMF Policy) selectively choose which version to remove?
For example, if 2016 and 2019 Word, Excel, PPT are installed, can I choose to just remove 2016 and it's pieces/parts?
Additionally, does this query only a specific drive, ie "/Volumes/Macintosh HD/" or can it query installations on mounted volumes, such as a Time Machine mounted volume, and remove the apps/pieces/parts there as well?



The reason I ask is that we have users in our office who have TimeMachine backups of the complete drive, and that obviously includes the applications too. Our Tenable scan looks at the attached drives (by Security choice), so a machine that has been updated, will still contain the older apps in the backup, and Tenable will flag it.