mstsfence

martona·martona.mstsfence

Keep full-screen Remote Desktop (mstsc) sized to the monitor work area, so the host taskbar stays visible and the session renders 1:1.

mstsfence makes mstsc.exe, in full-screen mode, size itself to the monitor's work area instead of the whole monitor -- so the host taskbar stays visible (host taskbar on the bottom, session taskbar on top) and the remote desktop renders 1:1, with no scaling or letterboxing. A small tray controller installs a global hook that the OS maps into mstsc however it was launched (.rdp file, jump list, Start menu); outside mstsc it does nothing. Inside mstsc it clamps the monitor-geometry APIs the client reads to the work area, tracking DPI and resolution changes live. An optional dark-mode pass and a host display-scaling (DPI) override are included. Staying on stock mstsc keeps all of its credential UX, Credential Manager integration, and certificate/consent dialogs.

winget install --id martona.mstsfence --exact --source winget

Latest 0.1.2.5·June 14, 2026

Release Notes

Installer type: msix

ArchitectureScopeDownloadSHA256
x64Download632D5F6A8149F3D962E80D51406DBB3EA9CD07D5BABADB51A575AFACA6320E0C
arm64DownloadB7B9DE3F09A5F38B400F95341304ED7FA20A31D322698DE20354DF9861F80A66

Details

Homepage
https://github.com/martona/mstsfence
License
MIT
Publisher
martona
Support
https://github.com/martona/mstsfence/issues
Copyright
Copyright (c) 2026 Marton Anka
Moniker
mstsfence

Tags

remote-desktoprdpmstscterminal-servicestaskbarfullscreenmulti-monitordpidetourswindows