Skip to content

v6.5.1 - safe leftover removal, unelevated HKCU uninstallers, full uninstall - #9

Merged
denfry merged 1 commit into
mainfrom
fix/v6.5.1-safety
Nov 5, 2026
Merged

denfry merged 1 commit into
mainfrom
fix/v6.5.1-safety

Conversation

@denfry

@denfry denfry commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Security fixes from the v6.5.0 review.

  • App leftovers: InstallLocation counts only when the folder name matches the app or publisher. Before anything is touched, hard checks refuse protected / personal folders and their parents, links, 8.3 paths, and folders that still contain programs or another app. Leftovers go to a 30-day quarantine instead of being deleted.
  • HKCU uninstall entries run without administrator rights (one-shot RunLevel Limited task). The full command is logged.
  • Cleanup engine: Test-SafeToDelete checks protected folders as prefixes, covering every profile and known folder.
  • install.ps1 -Uninstall removes the \WinSenior\ scheduled tasks and %ProgramFiles%\WinSenior.

Pester 397/397 locally (pwsh 7).

…install

- Leftovers: InstallLocation counts only when the folder name matches the app/publisher; hard safety checks (protected and personal folders, parents of protected paths, links, 8.3 paths, folders with programs or another app inside); 30-day quarantine instead of deletion; link-safe purge.
- HKCU uninstall entries run without administrator rights via a one-shot RunLevel Limited task; full command line is logged.
- Test-SafeToDelete checks protected folders as prefixes and covers every profile and known folder.
- install.ps1 -Uninstall removes the \WinSenior\ scheduled tasks and %ProgramFiles%\WinSenior (one UAC prompt if needed).
@denfry
denfry merged commit 25ff662 into main Nov 5, 2026
1 check passed
@denfry
denfry deleted the fix/v6.5.1-safety branch November 5, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant