Repository navigation
2.7
WinUltix Pro v2.7.0 — Release Notes 🚀
The Windows 11 26H2 Compatibility, Multithreaded Runspace & Low-Level Hardware Overhaul
With v2.7.0, I conducted a comprehensive, three-stage engineering audit across the entire codebase (WinUltix_Pro.ps1, Core_Helpers.ps1, and modules Z1 through Z7) to prepare the toolkit for Windows 11 24H2, 25H2, and 26H2. This release completely eradicates legacy WMI/WMIC dependencies, centralizes background multithreading to eliminate UI freezes (ANR), introduces a native COM/MDM Start Menu compiler, and upgrades hardware topology detection.
🧠 Core Architecture & Multithreading (WinUltix_Pro.ps1 & Core_Helpers.ps1)
- Global Asynchronous Runspace Engine (
Invoke-AsyncTask): I centralized all heavy background operations into a unified multithreading dispatcher powered by isolated PowerShell Runspaces ([powershell]::Create()) and a non-blocking 150ms WinForms polling timer ($timer.Tagstate encapsulation). Controls are automatically locked (-ControlsToDisable) during execution and deterministically released in afinallyblock alongside.Dispose()calls, completely eliminating Application Not Responding (ANR) freezes and memory leaks. - Complete WMI-to-CIM Migration: I removed all deprecated
Get-WmiObjectcmdlets andwmic.execalls across the toolkit in favor of nativeGet-CimInstanceandInvoke-CimMethodpipelines, guaranteeing 100% compatibility with Windows 11 26H2 where WMIC binaries are stripped from the OS image. - GDI / HWND Resource Hardening: I wrapped the main WinForms application host, the About dialog, and
Show-ActionModalinsidetry / finallyblocks with explicit.Dispose()calls, enabled native visual styles (EnableVisualStyles()), and restricted globalMouseLeavesubscriptions strictly toButtoncontrols.
📌 Start Menu Compiler & Services Engine (Z4_Services.ps1)
- Deterministic Start Menu Reset for 24H2–26H2 (
Clear-StartMenu):- I replaced the static Base64
start2.binbinary replacement—which suffered fromStartDocked.dll/StartTileData.dllserialization header changes andAppContainerDACL corruption on newer Windows 11 builds—with a One-Shot Native Policy Compiler. - I now disable
ContentDeliveryManagerplaceholder tile injection, register a temporary MDM Enrollment (HKLM:\SOFTWARE\Microsoft\Enrollments\...) andConfigureStartPinspolicy, purgeCloudStoretile caches, and invokeStartMenuExperienceHost.exein the background via COMIApplicationActivationManager(WinUltix.AppActivator). - Windows natively compiles a clean
start2.bincontaining only 3 essential pins (Microsoft Edge, Windows Settings, and File Explorer), records its byte signature (StartMenuClearedSize) for audit verification, and immediately strips all temporary MDM locks in thefinallyblock so I can freely pin or unpin apps afterwards. - I also provision the
Defaultuser profile (LayoutModification.json) with the same clean 3-icon layout and purge defaultstart*.bin*caches.
- I replaced the static Base64
- Ghost Service & Driver Sweeper Refactor (
Get-GhostServicesState): I fixed a greedy regex bug (^(.+?\.(?:exe|sys|dll))(?:$|\s)) that misidentified stoppedsvchost.exe/rundll32.exeservices passing.dllarguments as missing binaries, integratedWin32_SystemDriveractive kernel driver checks, and excluded internal NT Object Manager paths (\Driver\,\FileSystem\). - Task Scheduler & Service Symmetry: I consolidated
Get-TelemetryTasksStateandInvoke-ApplyTasksinto a single asynchronousGet-ScheduledTaskquery pass, corrected SCM service names (WerSvc,WaaSMedicSvc), and enforced fullExpectedStart/DefaultStartrevert symmetry for Xbox and Camera services.
🧹 Bloatware Catalog, OneDrive DLL Evacuation & Cache Purge (Z1_Cleanup.ps1 & Z2_Bloatware.ps1)
- Redesigned 46-Category Bloatware Engine (
Get-BloatwareState&Invoke-RemoveBloatware):- I structured a non-overlapping 46-item catalog covering modern Windows 11 24H2–26H2 bloatware (including Copilot, DevHome, New Outlook, MSTeams, Edge Game Assist, Clipchamp, Widgets, and Game Bar).
- I removed the previous 10MB size cutoff blind spot: every detected package is now flagged for removal with accurate tags (
[ X.X MB ],[ Installed Stub ], or[ Provisioned Image ]). - During removal, I enforce local GPO locks for Copilot (
TurnOffWindowsCopilot = 1), write removedPackageFamilyNameentries toHKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx\AppxAllUserStore\Deprovisionedto block silent Windows Update reinstallations, and suppress benign0x80070002/0x80070003errors when-AllUsersremoval already wiped the provisioned staging payload.
- SFC-Safe OneDrive Removal with Locked DLL Evacuation (
Invoke-RemoveOneDrive):- I preserved dormant
%SystemRoot%OneDrive binaries during uninstallation sosfc /scannowand DISM component verification remain 100% healthy. - To overcome
explorer.exelocking memory-mapped shell extensions (such asFileSyncShell64.dll), I added an automated evacuation routine that moves locked.dllfiles to$env:TEMP\WinUltix_Locked_*.tmp, strips file attributes, and wipes residual OneDrive directories across all dynamically resolvedWin32_UserProfilepaths.
- I preserved dormant
- Expanded Appx Garbage Collector Whitelist: I migrated all five
Z2scanners toInvoke-Z2ScannerAsyncand hardened the dependency collector to protectXboxIdentityProvider,XboxGameCallableUI,PeopleExperienceHost,VCLibs,.NET,UI.Xaml,WinJS,Services.Store,WindowsAppRuntime,WindowsAppSDK,Graphics.Canvas,DirectX,AIFabric, andAugLoop. - Service-Aware Cache Purge & Universal SIDs (
Z1_Cleanup.ps1): I updatedInvoke-InteractiveCleanupto stopwuauservandbitsbefore purgingSoftwareDistribution\Downloadand replaced localized group names inicacls.exewith the universal Administrators SID (*S-1-5-32-544:F).
⚙️ Hardware Diagnostics, Multi-Architecture Affinity & CPPC (Z7_Hardware.ps1)
-
Multi-Architecture Affinity Lasso (
Get-CPUTopologyProfile):- I replaced the rigid 8-core check with dynamic CPU topology profiling:
-
AMD 8-Core Single-CCD (e.g., 9800X3D, 7800X3D, 5800X3D): Isolates background apps to Cores 0–1 with SMT-aware bitmasks (
0x0Ffor SMT ON,0x03for SMT OFF). -
AMD Dual-CCD (12C/16C, e.g., 7900X3D, 7950X3D, 9950X3D): Locks background apps to the last 4 threads on CCD1 (
[int64]15 -shl ($logical - 4)), protecting 3D V-Cache on CCD0. -
Intel Hybrid (P+E Cores) & 6C+ CPUs: Isolates background processes to the last 4 logical threads (E-Cores) with
BelowNormalpriority.
-
AMD 8-Core Single-CCD (e.g., 9800X3D, 7800X3D, 5800X3D): Isolates background apps to Cores 0–1 with SMT-aware bitmasks (
- I replaced per-process WMI path lookups with a single pre-cached
Get-CimInstance Win32_Processhash table ($O(1)$ lookup) and fixedRemove-AppAffinityto restore full logical processor bitmasks (([int64]1 -shl $lpCount) - 1).
- I replaced the rigid 8-core check with dynamic CPU topology profiling:
-
SYSTEM-Level CPPC Dead Man's Switch & Locale-Independent Parser: I rewrote the
powercfg.exe /qhhex parser to work across all OS display languages and upgradedWinUltix_CPPC_Failsafeto execute underNT AUTHORITY\SYSTEM(RunLevel Highest) with dualAtStartupandAtLogontriggers, guaranteeing power plan rollback fromHKLM:\SOFTWARE\WinUltix\CPPCeven after a pre-logon BSOD. -
Asynchronous WHEA XML Decoder & NDIS Optimizer: I upgraded
Get-HardwareState_WHEAto extractAPICIdandProcessorIddirectly from raw event XML trees ($evt.ToXml()) with SMT-aware core division, fixed variable shadowing ($adapterDispNamevs.$propDispName) inGet-HardwareState_Network, and moved both scanners intoInvoke-AsyncTaskwith explicit Scope 0 closure binding. -
Idempotent MSI Interrupt Backup: I hardened
Show-MsiModalso repeated clicks onForce MSI Modenever overwrite the original factory interrupt state stored inHKCU:\Software\WinUltix\MSI_Backup.
🔒 Registry Engine, Dual-Layer SRP+IFEO & System Integrity (Z3_Registry.ps1, Z5_Utilities.ps1, Z6_Integrity.ps1)
- Dual-Layer Execution Locks (
Get-RegState_SRP&Invoke-ApplySRP): To counter the deprecation of Safer API on Windows 11 26H2, I paired deterministic MD5-hashed Safer path rules (Get-DeterministicSrpGuid) with kernel-levelImage File Execution Options(IFEO) debugger redirection (Debugger = "$env:SystemRoot\System32\systray.exe",WinUltixManaged = 1), updatedWidgets.exeto use a version-agnosticWindowsAppswildcard, and offloadedgpupdate.exe /forcetoInvoke-AsyncTask. - Symmetric Revert Engine Fixes (
Z3_Registry.ps1): I updatedInvoke-RegistryAuditto explicitly verify property existence before value comparison, switched allAppPrivacyUWP rules (includingLetAppsAccessCameraandLetAppsAccessMicrophoneset toExpected = 2) to useDefault = "DELETE_VALUE"on revert (eliminating "Some settings are managed by your organization" banners), and added recursive parent CLSID cleanup ({86ca1aa0-34aa-4e8b-a509-50c905bae2a2}) when reverting the classic context menu. - CBS RebootPending Protection & Async Subsystem Repairs (
Z6_Integrity.ps1): I migratedGet-WinSxSStateandRepair-PrintSubsystemto background Runspaces, added a pre-flight check forHKLM:\...\Component Based Servicing\RebootPendingbeforeOptimize-WinSXS(/ResetBase) to prevent0x800f0806(CBS_E_PENDING) errors, and fixed PowerShell 5.1 wildcard resolution when purging locked.SHD/.SPLprint spooler files. - Hardened Interactive Utilities (
Z5_Utilities.ps1): I fixed CIM parameter binding inSet-CustomDNS(-Arguments @{ DNSServerSearchOrder = ... }), rewroteShow-StartupGridto iterate directly over registry.Propertynames (removing PowerShell metadata clutter and addingWOW6432Nodex86 support), shielded critical gaming/framework packages inShow-AppxGrid, and updatedStart-ClassicPrintersto invokeshell:::{A8A91A66-3A7D-4424-8D24-04E180695C7A}directly.