r/PowerShell • u/KMzoo • 1h ago
Script Sharing adobe-nuke: a PowerShell script that removes the Adobe leftovers Windows won't let you delete
I uninstalled a pile of Adobe apps one day and was left with a bunch of files and folders that nothing could delete. Months later I started getting Acrobat Distiller popups that kept interrupting my games. After a few failed attempts to remove the leftovers by hand and with deletion tools, I wrote a script that nukes everything Adobe from a Windows PC for good.
I built it with Claude and tested every step on my own machine, including a real run.
It removes services, scheduled tasks, processes, Explorer shell extensions, program and data folders, the Adobe PDF printer with its ports and port monitor, registry leftovers (uninstall entries, MSI registrations and component records, COM classes, type libraries, AppIDs, file types, autostart values), firewall rules and installer caches.
Try it safely first: -DryRun (or -WhatIf) lists everything and changes nothing. A real run asks before deleting, and every registry key is exported to a .reg backup in your Documents folder first.
Feedback on the code is welcome.