Repository navigation
WinForge v2.0.1 — Reliability, Console Encoding & Safety Hotfix
WinForge v2.0.1 — Reliability, Encoding & Safety Hotfix
A comprehensive multi-pass audit & stability update ensuring rock-solid behavior across English, Turkish (tr-TR), and Simplified Chinese (zh-CN) Windows 10/11 installations.
What's Fixed
- Zero Console Mojibake &
sfc /scannowUTF-16LE Fix: Automatically selects the exact console encoding per tool —UTF-16LEforsfc.exe(eliminating NUL-truncated output),UTF-8forwinget/ PowerShell, and native Windows OEM codepage (CP936GBK on zh-CN,CP857on tr-TR,CP437on en-US) forDISM,net,netsh,ipconfig,powercfg,bcdedit, andw32tm. - Clean PowerShell Execution & Zero CLIXML Noise: Switched Appx debloat, DNS, Restore Point, WinGet repair, and Defender/Store queries to Base64 UTF-16LE
-EncodedCommandwith-OutputFormat Textand$ProgressPreference = 'SilentlyContinue', eliminating quoting issues, Chinese/Turkish adapter name errors, and#< CLIXMLstderr noise. - Idempotent 1-Click DNS Switching: Replaced brittle
netshDHCP/static calls withSet-DnsClientServerAddress(withnetsh ... validate=nofallback) so switching to DHCP when already on DHCP or switching adapters with non-ASCII names (e.g.以太网) succeeds cleanly and reports accurate status. - Zero-Deadlock Async PowerShell Status Probe: Fixed potential stdout/stderr pipe deadlock and enforced real process timeout/kill inside
AdvancedEngine.RunQuickPowerShell. - Safe Windows Update Reset Cancellation: Wrapped
Reset Windows Update(wu_reset) intry/finallyso clicking Stop mid-operation always restartscryptsvc,bits, andwuauserv. - Smarter Tweaks Presets, Mutual Exclusion & Win11 Detection:
Revert All Defaultsnow preserves stock Windows Game Mode (DefaultWindowsState = true).- Switching from Desktop Preset to Laptop Preset clears Desktop-only pending changes (
Disable Hibernation). - High Performance and Ultimate Performance power plans are now mutually exclusive.
- NumLock on Startup recognizes both classic
"2"and Windows 11"2147483650"; Sticky Keys accurately checks bit 4 ((flags & 4) == 0). - Clicking + Restore Point without admin rights now displays a clear elevation hint instead of staying silent.
- Zero GDI Leaks & Clean Concurrency: Tracked/disposed
_fSearchfont cleanly, made_cancelFlagvolatile, and verified 0 GDI handle delta across 12 full tab renders and 30 rapid EN/TR/ZH switches.
Verification
- 60 / 60 WinGet Package IDs verified live against Microsoft's WinGet repository.
- 41 / 41 automated engine, sandbox HKCU
.regbackup, encoding, timeout, state-machine & GDI tests passed (0failures). - 7 / 7 live GUI launches across all 6 tabs (EN/TR/ZH + non-demo) verified.
SHA-256 Checksum
3478AF320405D37B80BDC090B7A352C4EAE091CCF80758F7E89E9172605B6F22 WinForge.exe