Contents
Open two Remote Desktop windows and bring up Services in each. One is staging. Restarting the service in the other would give several people a very interesting afternoon. Both windows helpfully identify their target as Services (Local).
Which Windows server has my keyboard?
I built Waygate because I’d like the answer visible before I touch anything. It’s a native Remote Desktop manager for Windows 11. Each session gets a tab, each server can inherit a route from its folder, and the word Production can follow me all the way into full screen. Waygate is still a work in progress. This is what you can do with 1.1.0. Waygate project page
Give production a gateway
In the Northline library, app01.example.test lives behind an RD Gateway. Its staging sibling, app02.example.test, is reachable directly. I’d like that distinction to survive the next person adding app03. Ideally that person can be me on a Friday.
Open Folder settings on Production. In Gateway, enable Override for Gateway use and Gateway host, choose Always use gateway, and enter rdgw.example.test. Under General, give the folder a red Production label. Give Staging a blue label and a direct route. Now open the editor for Application 01.
Waygate resolves each field independently. It looks at the host, walks up its folders, checks the workspace defaults, then falls back to the built-in value. You can override one machine’s port without copying the gateway into its record. When the gateway moves, edit the folder once. Even the server with the peculiar port will use the new gateway next time you connect.
Press Ctrl+L, enter a hostname, and press Enter. Ordinary Quick connect opens a temporary, direct session. Browsing the Production folder doesn’t quietly send everything you type through its gateway. For a one-off inside that environment, right-click the folder and choose Quick connect here. The card shows the route before you press Enter.
Two desktops, one maintenance window
Open Application 01 and Application 02. Pick Side by side and select the other tab. Each pane has its own Windows RDP control, so I can compare service settings on staging and production, then go back to the library while both connections stay open. The environment label travels with the session. Even with the remote desktop in full screen, the Windows connection bar still tells me where the next keystroke is going.
After a planned reboot, Wait for this server gives the disconnected tab a job. On a direct route it checks the configured TCP port before trying RDP. Behind a gateway, a direct probe from my laptop could fail all night against a perfectly healthy server. Waygate hands that attempt to the Windows client with the gateway settings in place. It waits up to ten minutes and can notify me when RDP accepts the connection. Windows can still have questions about my password.
For next week’s maintenance, open Sessions → Tab sets and save the pair. A set remembers which hosts to open and in what order. Restoring a saved host makes a fresh connection with its current library settings. Move the gateway on Friday and Monday’s set follows the move. The file holds neither passwords nor a frozen copy of whatever I left open in Services.
The semicolon that went missing
An empty connection library has one obvious competitor. It’s the perfectly good tree of servers you already have. Waygate imports Windows .rdp files, RDCMan .rdg groups, and mRemoteNG XML or CSV exports. Drop a file onto the library and you get a preview.
I particularly enjoyed the CSV. Here’s what some older mRemoteNG exports called two adjacent columns in the header.
1RedirectDiskDrivesCustomRedirectPorts
The row still contains two values. Read the header literally and every setting to the right of that missing semicolon is now sitting in somebody else’s chair. A Boolean lined up under the wrong heading is still a perfectly good Boolean, which is exactly the problem.
The importer splits that specific name back into RedirectDiskDrivesCustom and RedirectPorts. There’s a regression test with clipboard sharing switched off farther along the row. The assertion checks that the imported host still has clipboard sharing switched off. Imported hosts also prompt for credentials, even if a folder already has a saved password. I can tolerate an elderly spreadsheet dialect. I’d prefer it didn’t get to decide which machine gets my credentials.
Where the last pixel went
Dragging the divider between those desktops crosses an entertaining number of Microsoft technologies. The shell uses WPF. A Windows Forms host gives each tab’s Remote Desktop ActiveX control a native window. WPF measures the pane in device-independent units. The remote desktop wants a width in pixels, and has strong feelings about the arithmetic.
At 125% display scaling, a pane 801 units wide comes out to 1,001.25 pixels. Waygate rounds that to 1,001. Then this line in the client takes it down to 1,000.
1return (width - width % 2, height);
The RDP display-control protocol requires an even monitor width. Height may be odd. I would love to have been in the meeting where height got away with it. Microsoft’s monitor layout specification
You can see the difference on a test host. Leave a window against the right edge of the remote desktop, then narrow the local pane. In dynamic resolution mode, a host that accepts the update can rearrange its windows to fit. Reconnect with Scale desktop to fit and repeat. This time the remote layout stays put and the whole picture gets smaller.
Take it for a spin
The 1.1.0 x64 MSI includes the .NET Desktop Runtime and can install for your account or for everyone on the machine. To run from a checkout, install the .NET 11 SDK on Windows 11 and run this from the repository root. Waygate source and setup instructions
1dotnet run --project src/Waygate
Start with two test machines you already reach through Windows Remote Desktop. Label their folders, open them side by side, then take one full screen. Open Services again. It still says Local. Glance up at the connection bar and you can tell which local that is without running hostname. That’s the feature I wanted.