microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.95k stars 6.53k forks source link

Clean uninstaller #30271

Open slt-uxd opened 10 months ago

slt-uxd commented 10 months ago

Description of the new feature / enhancement

I recently had an issue that required me to do a thorough uninstall (a simple uninstall did not resolve the issue) of Powertoys to resolve (see issue here).

Would be nice to be able to do a clean uninstall via an uninstaller to make sure the uninstall is as thorough as possible.

Scenario when this would be used?

When needing to do a clean re-install of Powertoys

Supporting information

No response

Bebuk85 commented 10 months ago

+1

stefansjfw commented 10 months ago

Could you point out resources that are not cleaned up by PowerToys installer ? /needinfo

slt-uxd commented 10 months ago

Could you point out resources that are not cleaned up by PowerToys installer ? /needinfo

Hey @stefansjfw

Sorry didn't see this till now. Unfortunately I did not take note of them, and I've refrained from updating in case it happens again (it was a pain to resolve and I just don't have the time at the moment to deal with it).

Hopefully it was a weird one-off and there was no issue so I suppose this request can be ignored.

The next time I update and if it happens again, I'll take note of the items left behind.

Keep up the good work!

o-l-a-v commented 2 months ago

When troubleshooting issue #34148 "The Icon of Awake Is Gone" in comment https://github.com/microsoft/PowerToys/issues/34148#issuecomment-2287985657 I noticed the uninstaller does not remove:

Here an uninstall did not solve the problem of the Awake tray icon not showing. I had to manually delete a file the uninstaller did not remove (%LOCALAPPDATA%\Microsoft\PowerToys\Awake\settings.json).


Edit: Machine installer also seems to leave behind scheduled task folder "PowerToys". Can be found in %windir%\System32\Tasks.