Skip to content

Releases

Update 1.5

Choose a tag to compare

@rhsCZ rhsCZ released this 03 Aug 18:56
314413e

Release Notes

This release improves restore resilience and interactive patch selection, with a focus on safer recovery from broken or incomplete local states.

Added

  • Added support for restoring from termsrv-bak.dll even when the target termsrv.dll file is missing
  • Added confirmation prompts during restore when target and backup file sizes differ
  • Added a cancel option when the same patch pattern is found at multiple offsets

Changed

  • Improved restore behavior so target version checks are skipped when the target file is invalid or its property store cannot be read
  • Improved restore workflow to continue from backup when the existing termsrv.dll is unreadable but the backup file is valid
  • Improved multi-match patch selection to use the same interactive menu style as pattern selection

Fixed

  • Fixed restore failure when the target termsrv.dll does not exist
  • Fixed restore failure when the target file exists but its version information cannot be read
  • Fixed patch selection behavior so users can exit cleanly when multiple matches exist for the same pattern

Updated

  • Restore validation is now more tolerant of damaged or incomplete target files
  • Interactive patch selection is now more consistent across pattern and offset selection flows

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

Update 1.4

Choose a tag to compare

@rhsCZ rhsCZ released this 03 Aug 11:55
4ee5251

Release Notes

This release improves restore flexibility and patch selection behavior, with a focus on safer manual decisions during patching and restoration.

Added

  • Added restore support for cases where the target termsrv.dll file is missing and only the backup file is available
  • Added confirmation prompts during restore when file size or file version does not match, allowing the user to continue manually
  • Added a cancel option when multiple match locations are found for the same patch pattern

Changed

  • Improved restore workflow so version and size comparisons are only performed when the target file actually exists
  • Improved patch selection flow when the same pattern is found at multiple offsets
  • Multiple match selection now uses the same interactive menu style as pattern selection

Fixed

  • Fixed restore behavior so recovery can still proceed when the original target file is missing
  • Fixed multi-match patch handling so the user can exit without patching instead of being forced to choose a match
  • Improved consistency of interactive decision points during patch and restore operations

Updated

  • Restore logic is now more tolerant of incomplete local states while still keeping validation and confirmation steps
  • Patch workflow now behaves more safely in edge cases involving repeated pattern matches

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

Update 1.3

Choose a tag to compare

@rhsCZ rhsCZ released this 02 Aug 22:14
886c8ea

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.dll could be replaced with a zero-byte file in live patch mode
  • Fixed restore logic to consistently use termsrv-bak.dll instead of termsrv.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

Update 1.2

Choose a tag to compare

@rhsCZ rhsCZ released this 02 Aug 18:41
1.2
052e0a1

Release Notes

This release expands termsrvpatcher into a more complete single-binary workflow for patching, restore, testing, and offline verification.

Added

  • --help / -h to display available command line options
  • --debug / -d for verbose diagnostic output
  • --dry-run / -dr to detect matching patch patterns without modifying files or services
  • --file / -f <path> to patch a custom termsrv.dll file without touching system services
  • --restore / -r to run restore mode directly from the main executable
  • --bak-file / -bf <path> for custom file-based restore with --restore --file
  • Interactive arrow-key menu for Patch / Restore when launched without action arguments
  • Additional non-debug progress output during patch and restore operations
  • Administrator rights check before system patch / restore operations

Updated

  • Patch patterns were refreshed to support newer versions
  • Added support for the newer Windows 11 24H2 26100.8521+ pattern branch
  • Improved offline testing workflow for patching and restoring local DLL copies
  • Improved user feedback when scanning for matching patterns

Changed

  • Restore functionality is now handled by termsrvpatcher.exe
  • --dry-run performs detection only and never changes files or services
  • --file mode never touches services
  • Restore with custom files now requires both --file and --bak-file
  • When multiple patterns match, the user can now choose the pattern interactively or cancel without making changes

Removed

  • Removed the separate restore project from the solution
  • Consolidated patch and restore workflows into the main project

Notes

  • System patching still requires Administrator rights
  • Windows updates may replace termsrv.dll, so future pattern updates may still be needed

Update to 1.1 - change support maybe for all windows

Choose a tag to compare

@rhsCZ rhsCZ released this 08 Dec 16:23
a2e2baa

Added support for many more versions of Windows.

1.0

1.0

Choose a tag to compare

@rhsCZ rhsCZ released this 12 May 16:37

Initial release of termsrvpatcher/restorer
Should work from Windows 10 until now
I am not responsible for any damage to your OS. Use at your own risk!!
Report any problems.