v1.2.3
🛡️ unslop-windows v1.2.3
Fixed
- AppX Restoration Parameter Binding (
Add-AppxPackage): Removed invalid-AllUsersparameter fromAdd-AppxPackage -RegisterByFamilyName -MainPackage ...in Stage 12 ofunslop-win11.ps1and Stages 2 and 12 ofunslop-win10.ps1.Add-AppxPackagedoes not support-AllUsers(onlyRemove-AppxPackageandGet-AppxPackagedo), resolving 5 parameter binding exceptions during-Undoruns on provisioned packages (aimgr,MicrosoftWindows.Client.WebExperience,Microsoft.Office.ActionsServer,Microsoft.OfficePushNotificationUtility,Microsoft.GamingApp). - Idempotent Registry Property Deletion (
Set-RegDwordSafe): UpdatedSet-RegDwordSafe's-removeOnUndoexception handler in both engines to recognize when a target registry property is already absent (does not existorPSArgumentException), safely recordingSKIP: <name> not present in <path>instead of emitting a hardFAILED:error and incrementing$global:FailCount. Real permission or mutation errors continue to be trapped and reported truthfully.
Added
- Automated Parameter Binding & Idempotency Tests:
- Added unit test cases verifying that non-existent registry property deletions on
-Undoexit cleanly with 0 failures ($global:FailCount -eq 0). - Added AST assertions across both
tests/unslop-win11.Tests.ps1andtests/unslop-win10.Tests.ps1ensuringAdd-AppxPackagenever binds the invalid-AllUsersswitch.
- Added unit test cases verifying that non-existent registry property deletions on
- Architectural Decision Record (
docs/decisions.md): Documented ADR-025 covering AppX restoration parameter defense and idempotent registry property deletion.
📦 Quick Installation & Usage
- Download
unslop-windows-v1.2.3.zipfrom Assets below. - Extract the archive to any directory.
- Right-click
unslop.batand choose Run as administrator (or double-click and accept the UAC elevation prompt). - Select your operating system from the selection menu:
- [1] Windows 11: Targets 25H2, 24H2, 23H2, 22H2, 21H2 (runs
unslop-win11.ps1). - [2] Windows 10: Targets 22H2, 21H2, 20H2, Enterprise LTSC, Builds 10240-19045 (runs
unslop-win10.ps1). - [0] Exit: Close the launcher.
- [1] Windows 11: Targets 25H2, 24H2, 23H2, 22H2, 21H2 (runs
- Choose an option from the OS feature menu:
- [1] Full Debloat: Purge OneDrive, telemetry, and provisioned bloatware.
- [2] Gamer Preset: Debloat, but Keep Xbox & Gaming Services (
-KeepXbox). - [3] Productivity Preset: Debloat, but Keep OneDrive & Microsoft To-Do (
-KeepOneDrive -KeepTodos). - [4] Interactive Toggles: Configure custom feature combinations with visual toggle states.
- [5] Safe Dry-Run Audit: Inspect all changes safely with zero system modifications (
-DryRun). - [6] Full Restore / Undo: Symmetrically revert all tweaks back to defaults (
-Undo). - [7] Custom CLI Flags: Manually enter parameter switches (e.g.
-KeepTodos -KeepXbox -NoRestart). - [8] Back to OS Selection: Return to the main OS choice screen.
- [0] Exit: Close the launcher.
🔒 Verification & Integrity
Verify archive integrity using the published SHA256SUMS.txt:
Get-FileHash .\unslop-windows-v1.2.3.zip -Algorithm SHA256