Automatic Disk Cleanup now enables an allow-list of safe handlers in its
own StateFlags slot (/sagerun:42), so Downloads, the Recycle Bin and
Windows.old are never touched and the user's own /sageset:1 choice is
kept. Removing Windows.old uses the "Previous Installations" handler and
is now Dangerous, as is clearing the event logs.
- Every PowerShell command runs with -NoProfile -NonInteractive. Scripts
that printed success no matter what now stop on the first error, and
cleanups report what they removed and what was in use.
- chkdsk.fix uses Repair-Volume -OfflineScanAndFix instead of piping a
"Y" that is localized; drive letters come from {SystemDrive} and the
battery report path from {UserProfile}.
- Windows Update reset keeps the old folders as .bak copies and always
restarts the services; the Delivery Optimization cache uses its cmdlet;
lid-close settings apply to the active power scheme; winget never
prompts; activation status no longer needs VBScript; the Win11 Widgets
button opens Settings, since Windows now blocks that change from scripts.
- New: restore point list, System Restore, Automatic Maintenance, clock
resync, DNS cache, listening ports, Wi-Fi details, third-party scheduled
tasks, Run keys, stopped automatic services, Windows Search restart,
Store and optional updates, UAC settings, Core isolation, environment
variables, WSL status, TRIM status, crash dumps and battery charge, with
strings in all five languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>