DwmCornerPatcher disables rounded window corners on supported Windows 11
builds by patching uDWM.dll.
The original system file is backed up before any changes are made, allowing rounded corners to be restored from the same menu.
Requirements:
- Windows 11 x64
- A C11-compatible compiler
- CMake
- Windows SDK Debugging Tools (
dbghelp.dllandsymsrv.dll)
Configure and build with CMake:
cmake -S . -B build
cmake --build buildIf the Windows SDK debugging libraries are installed, CMake copies them next to the executable automatically.
Run patch and restore commands from an elevated terminal:
.\DwmCornerPatcher.exe patch
.\DwmCornerPatcher.exe restoreCheck the current backup-based status without elevation:
.\DwmCornerPatcher.exe statusUse help or --help to list the available commands.
The program restarts Desktop Window Manager after applying or restoring the patch. The screen may briefly flicker while DWM restarts.
Pushing a version tag builds the x64 package and publishes a GitHub release:
git tag v1.0.0
git push origin v1.0.0Only x64 editions of Windows 11 are currently supported. Windows 11 ARM64 is not supported.
The patcher resolves the target through Microsoft public symbols when
available. A verified RVA fallback is included for Windows 11 builds
26100.8875 and 26200.8875.
Internal DWM functions can change after Windows updates. Unknown binaries are rejected unless the target symbol can be resolved safely.
This program modifies a protected Windows system component. Use it at your own risk and keep the generated backup file so the original DLL can be restored.