Skip to content

v6.5.0 - drivers, apps, smart memory, insights - #8

Merged
denfry merged 2 commits into
mainfrom
feat/v6.5.0-toolbox
Nov 5, 2026
Merged

denfry merged 2 commits into
mainfrom
feat/v6.5.0-toolbox

Conversation

@denfry

@denfry denfry commented Nov 5, 2026

Copy link
Copy Markdown
Owner

v6.5.0 — drivers, apps, smart memory, insights

One free tool instead of separate driver updaters, uninstallers and "RAM boosters". It uses official sources only: Microsoft Update, winget, and the GPU vendor's site.

New modules

  • Drivers (WinSenior.Drivers.ps1)
    • Driver updates from Microsoft Update via the Windows Update Agent, with a timeout so a stuck scan cannot hang.
    • The GPU is detected (NVIDIA / AMD / Intel) and pointed at the vendor's own driver. GPU updates from Windows Update are held back and can be hidden.
    • Problem devices are listed, and pnputil can back up and restore drivers.
    • A policy that silently blocks all driver updates (ExcludeWUDriversInQualityUpdate) is detected, and the Troubleshoot fix removes it.
  • Apps (WinSenior.Apps.ps1)
    • The inventory covers Win32 and Store apps.
    • Uninstall runs silently where the installer allows it (MSI, quiet string, Inno Setup, NSIS). Leftovers get a confidence score, and only confident matches are removed.
    • winget handles updates and installs. Its output is parsed by column position, so it works on any locale.
    • A catalog of 53 apps, each winget ID verified.
  • Smart memory (WinSenior.Memory.ps1)
    • Stops processes that outlived their job:
      • Gradle, Kotlin and Maven daemons
      • MSBuild nodes
      • Roslyn and Razor servers
      • orphaned language servers and Jupyter kernels
      • a windowless Minecraft JVM
      • the WSL VM
    • A process is stopped only when it is idle, has no window and has no working child. A graceful stop is tried first.
    • Memory pressure is judged against Microsoft's thresholds, and the biggest consumers are listed.
    • Prevention settings and an optional 10-minute background check. Standby purge is manual only.
  • Insights (WinSenior.Insights.ps1)
    • Boot time before and after the last optimization: Mann–Whitney U test plus a Hodges–Lehmann shift and a 5 % equivalence margin.
    • Boot degraders from events 101–110.
    • A Theil–Sen forecast of when each disk fills up.
    • An exact min-cost "free N GB" planner.
  • Stats library (WinSenior.Stats.ps1): pure functions, pinned by tests.

Cleanup 106 → 110

  • hiber-reduced: hiberfil cut to 20 % of RAM; Fast Startup still works.
  • compactos: state is read from the WOF API.
  • msi-orphans: orphaned installer packages are quarantined for 30 days, never deleted outright.
  • vhdx-compact: compacts WSL2 and Docker virtual disks.

Desktop app

A new Tools section with Drivers, Apps, Smart memory and Insights pages, with Russian strings included. The console menu has the same four screens.

Verification

  • Pester: 385/385 on Windows PowerShell 5.1 and PowerShell 7.
  • PSScriptAnalyzer: no error-level findings.
  • The GUI smoke run rendered all four pages on both hosts.

- Drivers: Microsoft Update driver scan/install (WUA, with timeout), GPU vendor
  guidance (NVIDIA/AMD/Intel official pages), hide WU GPU updates, problem
  devices, pnputil backup/restore, driver-block policy detection + repair fix.
- Apps: Win32 + Store inventory, silent uninstall (MSI/quiet/Inno/NSIS),
  leftover scan with confidence scoring, winget updates/installs with a
  locale-proof table parser, verified 53-app catalog.
- Smart memory: leftover-process rules (Gradle/Kotlin/Maven daemons, MSBuild,
  Roslyn, orphaned language servers, Jupyter, Minecraft JVM, WSL), pressure per
  Microsoft thresholds, graceful stop first, prevention settings, optional
  10-minute background check, manual-only standby purge.
- Insights: boot-time before/after verdict (Mann-Whitney U + Hodges-Lehmann),
  boot degraders (events 101-110), Theil-Sen disk-full forecast, min-cost
  'free N GB' cleanup planner.
- Stats library with exact/asymptotic Mann-Whitney, NIST outliers, Theil-Sen,
  knapsack planner.
- Cleanup 106 -> 110: hiber-reduced, compactos, msi-orphans (quarantine),
  vhdx-compact. Disk-history sampling on every engine run.
- Menu: Drivers / Apps / Smart memory / Insights screens.
New sidebar section with four pages that run the new modules through the
existing engine runner (output in the log panel, busy-state aware, confirm
dialogs before installs / uninstalls / reclaim / apply). Russian strings for
every new text and the four new cleanup tasks. Read-only buttons are allowed
for the smoke-test autorun hook.
@denfry
denfry merged commit a7c7fb1 into main Nov 5, 2026
1 check passed
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