Repository navigation
Update 1.3
Release Notes
This release focuses on reliability and safer system patch / restore behavior, especially for live system patching on newer Windows builds.
Fixed
- Fixed a system patching bug where
termsrv.dllcould be replaced with a zero-byte file in live patch mode - Fixed restore logic to consistently use
termsrv-bak.dllinstead oftermsrv.dll.bak - Fixed several silent failure paths during patch and restore operations
Added
- Added explicit validation to prevent replacing system files with suspiciously small outputs
- Added broader error checking for file operations, temporary file handling, and version checks
- Added stronger validation around patch output creation before any system file replacement occurs
Changed
- Replaced shell-based service control (
sc) with native Windows Service Control Manager APIs - Replaced shell-based ownership and ACL changes (
takeown,icacls) with native Windows security APIs - Improved stop/start service handling to use service state polling instead of fixed command chaining
- Improved restore and patch safety checks before modifying
C:\Windows\System32\termsrv.dll
Updated
- Internal patch / restore workflow is now more defensive and fails earlier on invalid intermediate states
- System file replacement flow now verifies backup and patched file integrity more aggressively
Notes
- System patching and restore still require Administrator rights
- Existing backup behavior continues to use
termsrv-bak.dll - Windows updates may still replace
termsrv.dll, so future pattern updates may still be required