From b207837233f08513723871bbc8cdb6a6bc60af01 Mon Sep 17 00:00:00 2001 From: lx-s Date: Tue, 18 Aug 2026 08:26:58 +0200 Subject: [PATCH] Improved log message if TermService is not running --- Dist/bin/changelog.txt | 4 ++++ WinMute/WinMute.cpp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Dist/bin/changelog.txt b/Dist/bin/changelog.txt index 67257a0..6e222d9 100644 --- a/Dist/bin/changelog.txt +++ b/Dist/bin/changelog.txt @@ -7,6 +7,10 @@ Version 2.6.0 (2026-08-14) * Fixed possible security issues in update checker * WinMute is now build with control-flow enforcement (CET) * Chocolatey uninstall now removes all settings. + * WinMute now no longer immediately exits if the workstation-lock notification + can not be registered. WinMute will retry registering with TermService + for about half a minute and disable mute-on-lock if the service does not + respond until then. Version 2.5.5 (2026-01-23) * Added feature to also try pausing/resuming currently playing media when muting/unmuting. diff --git a/WinMute/WinMute.cpp b/WinMute/WinMute.cpp index b2b190e..2c48e44 100644 --- a/WinMute/WinMute.cpp +++ b/WinMute/WinMute.cpp @@ -277,7 +277,8 @@ void WinMute::RetrySessionNotification() StopSessionNotificationRetry(); log.LogError( L"Giving up on registering for session notifications after {} " - L"attempts. Muting on workstation lock is not available", + L"attempts. Muting on workstation lock is not available. " + L"Please check if TermService is running.", wtsRetryAttempts_); wmTray_.ShowPopup( i18n_.GetTranslationW("popup.session-notification-failed.title"), -- 2.43.0