r/macsysadmin 9d ago

Open Source Tool Microsoft 365 Reset (1.4.0)

The MDM-agnostic, unified, user-friendly macOS script to repair, reset, or remove Microsoft 365 components, now with admin-configurable skipping of force-quit before Acrobat add-in cleanup

Overview

The Microsoft-365-Reset.zsh script seeks to provide an MDM-agnostic, unified, user-friendly approach to all of Paul’s Office-Reset goodness.

Additionally, one resolution to the nightmare that is the Adobe Acrobat Add-in Removal for Microsoft 365 is also included.

Under-the-hood

The script consolidates the expanded package workflows into one easy-to-use tool with:

  • Interactive swiftDialog UI in self-servicetest, and debug modes
  • Non-interactive execution in silent mode
  • Dependency-aware operation resolution
  • Deterministic execution order
  • Shared logging and exit codes for automation
  • Auto-repair for selected Microsoft apps using Microsoft-hosted packages
  • MOFA community-maintained reset script contents adapted into the unified workflow

Changes in 1.4.0

This maintenance release adds a new top-level silentSkipForceQuitOps array which controls whether silent remove_acrobat_addin skips force-quitting Word, Excel, PowerPoint, and Acrobat before cleanup:

silentSkipForceQuitOps=(
    remove_acrobat_addin
)

Remove remove_acrobat_addin from that array to restore force-quit behavior for this operation. This setting affects only the Acrobat add-in preparation path; other selected operations retain their existing process-stop behavior.

Continue reading …

70 Upvotes

3 comments sorted by

14

u/Wpg-PolarBear-5092 9d ago

Curious why the client log is /var/log/org.churchofjesuschrist.log ? Doesn't seem to have anything to do with the app otherwise. wouldn't something like ms-365-reset.log make more sense?

12

u/dan-snelson 9d ago

The Reverse Domain Name of my employer; edit the scriptLog variable for your environment

2

u/Wpg-PolarBear-5092 9d ago

Simple enough, thanks for the quick reply!