{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreicq7jswc4awetww2wssany3qnkl2n37jsewvbiby4fqw2qz7n44fm",
    "uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mkfq4crvblm2"
  },
  "path": "/t/rdp-live-monitor-a-small-windows-tool-built-with-codex-for-tracking-rdp-sessions-and-blocking-ips/1379816#post_1",
  "publishedAt": "2026-04-26T13:21:16.000Z",
  "site": "https://community.openai.com",
  "textContent": "Hi everyone!\n\nI want to share a small Windows server security/admin tool we built with Codex: **RDP Live Monitor**.\n\nThe goal is simple: make it easier to see who is currently connected to a Windows Server via RDP, review recent RDP events, and quickly block suspicious IP addresses from one small desktop app.\n\nWhat it does:\n\n  * Shows current RDP sessions from `query session`\n  * Shows active connections on port `3389`\n  * Shows recent RDP logon/reconnect/disconnect events\n  * Displays the current Windows Firewall blacklist\n  * Lets you block or unblock:\n    * a single IP, for example `109.205.211.17`\n    * a CIDR subnet, for example `109.205.211.0/24`\n    * an IP range, for example `109.205.211.1-109.205.211.50`\n  * Can clear local RDP event history from the UI\n  * Runs as a small Windows `.exe`\n  * Has a custom embedded icon\n\n\n\nThis started as a practical server hardening/debugging session: checking active RDP connections, inspecting suspicious IPs, adding firewall blacklist rules, and then turning those repeated PowerShell checks into a simple GUI.\n\nThe tool is written in PowerShell/WinForms and compiled into an `.exe` with PS2EXE.\n\nI’m sharing it here because it was a nice example of using Codex as a hands-on pair admin/developer: first for investigation, then for automation, then for UI polish.\n\nHappy to hear suggestions on what to add next. Some ideas:\n\n  * Export history to CSV\n  * Add allowlist mode for trusted RDP IPs\n  * Show country/ASN for remote IPs\n  * Add notifications when a new RDP IP appears\n  * Add a “block selected IP” button directly on event rows\n\n\n\n## github\n\nRepository name: Dimasik164 / rdp-live-monitor\nSearch phrase: rdp-live-monitor Dimasik164",
  "title": "RDP Live Monitor: a small Windows tool built with Codex for tracking RDP sessions and blocking IPs"
}