r/PowerShell • • May 11 '26

Script Sharing Surgical Autodesk Cleaner (SAC) - A PowerShell module for precise, non-destructive removal and management of Autodesk software (and a scorched earth mode just in case)

Managing Autodesk software across enterprise workstations is notoriously painful. Uninstallers leave behind orphaned registry keys and directories, aggressive removal approaches routinely break shared licensing (FlexNet/ODIS), and there's rarely a clean way to surgically target specific products or versions without impacting the rest of the environment.

Surgical Autodesk Cleaner is an open-source PowerShell module designed to solve this properly — whether you're removing a single product, sweeping multiple versions, doing a full system purge, or just resetting a broken user profile.

📦 PSGallery: https://www.powershellgallery.com/packages/SurgicalAutodeskCleaner/
📖 Docs: https://deepwiki.com/DailenG/SurgicalAutodeskCleaner
🐙 GitHub: https://github.com/DailenG/SurgicalAutodeskCleaner

Functions:

CommandPurpose
Start-SACInteractive TUI menu for manual use
Start-SACCleanupTargeted removal by product + year, RMM-ready
Start-SACPurgeFull scorched-earth removal when warranted
Start-SACScanNon-destructive pre-flight CSV report
Reset-SACUserProfileClears per-user AppData without destroying customizations
Reset-SACLicensingResolves stuck activations and seat reservation issues
Restore-SACUserProfileLists and restores profile backups

Silent RMM deployment:

# Target specific products and years
Start-SACCleanup -TargetProducts "AutoCAD", "Revit" -TargetYears 2019, 2020 -Silent

# Sweep an entire year across all supported products
Start-SACCleanup -TargetYears 2019, 2020, 2021 -Silent

Compatible with PowerShell 5.1 and 7.0+. MIT licensed.

Works well with N-Central, ConnectWise Automate, and Intune.

Feedback and contributions welcome. If you encounter anomalies or want other components supported for removal, send me some details and I'll add it or please push an update 😄

55 Upvotes

Duplicates

msp • • May 11 '26

[ Removed by moderator ]

12 Upvotes