Skip to content

Conversation

@Ashutosh0x
Copy link

@Ashutosh0x Ashutosh0x commented Jan 9, 2026

This PR implements the Windows RDP Keep Alive feature as requested in #200.

Changes

  • Added keepalive (bool) and keepalive_interval (number) variables to the windows-rdp module.
  • Added a background PowerShell coder_script that monitors TCP port 3389 for established connections.
  • When an active RDP connection is detected, the script reports activity using coder stat to extend the workspace session.
  • Updated README.md with documentation and configuration examples.
  • Added regression tests in main.test.ts to verify script creation and logic.

/claim #200

This change adds an optional 'rdp-keepalive' coder_script that
monitors for established TCP connections on port 3389. When activity
is detected, it reports it to the Coder agent using 'coder stat' to
extend the workspace session.

- Added 'keepalive' and 'keepalive_interval' variables.
- Added background PowerShell script for session extension.
- Added documentation and examples to README.
- Added regression tests in main.test.ts to verify script creation.

Closes #200
Copy link
Member

@matifali matifali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please include a video demo of this working with a Coder workspace.

See #213

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants