Repository navigation
RemoteIdd: explain why it was turned off and keep retrying on reinstall - #91
Merged
Merged
Conversation
When RDP-Tcp doesn't listen with the RemoteIdd provider (on Windows Home/Pro, the multi-session component doesn't let Remote Desktop load non-Microsoft protocol providers), startup still removes RemoteIdd from RDP-Tcp, but now: - saves the reason in %ProgramData%\OpenStreamMS\remoteidd-off.json, cleared when RemoteIdd works again and by uninstall.ps1; - logs a clear message: what happened, that seats use Windows' RDP display, and that RemoteIdd is tried again on every update or reinstall; - exposes remoteIddOffReason/remoteIddOffText in /api/rdpwrap/status, shown in the Multi-RDP window and as "turned off" in the guide (22 languages); - adds the reason to the diagnostics summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On Windows Home/Pro, Remote Desktop only loads non-Microsoft protocol providers if the component that enables several sessions allows it. When it doesn't (the case in #80), RDP-Tcp never listens with the RemoteIdd provider, so startup removes RemoteIdd from RDP-Tcp. That part worked, but the only trace was "RDP-Tcp is not listening" in the log, and after the next restart the panel showed RemoteIdd as if it had never been installed.
What changes
%ProgramData%\OpenStreamMS\remoteidd-off.json. The file is cleared when RemoteIdd works again and byuninstall.ps1./api/rdpwrap/statusreturnsremoteIddOffReasonandremoteIddOffText(in the panel's language). The Multi-RDP window shows the text, and the guide shows RemoteIdd as "turned off" (amber, since it's optional) with a button to that window.Behaviour is otherwise unchanged: RemoteIdd is still reinstalled and retried on every update or reinstall.
Testing
dotnet test: 156/156, including newRemoteIddOffTests(reason saved and read back, ignored when RemoteIdd is back in RDP-Tcp or uninstalled, text in the panel's language).🤖 Generated with Claude Code