mstsfence
Last updated
Keep full-screen Remote Desktop (mstsc) sized to the monitor work area, so the host taskbar stays visible and the session renders 1:1.
Install with winget
$ winget install --id martona.mstsfence --exact --version 0.2.0.10Run in Command Prompt, PowerShell, or Windows Terminal. Prompts for any agreements.
Silent install command for mstsfence
mstsfence uses MSIX. The silent install switches are (no switches needed).
Add-AppxPackage -Path .\mstsfence-windows-amd64.msix
For Intune admins
Stop chasing app updates. Pckgr patches them for you.
Automated application patching for Microsoft Intune. Pckgr keeps a curated library of 1,000+ apps continuously up-to-date in your tenant via Microsoft Graph - no manual repackaging, no chasing vendor sites.
Start free 30-day trialNo credit card required.
About
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.
Installers · v0.2.0.10
Copy a command tailored to that specific architecture, type, and scope - useful when winget would otherwise pick a different default.
Security
No known CVEs for mstsfence.
Coverage is best-effort and depends on a winget package mapping to an NVD CPE entry. Absence here is not a guarantee of safety.
Related apps
More from martona or browse remote-desktop, rdp, mstsc.
Frequently asked questions
How do I install mstsfence on Windows?
How do I install mstsfence silently for unattended deployment?
What are the silent install switches for mstsfence?
How do I uninstall mstsfence via winget?
Is mstsfence free?
Does mstsfence work on Windows 10?
How do I keep mstsfence up to date?
Recent versions
- 0.2.0.10latest
- 0.2.0.8
- 0.1.2.6
- 0.1.2.5